One must set the 'base.path' property to an absolute directory name for the net build script to function properly. Using a relative path will cause the script to fail.

I'm still not sure where the site code sits in CVS. This file should be changed:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/building.html

However, I took a stab at a patch, attached.

(Another option is to allow relative paths probably through the tricky use of a dirset and pathconvert (that's the only way I can think of to unconditionaly make a string an absolute path in ant).)

--
Josh Rehman
citysearch.com
213.739.3559
Index: BUILDING.txt
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-5/BUILDING.txt,v
retrieving revision 1.32
diff -u -r1.32 BUILDING.txt
--- BUILDING.txt        8 Sep 2003 10:12:00 -0000       1.32
+++ BUILDING.txt        6 Feb 2004 05:49:43 -0000
@@ -85,7 +85,7 @@
 
     # ----- Default Base Path for Dependent Packages -----
     # Replace this path with the directory path where dependencies binaries
-    # should be downloaded
+    # should be downloaded. THIS MUST BE AN ABSOLUTE PATHNAME!
     base.path=/usr/share/java
 
 
@@ -107,4 +107,4 @@
 
 In addition, "ant build-depends" will build packages that 
 tomcat depends on ( commons-logging for now ), to ease fixes
-and debuging in those packages.  
\ No newline at end of file
+and debuging in those packages.  

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

Reply via email to