dcsimg
problems with windows java properties and ant
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Wayne_Christian
Posted On:   Wednesday, March 7, 2007 12:08 PM


I know that on windows, directory paths need to be separated by \ instead of (or one should use forward slash), but
if I've got a property like ${user.home}/MyDir, java
sets user.home to C:Documents and Settingsmyuserid
and ant dutifully removes the single backslashes. How can
one deal with this situation. Surely this must have come up before...

Re: problems with windows java properties and ant

Posted By:   Anonymous  
Posted On:   Monday, March 12, 2007 06:18 AM

Just use / as path separator for Ant. Ant handles that on windows ...
About | Sitemap | Contact