Running JWrapper as part of your Ant build script
<!-- This snippet autodetects the name of the JWrapper JAR in the current directory '.' so you can update JW easily -->
<path id="jwrapper.jar.path"> <fileset dir="."> <include name="jwrapper-00*.jar" /> </fileset> </path> <property name="JWrapperJAR" refid="jwrapper.jar.path"/> <!-- This runs JWrapper, giving it plenty of memory to compress those big JVMs right down --> <java jar="${JWrapperJAR}" failonerror="true" fork="true"> <jvmarg value="-Xmx512m"/> <arg value="jwrapper.xml"/> </java> |