You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Marc Jambert <mj...@oreka.com> on 2000/09/28 11:33:50 UTC

args bis

I have to execute a java class which takes itself some arguments.
Someting like:
java something.class arg1 arg2,   where arg1 and arg2 are arguments for "something"

How can I do that using the java task?

Thank you very much Stefan & Nico!


Re: args bis

Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "MJ" == Marc Jambert <mj...@oreka.com> writes:

 MJ> I have to execute a java class which takes itself some arguments.

This is what the args attribute of <java> (as opposed to jvmargs) is
there for. Ant 1.2 will have nested <arg> and <jvmarg> tags for this
as well.

Stefan