struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Immanuel, Gidado-Yisa" <>
Subject does build.bat need to link to optional.jar?
Date Wed, 15 Nov 2000 19:25:33 GMT
I run into problems when building from source...

The 'build.bat' file picks up %ANT_HOME%\lib\ant.jar
but it does not pick up Ant's (v1.2) 'optional.jar'
The 'optional.jar' contains classes that are used
by Ant's 'style' command for the XSLT conversion of
some struts documention.  The specific class used is:

Because of this, when I run 'build.bat dist', the
following exception is thrown:


When I add 'optional.jar' to the classpath, it runs
fine.  Please let me know if I'm doing something wrong;
otherwise, please consider the patch I used to get it
to work on my system (it assumes that one has downloaded
'optional.jar' and put it in %ANT_HOME%\lib, so perhaps
that step should aslo be added to the documentation).

- Gidado

Index: build.bat
RCS file: /home/cvspublic/jakarta-struts/build.bat,v
retrieving revision 1.7
diff -u -r1.7 build.bat
--- build.bat	2000/09/20 04:21:48	1.7
+++ build.bat	2000/11/15 19:23:16
@@ -62,10 +62,10 @@
 rem ----- Set Up The Runtime Classpath
 if "%CLASSPATH%" == "" goto noClasspath
-set CP=%ANT_HOME%\lib\ant.jar;%JAVA_HOME%\lib\tools.jar;%CLASSPATH%
 goto gotClasspath
-set CP=%ANT_HOME%\lib\ant.jar;%JAVA_HOME%\lib\tools.jar

View raw message