nemenems
nemenems

Reputation: 1092

How to use command line parameters with phing

Is it possible with phing to implements some Task depending on command line?

Ex:

phing install tag=1.0 dest=/tmp/1.0

I actually only see 3 ways to do it

When calling a phing target from command line, are the other command line arguments useless ?

Upvotes: 4

Views: 3985

Answers (1)

Dimitri
Dimitri

Reputation: 1786

It seems that property definition with -D is the official way: http://www.phing.info/trac/ticket/175

Upvotes: 5

Related Questions