ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sören Edzen <>
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. 
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:
For additional commands, e-mail:

View raw message