ant clobber - ant all works neat !!
thanks !
Mayuresh
Andrew McIntyre wrote:
>On 3/21/06, Mayuresh Nirhali <Mayuresh.Nirhali@sun.com> wrote:
>
>
>>I updated my trunk today morning and the "testing" target fails for me
>>with following error message.
>>
>>The build for 'demo' target goes fine. The required class in the
>>following compile activity is not found in "classes" directory though.
>>
>><snip>
>>FTOtestsubdir:
>>
>>compilet2:
>> [javac] Compiling 101 source files to
>>/export/home/mayuresh/ws/derby/trunk/classes
>> [javac]
>>/export/home/mayuresh/ws/derby/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/checkToursDB.java:24:
>>package toursdb does not exist
>> [javac] import toursdb.insertMaps;
>> [javac] ^
>></snip>
>>
>>
>
>It appears that the test for building the toursdb demo database cannot
>find the helper class toursdb.insertMaps, which should be compiled as
>part of the demo target as you mentioned. My suggestion would be to
>run 'ant clobber' and then 'ant all' again to make sure that you're
>running a totally clean build. Also, check the output of svn stat to
>make sure that there were no local changes that conflicted with the
>update you made earlier.
>
>Someone else had a similar problem, I think after the svn up,
>something is left over that prevents Ant from recognizing that
>insertMaps needs to be compiled. Running 'ant clobber' should
>hopefully fix the problem.
>
>andrew
>
>
|