Skip to content

Metabolomics Fiehn Lab

Sections
Personal tools
You are here: Home » Members » Gert Wohlgemuth » java » ant - setting jvm parameter for the ant java task

ant - setting jvm parameter for the ant java task

Document Actions
a little example how to set jvm and programm parameters to the java ant task.

        <target name="import-monitoring">
               <java classname="MyClass" fork="true" maxmemory="1524M" failonerror="true">
                      <classpath refid="lib" />
                      <arg value="param1" />
                      <arg value="param2" />
                      <jvmarg value="-Dcom.sun.management.jmxremote"/
                      <jvmarg value="other jvm arg"/>>
              </java>
        </target>

Created by zwluxx
Last modified 2005-10-10 12:52 AM
 

Powered by Plone

This site conforms to the following standards: