ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Re: How To: Java Command to Ant
Date Mon, 21 Sep 2009 06:26:23 GMT
On Mon, Sep 21, 2009 at 02:34, dr_pompeii <dr_pompeii@yahoo.com> wrote:
>
> Hello supareno
>
> Thanks for the reply, but no woek :-(
>

Try this:

<path id="myclasspath">
    <!-- fill with whatever is necessary -->

<java fork="true" classname="com.jordan.Main" failonerror="true">
    <jvmarg value="-Dcom.sun.management.remote"/>
    <!-- Necessary nested <arg> elements here, but it looks like there
aren't any -->
    <classpath refid="myclasspath"/>
</java>

-- 

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

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


Mime
View raw message