Hi again
I had many attempts last night to build Jetspeed invariable ending up with the
same error messages:

F:\Apache Group\Jetspeed-1.1\build>java -classpath F:\Apache
Group\jakarta-tomcat\lib\servlet.jar;F:\Apache
Group\Jetspeed-1.1\lib\ecs.jar;F:\Apache
Group\Jetspeed-1.1\lib\turbine-2.0.jar;F:\Apache
Group\Jetspeed-1.1\lib\cocoon.jar;F:\Apache
Group\Jetspeed-1.1\lib\cocoon-ext-servlet2.2.jar;F:\Apache
Group\Jetspeed-1.1\lib\castor-0.7.4.jar;F:\Apache
Group\Jetspeed-1.1\lib\village.jar;F:\Apache
Group\Jetspeed-1.1\lib\xalan.jar;F:\Apache
Group\Jetspeed-1.1\lib\xerces.jar;ant.jar;projectx-tr2.jar;javac.jar;\Jetspeed.jar

org.apache.tools.ant.Main-buildfile build.xml core
Exception in thread "main"
java.lang.NoClassDefFoundError:Group\jakarta-tomcat\lib\servlet/jar;F:\Apache
Here is my build.bat file, I've removed the REM's. Actually, I have visited the
CVS and in the last build.bat there is no spec. about jetspeed.jar in the
classpath.
Is this a mistake I've done, by adding jetspeed.jar in the "set CP=..." line?
Thanks for help.

########################## build.bat ###########################
set TARGET=%1%

set ECS=F:\Apache Group\Jetspeed-1.1\lib\ecs.jar
set TURBINE=F:\Apache Group\Jetspeed-1.1\lib\turbine-2.0.jar
set COCOON=F:\Apache Group\Jetspeed-1.1\lib\cocoon.jar;F:\Apache
Group\Jetspeed-1.1\lib\cocoon-ext-servlet2.2.jar
set CASTOR=F:\Apache Group\Jetspeed-1.1\lib\castor-0.7.4.jar
set VILLAGE=F:\Apache Group\Jetspeed-1.1\lib\village.jar
set XALAN=F:\Apache Group\Jetspeed-1.1\lib\xalan.jar
set XERCES=F:\Apache Group\Jetspeed-1.1\lib\xerces.jar

set JSDK=F:\Apache Group\jakarta-tomcat\lib\servlet.jar

if "%TARGET%" == "" goto setdist
goto final

:setdist
set TARGET=core
goto final

:final
echo Now building %TARGET%...

set
CP=%JSDK%;%ECS%;%TURBINE%;%COCOON%;%CASTOR%;%VILLAGE%;%XALAN%;%XERCES%;ant.jar;projectx-tr2.jar;javac.jar;
F:\Apache Group\Jetspeed-1.1\Jetspeed.jar

set BUILDFILE=build.xml

echo "Classpath: %CP%"

java -classpath %CP% org.apache.tools.ant.Main -buildfile %BUILDFILE% %TARGET%
####################################### end build.bat 
##########################################




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to