|
From: Bergen-Hill, T. A. <tbe...@mi...> - 2007-07-18 15:50:29
|
I found out how to add supporting JAR files to the bundled class path: =20 - In Eclipse, locate the repast.simphony.core project and open the MANIFEST.MF file - Of the various tabs for the manifest, choose Runtime - In the Classpath section, click New... then enter lib/your_lib.jar and click OK.=20 NOTE: This will add it automatically to the MANIFEST.MF file as well as the build.properties file - In Eclipse, open the plugin_jpf.xml file in the repast.simphony.core project - At the end of the <runtime> section, add a line for your JAR file, eg: <library id=3D"your_lib" path=3D"lib/your_lib.jar" type=3D"code" /> =20 -- Tobin Bergen-Hill Lead Simulation Modeling Engineer, E526 <http://info.mitre.org/phonebookv2/organization.do?orgCode=3DE526>=20 tbe...@mi... 703-983-3759 =20 ________________________________ From: rep...@li... [mailto:rep...@li...] On Behalf Of Bergen-Hill, Tobin A. Sent: Wednesday, July 18, 2007 9:00 AM To: rep...@li... Subject: [Repast-developer] Supporting ProActive JARs Not Found =09 =09 Hello: =20 I'm working on incorporating ProActive v3.2.1 into a Repast-S alpha2 model (on Windows XP), and the model is having problems locating classes found in the supporting JARs for ProActive. I replaced the out-of-date ProActive.jar in the repast.simphony.core/lib directory with the v3.2.1 JAR file, and I placed all the supporting JAR files in this directory as well. But I still get a NoClassDefFoundError on org/objectweb/fractal/api/factory/InstantiationException (which is located in the fractal.jar that I placed in the lib directory). =20 It seems that ProActive.jar is part of the saf.core.runtime.Boot integrity check, so the ProActive classes are discovered. But how do I get the other classes in the supporting JAR files to be discovered? =20 -- Tobin Bergen-Hill Lead Simulation Modeling Engineer, E526 <http://info.mitre.org/phonebookv2/organization.do?orgCode=3DE526>=20 tbe...@mi... 703-983-3759 =20 |