ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sören Edzen <so...@edzen.org>
Subject Is it possible to use <arg> property of <java> to specify class on cmd line?
Date Thu, 25 Sep 2003 13:51:34 GMT
I would like to name the class to be run by the ant <java> task on the 
command line when executing ant. 
ie
ant execute [name of class]

where execute is the task that runs java.

Is this possible? If so, how do I set it up in the build.xml? I know 
that the <java> task has the <arg> property. Can I use it to specify 
that the class I name in the above example will be the class executed by  
the <java> task? If so, how?

-- 
Sören Edzen, Sweden

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


Mime
View raw message