[kepler-dev] EXTERNAL: Re: 2.2 release source code?
Timmons, Ryan P
ryan.p.timmons at lmco.com
Wed Sep 28 16:34:46 PDT 2011
Thanks Derik. I overwrote the three files you listed, did "ant eclipse" again, and yes it did fix the classpath substantially, Ptolemy-kepler-2.2 now has the jars on its lib folder included.
However there were still a lot of missing imports.
I downloaded the Ptolemy 8.0.1 source into a separate workspace. It came with a .configure script that excludes optional extensions from .classpath if you don't have the libraries to run them.
When I set up the trunk version of the kepler source/build system, the Ptolemy .classpath had a similar exclusion set (the Ptolemy folder does not have a "configure" but I assume the kepler crew merged it in with your ant scripts).
I think I am set - I copied the src exclusions from the "trunk" setup to the "release" setup, after which I would build and run from eclipse. Wanted to let you know that apparently the "configure" functionality is left out of the 2.2 release branch.
Ryan Timmons
Research Scientist, O/A011S
Modeling, Simulation, & Information Sciences
Lockheed Martin SSC
Cell: 248-895-1935
-----Original Message-----
From: Derik Barseghian [mailto:barseghian at nceas.ucsb.edu]
Sent: Monday, September 26, 2011 5:50 PM
To: Timmons, Ryan P
Cc: kepler-dev at kepler-project.org
Subject: EXTERNAL: Re: [kepler-dev] 2.2 release source code?
Hi Ryan,
You did the right thing to checkout and setup 2.2.
I verified your problem. It's due to http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5442 which is fixed in trunk. The jars are there, they're just not on the classpath.
I think I may be able to issue a patch to kepler-tasks-2.2 to fix this, but need to verify. I'm buried at the moment, it may take me a bit to get to. I've filed a bug:
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5498
To verify this was the problem I overwrote the 2.2 copies of these files with the current trunk versions (r28656). Eclipse no longer complains.
build-area/src/org/kepler/build/project/CompileClasspath.java
build-area/src/org/kepler/build/project/RunClasspath.java
build-area/src/org/kepler/build/modules/Module.java
Derik
On Sep 26, 2011, at 1:37 PM, Timmons, Ryan P wrote:
> I have gotten a source trunk build working following the instructions on https://kepler-project.org/developers/reference/kepler-and-eclipse . However I would like to work from the 2.2 release of source code - basically I want the source code so I can write my own actors but a stable version. I saw instructions about the trunk, 1.0 branch, and 2.1 branch but not the release.
>
> I tried checking out the build-area from releases/release-branches/build-area-2.2 and adapting the standard instructions to
> cd build-area
> ant change-to -Dsuite=kepler-2.2
> ant eclipse
>
> Was able to get a set of projects but there are a lot of dependencies missing in Ptolemy-kepler-2.2, appears none of the jars that come with Ptolemy are there (for example, no ptCal.jar and so every caltrop import is broken). I can probably port them from a separate Ptolemy install, but I wonder if this means I've made a more fundamental error in going about the source checkout. Any tips would be much appreciated.
>
> Thanks much,
> Ryan
>
> Ryan Timmons
> Research Scientist, O/A011S
> Modeling, Simulation, & Information Sciences< /p>
> Lockheed Martin SSC
> Cell: 248-895-1935
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
More information about the Kepler-dev
mailing list