ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@drexel.edu
Subject command line args to ANT
Date Tue, 25 May 2004 22:34:49 GMT
hey i would like to supply on the command line an arg for the ANT script
-classToRun=blah

and in my script, if its supplied on command line then $classToRun= that value , but if its
not supplied then $classToRun=defaultClass

how can this be done with if/elses for <property>

?
Thanx in advance


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


Mime
View raw message