From: Robert D. <rdi...@tr...> - 2003-06-26 17:12:07
|
I'm trying to figure out how to run jythonc from ant. Here's what I have: <target name=3D"-robert-pyscripts" if=3D"robert" = depends=3D"build.init"> <property name=3D"pyscripts-manifest" value=3D"jython.jar" /> <apply executable=3D"${java.home}/bin/java" dir=3D"src/scripts" > <arg value=3D"-disableassertions" /> <arg value=3D"-Dpython.home=3D/common/jython-2.1" /> <arg value=3D"-cp" /> <arg file=3D"${dev}/repository/jython.jar" /> <arg value=3D"org.python.util.jython" /> <arg value=3D"${common}/jython-2.1/Tools/jythonc/jythonc.py" /> <srcfile /> <fileset dir=3D"src/scripts"> <include name=3D"**/*.py" /> </fileset> </apply> </target> Unfortunately, I since jythonc.py invokes javac, I'm not sure how to pass the diableassertions argument to it. Any help would be greatly appreciated. R. |