Working with a freshly checked out copy of the CVS tree, I needed to make
the following change to the build-ecs.sh file to build the Javadoc on my
machine
(this makes it more similar to Ant's build.sh script):
diff -u -u -r1.8 build-ecs.sh
--- build/build-ecs.sh 2000/03/27 03:46:34 1.8
+++ build/build-ecs.sh 2000/11/09 21:41:40
@@ -50,4 +50,4 @@
BUILDFILE=build-ecs.xml
-${JAVA_HOME}/bin/java -classpath ${CP} org.apache.tools.ant.Main -buildfile
${BUILDFILE} ${TARGET}
+${JAVA_HOME}/bin/java -classpath ${CP} org.apache.tools.ant.Main -buildfile
${BUILDFILE} $*
Then, to build the documentation, I can run this command:
./build-ecs.sh package -Dant.home=/home/bronson/ant/dist
(apparently, ant.home is needed to build the documentation)
NOTE: I needed to upgrade ant.jar to the latest version of ant
to get this to work. Otherwise, it would bomb out with this
error (/home/bronson/ecs/ecs/docs/apidocs most certainly did exist):
Parsing source files for packages
Javadoc execution
[error] javadoc: Destination directory not found
"/home/bronson/ecs/ecs/docs/apidocs"
[exec] 1 error
[exec] Result: 1
If you apply the patch and upgrade Ant.jar, hopefully others won't
have to figure this out. Thanks,
- Scott
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]