You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Kenneth Litwak <kl...@apu.edu> on 2005/08/19 21:05:15 UTC

Basic ant question

Is this the correct format to increase the default memory for the JVM
and to pass command line arguments? 

<java fork="true"
                      dir="${basedir}"
                                classname="${class}"
                                maxmemory="718m"
                >
                        <classpath refid="project.classpath"/>
                        <arg line="${args}"/>
                        <jvmarg
value="-Djava.library.path=${native.libdir}"/>
                        <jvmarg value="-Dcom.sun.management.jmxremote"/>
                </java>

Thanks.

Ken





 Kenneth D. Litwak
Software Engineer III
IMT
Azusa Pacific University
901 E. Alosta
Azusa, CA 91702

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Basic ant question

Posted by Antoine Levy-Lambert <an...@gmx.de>.
Hello Kenneth,

yes, your format looks good.

Do you have problems ?

Cheers,

Antoine


Kenneth Litwak wrote:

>Is this the correct format to increase the default memory for the JVM
>and to pass command line arguments? 
>
><java fork="true"
>                      dir="${basedir}"
>                                classname="${class}"
>                                maxmemory="718m"
>                >
>                        <classpath refid="project.classpath"/>
>                        <arg line="${args}"/>
>                        <jvmarg
>value="-Djava.library.path=${native.libdir}"/>
>                        <jvmarg value="-Dcom.sun.management.jmxremote"/>
>                </java>
>
>Thanks.
>
>Ken
>
>
>
>
>
> Kenneth D. Litwak
>Software Engineer III
>IMT
>Azusa Pacific University
>901 E. Alosta
>Azusa, CA 91702
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org