ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: Ant does not read -D properties same way as Java
Date Fri, 15 Sep 2006 21:44:43 GMT
Please file a bug. I think the current logic was created to work around 
problems on some weird platforms (VMS?) and it does not work reasonable 
on "normal" systems.

- Alexey.

Vladimir Egorov 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.
>
>   

-- 
------------------------------------------------------------------------
Alexey N. Solofnenko <http://trelony.cjb.net/>
Pleasant Hill, CA (GMT-8 usually)

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message