Ant rule/task that can forward a variable number of cmd line arguments to a task?

That's not easy because Ant's command line looks like this.

That's not easy because Ant's command line looks like this: ant options target target2 target3 ... That means your variable arg list foo bar baz items would be treated as targets, leading to similarly named Ant targets being run, or Ant throwing errors if they don't exist. One option is to use the -Doption=value syntax to pass the variable argument list by means of a wrapper script. Perhaps: ant -classpath .

/output -Dmy_args=\"$@\" Foobar in a shell script, then make use of the passed arg in the java task: Another option would be to write a Java main() class that will accept the arguments as you want them to be, and then call Ant for you.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions