A question to all who use ant or phing.
I want to write a script that will deplot some project to the server. Thus, in line to run the task I want to be able to specify a variable which will indicate the environment in which I am going to perform the deployment (test, production, etc). I want to make it look similar to the following:
phing deploy test
Where deploy is the name of the task, of course, but test is a variable indicating the environment.
My question is: in ant or phing you can catch the value of the second argument (after the name problem)?