ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Tulley" <>
Subject [PATCH] PathTokenizer support for NetWare volume names
Date Tue, 08 Jan 2002 21:59:55 GMT
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

A patch with the test code additions will follow.

Jeff Tulley  (
Novell, Inc., the leading provider of Net business solutions

View raw message