I had the same problem and tracked it back (at least for me) to having
cygwin in my path. I think it's the use of 'find' in the script and it
wants the DOS/Win2K one not a Unix one. Once I went back to being a plain
Win2K machine the build.bat script works fine for me.
Cheers
-----Original Message-----
From: Bill Burke
To: [EMAIL PROTECTED]
Sent: 4/11/01 2:46 PM
Subject: Re: [JBoss-dev] build.bat fails for Windows
Hardcode the paths in build.bat and you'll be ok. I had trouble
building with 2.0 and 2.1, I hardcoded the paths, and everything was
fine. Of course I didn't bother to figure out why :-)
Bill
Filip Hanik wrote:
> I just checked out a fresh version of the JBoss module.
>
> the build script fails
> building jboss
>
> find: unable to access "Directory": The system cannot find the file
> specified.
>
> CLASSPATH=
> ...\..\lib\ant.jar;..\..\lib\xml.jar;..\..\lib\xmlbeans.jar;..\..\lib\
>
javac.jar;\..\..\lib\ant-1.3.jar;\..\..\lib\awt.jar;\..\..\lib\codegen.j
ar;\
> ...\.
>
..\lib\crimson.jar;\..\..\lib\javac.jar;\..\..\lib\jaxp.jar;\..\..\lib\j
mxri.
> jar;
> \..\..\lib\xml.jar;\..\..\lib\xmlbeans.jar;\..\..\build\classes
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tools/ant/Main
>
>
> Filip
> ~
> Namaste - I bow to the divine in you
> ~
> Filip Hanik
> Software Architect
> [EMAIL PROTECTED]
> www.filip.net
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
>
>
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development