ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kendall Shaw <ques...@pacbell.net>
Subject pass command-lines through to class
Date Mon, 06 Dec 2004 22:58:36 GMT
I have to use main(String[] args) in a class, instead of using properties.

Is there a way to pass through arguments to the class?

I've read an example such as:

ant target -- a b c

But, ant complains that -- is an unknown argument.


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


Mime
View raw message