From: David M. <dam...@mc...> - 2009-12-14 22:37:34
|
Hi, just a heads up for anyone searching the archives. Ant has an optional jython task. I happened to use an ant script which automatically puts all dependency jars onto the classpath, which resulted in some jython 2.2 classes conflicting with the 2.5 code. The build failed with errors like: [exec] [javac] /nfs/home/home1/dmohr/src/dacapo-9.10-beta2/benchmarks/bms/jython/build/src/org/python/modules/_weakref/AbstractReference.java:2: package org.python.modules._weakref clashes with class of same name [exec] [javac] package org.python.modules._weakref; [exec] [javac] ^ Using a fresh ant install / script solved the problem. Take care though that dacapo's build system invokes the shell command 'ant' - so running dacapo's build.xml with the working ant command is not enough, it also has to be available through $PATH. ~David P.S. Running the ant script could probably be replaced by the ant task, but I have not looked further into such a change. |