What's wrong with -D?
And how do you propose for Ant to support multiple targets on the
command-line if targets and parameters are specified the same way?
How about writing your own wrapper script that does the "-D" under the hood
and only allows a single target to be specified?
Erik
----- Original Message -----
From: "Pugh, Eric" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 3:17 PM
Subject: Passing in parameters
> Is it possible to pass in parameters to ant? Or is that completely
against
> the philosphy?
>
> I want to be able to pass in an enviroment parameter that does require the
> use of -Denviroment=stage. Instead I want to be able to do:
>
> ant myproject stage
> or
> ant myproject live
>
> and so forth....
>
> I didn't seem to find anything directly related in the mail archives....
>
> ERic Pguh
>