Hi Günter, hi Makr,

Guenter Knauf schrieb:
Hi Mark,
I see nothing unusual with that - NetWare behaves here exactly same as
Windows;
OS: NetWare
VM: 1.4.2
SYS:\nwtest
SYS:\nwtest
file:/SYS:/nwtest/
SYS:\nwtest
java: Class org.apache.markt.NetWareTest exited successfully
The above test was called with netware-specific -envCWD which is same as a cd 
into the dir:
java -envCWD=sys:/nwtest org.apache.markt.NetWareTest %1

I did a second test with:
java -cp sys:/nwtest org.apache.markt.NetWareTest

OS: NetWare
VM: 1.4.2
SYS:
SYS:
file:/SYS:/
SYS:
java: Class org.apache.markt.NetWareTest exited successfully

java -cp d:\projects\java\nwtest org.apache.markt.NetWareTest
OS: Windows XP
VM: 1.4.2_12-b03
D:\
D:\
file:/D:/
D:\

and now we see a difference to Windows in that the the Windows drive has a 
trailing backslash while the NetWare volume doesnt have one....

Guenter.

The ant code Mark is referring to handles multi letter drive names (valume names) well for Netware (they have an explicit Netware rule there). But for DOS and Netware it doesn't allow a *leading* path separator in front of the volume name (as Mark already said). More precisely it only allows some UNC notations on DOS. For Netware it won't like any leading path separator (backslash).

In your case the path is \sys:\..., and I think Mark wants to find out, where the leading backslash comes form.

The leading backslash might not be new in TC 4.1.37, but the implementation of the test for absolute paths changed a lot between ant 1.5 and 1.7.

Mark: it is interesting in the stderr log, that the classpath for compilation contains items with and items without leading backslash. So the difference in code generating the first two items (WEB-INF/classes) and the other ones might give an idea.

Regards,

Rainer

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

Reply via email to