You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Mayuresh Nirhali <Ma...@Sun.COM> on 2006/03/22 06:20:21 UTC
Build failed for TESTING target
Hello,
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.
Has anyone seen this ??
please let me know
Mayuresh
<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] ^
[javac]
/export/home/mayuresh/ws/derby/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/checkToursDB.java:54:
cannot resolve symbol
[javac] symbol : variable insertMaps
[javac] location: class
org.apache.derbyTesting.functionTests.tests.demo.checkToursDB
[javac] insertMaps.main(args);
[javac] ^
[javac] 2 errors
BUILD FAILED
</snip>
Re: Build failed for TESTING target
Posted by Mayuresh Nirhali <Ma...@Sun.COM>.
ant clobber - ant all works neat !!
thanks !
Mayuresh
Andrew McIntyre wrote:
>On 3/21/06, Mayuresh Nirhali <Ma...@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
>
>
Re: Build failed for TESTING target
Posted by "V.Narayanan" <V....@Sun.COM>.
Hi,
I did an 'ant clobber' followed by an 'ant all'. It went through without
errors.
thanx
Narayanan
Andrew McIntyre wrote On 03/22/06 11:30,:
>On 3/21/06, Mayuresh Nirhali <Ma...@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
>
>
>
Re: Build failed for TESTING target
Posted by Andrew McIntyre <mc...@gmail.com>.
On 3/21/06, Mayuresh Nirhali <Ma...@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