Hi,

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
statics.test=./Global_Files/statics.txt

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
ear.target=\\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
ear.target=\\\\testserver\\deploy_test\\web\\test\\foo\\bar

and it worked.

When writing :

# target for buildartifacts
ear.target=//testserver/deploy_test/web/test/foo/bar

it works also !

Should be mentioned in the manual if not already.

Gilbert










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

Reply via email to