ANT Command line syntax
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ken_Turner
Posted On:   Friday, May 25, 2007 04:04 AM

Using the -D= command line syntax, how do you specify multiple instances of this?



I've tried these alternatives:


-Dproperty1=value1 -Dproperty2=value2


-Dproperty1=value1,property2=value2


-Dproperty1=value1;property2=value2


None of them seem to work

Re: ANT Command line syntax

Posted By:   Ken_Turner  
Posted On:   Friday, May 25, 2007 04:37 AM

OK, I've answered my own question: it's not ANT's problem at all


I've got a DOS batch file with %1 %2 %3 %4 parameters, which in turn calls ANT.


It's this batch file which doesn't like the -Dproperty1=value1 syntax, and I've discovered the workaround is to do it like this:


-D"property1=value1"

About | Sitemap | Contact