In this patch, I have added support for multiple-length volume names.  I
only added this in the case where Ant is actually running on the Novell
NetWare OS.  Otherwise, the behavior is the same as it always was.

This change still allows support for UNIX style paths on NetWare, in
unambiguous cases ("/a:/b" is parsed correctly as two UNIX paths, "/a",
and "/b", but "a:/b" is parsed as a NetWare path, since it is a valid
volume plus directory name).  

I know that there are workarounds in the build file themselves to avoid
running into path element problems on NetWare, but it was the <javac>
tag that was causing this code to fail, with no workaround as far as I
can tell.  The build script in which I had the <javac> tag had no
absolute, hardcoded path, but everything was relative.  Since the code
in PathConvert could not correctly identify a NetWare volume, the path
name "sys:/projectbasedir" was incorrectly split into two parts, "/sys",
and "/projectbasedir".  This caused Ant to completely fail in
Javac.java.

A patch with the test code additions will follow.

Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., the leading provider of Net business solutions
http://www.novell.com

Attachment: PathTokenizer.patch
Description: Binary data

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

Reply via email to