clean will not remove the old metadata files from your source tree. You need to physically remove. Also i don't want to do a "clean" everytime, the purpose behind ant is to allow a differential build. :) marc > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Justin Forder > Sent: Saturday, August 12, 2000 4:19 AM > To: jBoss Developer > Cc: jBoss > Subject: Re: [jBoss-Dev] CVS state > > > marc fleury <[EMAIL PROTECTED]> wrote: > > >just for the record we recommend for those that do CVS, to do a clean > >checkout. DELETE everything, since if the classes are still present the > >build will fail. > > > >I just did a rm -rf jboss; cvs checkout jboss > > > >and a build and it works. If your stuff doesn't build it is because you > >still have lingering classes. > > Hi, Marc. I think you will find that the problem is in the ANT > buildfile, and that you don't really need to do a fresh CVS checkout. > (I went over this with Rickard months ago.) > > There's an easy answer: make a clean-build.bat (or equivalent .sh) > containing: > > @echo off > REM convenience bat file to build with > > set CLASSPATH=..\..\lib\ant.jar > set CLASSPATH=%CLASSPATH%;..\..\lib\xml.jar > set CLASSPATH=%CLASSPATH%;..\..\lib\xmlbeans.jar > set CLASSPATH=%CLASSPATH%;..\..\build\classes > set CLASSPATH=%CLASSPATH%;..\..\lib\javac.jar > > java -classpath "%CLASSPATH%" org.apache.tools.ant.Main clean > java -classpath "%CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 > > This clears all the old class files before doing the build. > > regards > > Justin > -- > Justin Forder > >
