[kepler-dev] [Ptolemy] ptII/lib/kieler.jar added
Christopher Brooks
cxh at eecs.berkeley.edu
Thu Apr 23 13:16:16 PDT 2009
Hi Charles,
Right, we had a problem with the checkin, which was fixed
earlier today.
I can build both Kepler and Ptolemy after doing an update.
Note that with Eclipse and Ptolemy, you may need to update
your ptII/.classpath
After doing a Team -> Update, you can either
* Copy the contents of ptII/.classpath.default to ptII/.classpath
or
* Run
cd $PTII
./configure
and then refresh your Eclipse tree.
_Christopher
Shelton Charles (CR/RTC3-NA) wrote:
> Hi,
>
> I'm having some trouble building Ptolemy with the checked-in Kieler
> files. After I've added kieler.jar to the build path, I still get
> three errors in KielerLayout.java:
>
> Line 21 - The import org.eclipse.emf.ecore.xmi cannot be resolved
> KielerLayout.java
> Line 415 - The method commonEdgeSet() is undefined for the type
> HyperedgeConnectionTree
> Line 445 - The method commonEdgeSet() is undefined for the type
> HyperedgeConnectionTree
>
> So it looks like the HyperedgeConnectionTree class in the kieler package
> is missing a method, and the org.eclipse.emf.ecore.xmi is missing from
> the kieler.jar archive. I fixed the first error by explicitly adding
> the org.eclipse.emf.ecore.xmi package as an external jar to my build
> path, but this makes ptolemy dependent on my Eclipse install. I noticed
> that there are other eclipse ecore packages contained in kieler.jar, but
> it is missing this one.
>
> Thanks,
> Charles
>
> ---
> Charles Shelton
> Senior Research Engineer
> Robert Bosch LLC
> Research and Technology Center (RTC)
> 2 NorthShore Center, Suite 320
> Pittsburgh, PA 15212, USA
> Phone: (412) 323-1130
> Fax: (412) 323-9677
> -----Original Message-----
> From: ptolemy-admin at chess.eecs.berkeley.edu
> [mailto:ptolemy-admin at chess.eecs.berkeley.edu] On Behalf Of Christopher
> Brooks
> Sent: Wednesday, April 22, 2009 4:44 PM
> To: kepler-dev; ptdevel
> Cc: Hauke Fuhrmann
> Subject: [Ptolemy] ptII/lib/kieler.jar added
>
>
> Hauke Fuhrmann is working on getting better layout algorithms working
> in Ptolemy II. Thus, he is checking in ptII/lib/kieler.jar. Thus,
> Vergil and thus the graphical version of Kepler will require this
> jar file.
>
> I've updated files in kepler's build-area, as per
> https://kepler-project.org/developers/teams/build/documentation/build-sy
> stem-instructions#modifying-ptolemy-includes-and
> and I've updated files in ptII.
>
> We are going to check in code that uses kieler.jar.
>
> If you are under Eclipse and have messages about missing classes, then
> you will need to regenerate your .classpath file.
>
> In Kepler, run
> cd build-area; ant eclipse
>
> In Ptolemy, run
> cd $PTII
> svn update configure bin
> ./configure
>
>
> Or, you can just add ptII/lib/kieler.jar to your buildpath.
>
>
> _Christopher
--
Christopher Brooks (cxh at eecs berkeley edu) University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 (W-F) 510.655.5480
More information about the Kepler-dev
mailing list