One step further ...

You could use <input> for reading the url.


Jan 

-----Ursprüngliche Nachricht-----
Von: Peter Reilly [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 17. August 2007 10:59
An: Ant Users List
Betreff: Re: how do I pass properties containing & char

If you are using unix/linux, just quote the parameter:
>ant "-Dtest.url=http://x.y.z?a=b&c=d";
Buildfile: build.xml

y:
       [echo] http://x.y.z?a=b&c=d

If you are using dos, it is probably impossible to get the stuff
though the quagmire that is cmd.

Use a property file: build.properties
test.url=http://x.y.z?a=b&c=d

Peter

It is probably the ant shell/or cmd script that is whining.
It would be difficult to get the shell script to pass everthing
through,

On 8/17/07, teknokrat <[EMAIL PROTECTED]> wrote:
> I am using ant 1.7. I need to pass urls as properties. Unfortunately
> these have parameters in them i.e. -Dtest.url=http://x.y.z?a=b&c=d
>
> ant barfs on these - is there any way this can be done
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to