In message <[EMAIL PROTECTED]>, Rickard �berg
<[EMAIL PROTECTED]> writes
>Hi!
>
>Koen Debruyckere wrote:
>>
>> I checked out the sources from the CVS tree yesterday (Tuesday).
>>
>> Did a
>> build.sh clean
>> and a
>> build.sh
>>
>> class:
>> org.jboss.ejb.deployment.ResourceReference
>> not found.
>>
>> The only place I found this class was in the jboss2.0.zip file in the src
>> dir. Once I copied it there building went fine.
>>
>> Is this class no longer used and still in one of the ANT files, or should it
>> be in CVS?
>
>The class was renamed. CVS is updated to reflect this, but this was done
>quite some time ago. Did you do a clean checkout? (i.e. remove current
>and check out all from CVS).
Same thing happened to me today. It isn't because of any problems with
CVS - it goes away if you do a "build clean" followed by "build".
I have put a clean-build.bat file in my jboss\src\build directory - a
straight copy of build.bat with one line added to do the cleaning:
@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
On my PII233/128MB Win98 machine this takes 80 seconds.
Rickard - I imagine many people, like me, assume that they should be
able to build by double-clicking on the build.bat file. It might be an
idea to add a clean-build.bat in CVS, with a README saying something
like:
"The handling of dependencies in the current build.xml is incomplete. If
you encounter build problems when using build.bat 'as is' (i.e. with no
command-line arguments), please try again with clean-build.bat ."
--
Justin Forder
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]