[kepler-dev] New trunk version ! Compilation errors
Christopher Brooks
cxh at eecs.berkeley.edu
Wed Apr 8 08:28:34 PDT 2009
Sorry about that, my bad.
Basically, I ran the wrong script, "fixfiles", instead of "fix-files",
so the files got out of the lab and ran amuck!
However, now, after running
ant full-clean
ant change-to -Dsuite=kepler-trunk
ant run,
I get
[run] java.lang.Exception: Failed to parse "-kepler"
[run] at
ptolemy.actor.gui.MoMLApplication.throwArgsException(MoMLApplication.java:603)
[run] at
ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:264)
[run] at
ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:103)
[run] at
ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:193)
[run] at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
[run] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
[run] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
[run] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
[run] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
[run] at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[run] Caused by: java.lang.Exception: Failed to read
configuration
'file:/Users/cxh/src/kepler/common/configs/ptolemy/configs/kepler/configuration.xml'
[run] at
ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:285)
[run] at
ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:321)
[run] at
ptolemy.actor.gui.MoMLApplication._parseArgs(MoMLApplication.java:1045)
[run] at
ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:448)
[run] at
ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:217)
[run] ... 9 more
[run] Caused by: com.microstar.xml.XmlException: XML element
"property" triggers exception. in
file:/Users/cxh/src/kepler/common/configs/ptolemy/configs/kepler/graphTableauFactory.xml
at line 10 and column 66
[run] Caused by:
[run] java.lang.ClassNotFoundException:
org.kepler.gui.frame.KeplerGraphTableau$Factory
[run] at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:3405)
[run] at
com.microstar.xml.XmlParser.parseElement(XmlParser.java:931)
[run] at
com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104)
[run] at
com.microstar.xml.XmlParser.parseElement(XmlParser.java:924)
[run] at
com.microstar.xml.XmlParser.parseDocument(XmlParser.java:481)
[run] at com.microstar.xml.XmlParser.doParse(XmlParser.java:159)
[run] at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
[run] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1410)
[run] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1367)
[run] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1329)
[run] at ptolemy.moml.MoMLParser._parse(MoMLParser.java:5772)
[run] at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:2653)
[run] at
com.microstar.xml.XmlParser.parseElement(XmlParser.java:931)
[run] at
com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104)
[run] at
com.microstar.xml.XmlParser.parseElement(XmlParser.java:924)
[run] at
com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104)
[run] at
com.microstar.xml.XmlParser.parseElement(XmlParser.java:924)
[run] at
com.microstar.xml.XmlParser.parseDocument(XmlParser.java:481)
[run] at com.microstar.xml.XmlParser.doParse(XmlParser.java:159)
[run] at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
[run] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1410)
[run] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1347)
[run] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1298)
[run] at
ptolemy.actor.gui.MoMLApplication.readConfiguration(MoMLApplication.java:380)
[run] at
ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:283)
[run] ... 13 more
[run] Caused by: java.lang.ClassNotFoundException:
org.kepler.gui.frame.KeplerGraphTableau$Factory
[run] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[run] at java.security.AccessController.doPrivileged(Native Method)
[run] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[run] at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
[run] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
[run] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[run] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
[run] at java.lang.Class.forName0(Native Method)
[run] at java.lang.Class.forName(Class.java:242)
[run] at
ptolemy.moml.MoMLParser._handlePropertyElement(MoMLParser.java:5275)
[run] at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:2866)
[run] ... 37 more
`
tkd wrote:
> Hi,
>
> you juste changed the trunk version and it gives some errors on
> compilation with ant run :
>
> ant run
> Buildfile: build.xml
>
> create-modules-bundle:
>
> compile:
> [compile] Compiling common...
> [compile] Compiling directors...
> [compile] Compiling actors...
> [compile] Compiling ptolemy...
> [compile] -- The module is ptolemy. Setting includes and excludes....
> [compile] Compiling 3134 source files to
> /local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/target/classes
> [compile]
> /local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/demo/ABP/DEMessageSource.java:57:
> duplicate class: ptolemy.domains.fsm.demo.ABP.DEMessageSource
> [compile] public class DEMessageSource extends RandomSource {
> [compile] ^
> [compile]
> /local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/demo/ABP/DETimer.java:52:
> duplicate class: ptolemy.domains.fsm.demo.ABP.DETimer
> [compile] public class DETimer extends TypedAtomicActor {
> [compile] ^
> [compile]
> /local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/kernel/FSMDirector.java:160:
> duplicate class: ptolemy.domains.fsm.kernel.FSMDirector
> [compile] public class FSMDirector extends Director implements
> [compile] ^
> [compile]
> /local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/kernel/Transition.java:741:
> cannot access ptolemy.domains.modal.kernel.FSMDirector
> [compile] bad class file:
> /local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/domains/modal/kernel/FSMDirector.java
>
> [compile] file does not contain class
> ptolemy.domains.modal.kernel.FSMDirector
> [compile] Please remove or make sure it appears in the correct
> subdirectory of the classpath.
> [compile] private FSMDirector _getDirector() {
> [compile] ^
> [compile] Note:
> /local/odrousse/eclipse/BioWIC/kepler/modules/ptolemy/ptolemy/actor/gui/MoMLSimpleStatisticalApplication.java
> uses or overrides a deprecated API.
> [compile] Note: Recompile with -Xlint:deprecation for details.
> [compile] 4 errors
>
> BUILD FAILED
> /local/odrousse/eclipse/BioWIC/kepler/modules/build-area/build.xml:31:
> Compile failed; see the compiler error output for details.
>
> 2 days ago, it worked very well and now ... awful !
> Thanks a lot to say me what to do to get something works ...
>
> tkd ... desperated
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
--
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