ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <>
Subject Re: Slash issue in ANT script
Date Fri, 27 Nov 2009 18:34:46 GMT
jhudson schrieb:
> hi,
> My script should work both in Unix and winddows, I don't know how to handle
> slash (\) in ANT script in this case. Could some one please help me.

The use of the unix slash '/' is strongly recommended, whether you're on
windows or not., ant(java) will handle it correctly.'
i always use it that way without any problems, not only with ant but
with java in general.Much simpler to write your/path/to/whatever than
your\\path\\to\\whatever ..

Regards, Gilbert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message