Nick Veys wrote:

> I was under the impression / would _always_ work, on either platform when
> passing a path to the File class.

Me too. That's why I tested on Linux with backslashes in the path..

> So as you can see, the File class is tolerant of windows, but the /
> path separator works in both cases.  I would just stick with that.  I
> don't really know exactly what issue this was causing you, unless it
> was just confusion on the Windows-user side.  Actual manipulation of
> the file should always work if you use / separators in relative paths.

I was started to assume that there was a bug in Maven while in fact the JRE
was a fault. Seems kind of odd that it doesn't work both ways. One would
think that Sun would have taken care of that. Anyway, problem solved.

Thank you for your little test.

Regards,
Jimisola
-- 
View this message in context: 
http://www.nabble.com/Using-Java-System-Properties-in-pom.xml-tf2161474.html#a6011493
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to