Hi!
Looks like there are some quotes too much in the CLASSPATH which is
generated ! I can't test with Windows here, sorry. Perhaps patching that
quote=" line helps.
Cheers,
Tobias
Faisy A wrote:
>
> Hello,
>
> Can anyone please help me about how to build jboss from source code. I
> thought just running the build.bat file in the jboss\src\build directory
> would do the job, but running the build.bat gives me a NoClassDefFoundError
> for the Ant Main class, even though the ant_1.3.jar is present in the
> jboss\lib directory and the build.bat mentions it being included in the
> classpath. 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\src\build"\..\..\lib\ant-1.3.jar;"D:\AppServer\JBossSourceCode\jboss\src\build"\..\..\lib\awt.jar;"D:\AppServer\JBossSourceCode\jboss\src\build"\..\..\
>
>lib\codegen.jar;"D:\AppServer\JBossSourceCode\jboss\src\build"\..\..\lib\crimson.jar;"D:\AppServer\JBossSourceCode\jboss\src\build"\..\..\lib\javac.jar;"D:\AppServer\JBossSourceCode\jboss\src\build"\..\..\lib\jaxp.jar;"D:\AppServer\JBossSourceCode\jboss\src\build"\..\..\lib\jmxri.jar;"D:\AppServer\JBossSourceCode\jboss\src\build"\..\..\lib\xml.jar;"D:\AppServer\JBossSourceCode\jboss\src\build"\..\..\lib\xmlbeans.jar;"D:\AppServer\JBossSourceCode\jboss\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