ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject properties, path with trailing \\
Date Thu, 03 Feb 2005 08:24:22 GMT


yesterday when writing a property file i discovered
some strange behaviour, i didn't saw before.

(Ant 1.6.2 / Win2k / j2sdk 1.4.2_05)

normally i write my properties like that :

jarpath.test= /libs/test/deploy

But now i had to put a serverpath in and i wrote it like that
(don't ask why, have to switch between win and unix over the day)

# target for buildartifacts\\testserver\deploy_test\web\test\foo\bar

and it didn't work, the path was not parsed correctly

so i masked the \ as usually in java :

# target for buildartifacts\\\\testserver\\deploy_test\\web\\test\\foo\\bar

and it worked.

When writing :

# target for buildartifacts

it works also !

Should be mentioned in the manual if not already.


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

View raw message