Does your classpath point to org.apache.tools.ant.Main, meaning: Is the
parent directory of org (as in org/apache/tools/ant/Main ) one of the
directories listed following CLASSPATH= ?

Ralph

----- Original Message -----
From: Faisy A <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 14, 2001 6:09 PM
Subject: [JBoss-user] Source Code Build Problem


> Hello,
>
> I am a newbie (never used Ant before) trying to build the source code for
> JBoss. Can anyone help me about how to build the server.
> I thought just running the build.bat file in the jboss\src\build
directory
> would do th job, but running the build.bat gives me a
ClassDefNotFoundError
> for the Ant Main class, even though it is present in the jboss\lib
> directory. I would appreciate it if someone can help me to get started.
>
> Thanks
>
> Below is the error I am getting when I run build.bat
>
> CLASSPATH=
>
;"D:\AppServer\JBossSourceCode\jboss_latest\src\build"\..\..\lib\ant-1.3.ja
r;"D:\AppServer\JBossSou
>
rceCode\jboss_latest\src\build"\..\..\lib\awt.jar;"D:\AppServer\JBossSource
Code\jboss_latest\src\build"\..\..\
>
lib\codegen.jar;"D:\AppServer\JBossSourceCode\jboss_latest\src\build"\..\..
\lib\crimson.jar;"D:\AppServer\JBos
>
sSourceCode\jboss_latest\src\build"\..\..\lib\javac.jar;"D:\AppServer\JBoss
SourceCode\jboss_latest\src\build"\
>
..\..\lib\jaxp.jar;"D:\AppServer\JBossSourceCode\jboss_latest\src\build"\..
\..\lib\jmxri.jar;"D:\AppServer\JBo
>
ssSourceCode\jboss_latest\src\build"\..\..\lib\xml.jar;"D:\AppServer\JBossS
ourceCode\jboss_latest\src\build"\.
>
.\..\lib\xmlbeans.jar;"D:\AppServer\JBossSourceCode\jboss_latest\src\build"
\..\..\build\classes
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/Main
>
>
> ______________________________________________
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to