Vladimir, As per the Ant manual:
-D<property>=<value> use value for given property In your case you would want -Dfoo=bar Please try that and see if it works. I expect that it should. -Dave On 9/15/06, Vladimir Egorov <[EMAIL PROTECTED]> wrote:
Hi Ant Users, I have the following trivial build.xml. <project name="test"> <echo message="param is ${param}"/> </project> I am trying to pass "foo=bar" as param value ant -Dparam="foo=bar" Unexpectedly, I get: Buildfile: build.xml [echo] param is foo BUILD FAILED Target `bar' does not exist in this project. The same happens if I try to pass param="foo;bar". I tried the same with a trivial java program, and it works as expected. Thank you, Vladimir Egorov >>Register now for BEA World 2006 --- See http://www.bea.com/beaworld<< _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.