The cp.bat file I received with dom4j-1.1.zip needs to be modified. 

The cp.bat file has one line:
set CP=%CD%\%1;%CP%

This does not work in windows for classpath references. In windows starting
the relative path with a slash will start you at the root of the drive
you're on, rather than look for a sub-directory of that name from your
current location. An echo of %CP% shows:

D:\JAVA\dom4j-1.1>echo %CP%
build\classes;c:\jdk1.3.1\lib\tools.jar;\lib\PULLPA~1.JAR;\lib\JAXP.JAR;
\lib\JUNIT.JAR;\lib\CRIMSON.JAR;\lib\OPTIONAL.JAR;\lib\SAXPATH.JAR;\lib\ANT.
JAR;
\lib\TIDY.JAR;\lib\XALAN.JAR;\lib\MSV.JAR;\lib\XMLDB.JAR;\lib\JAXEN.JAR;


The backslash should be removed to work effectively:
set CP=%CD%%1;%CP%

P.S. dom4j is just the solution I've been looking for, and so far it's
working fine. 

Bill Parker-Combes
CECOM LRC LEO
Computer Science Specialist
Work:  732-532-5391
DSN:  992-5391
Fax:  732-532-3421
[EMAIL PROTECTED]

_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to