You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Richard Liang <ri...@gmail.com> on 2006/06/26 00:11:50 UTC

[classlib] ant test fail

Hello,

When I try to run all tests of the classlib, the following errors occur. 
It's about junit, I think I should not be required for additional 
configuration, or do I miss something? ;-)

liangyx@liangyx-desktop:~/harmony/trunk$ ant test
Buildfile: build.xml

test:
     [echo]
     [echo] ========================================
     [echo] Testing class libraries...
     [echo] ========================================

clean:
   [delete] Deleting directory /home/liangyx/harmony/trunk/build/test_report

copy-test-resources:

check-support-jars:

check:
     [echo] Checking for depends/jars/xalan-j_2.7.0/xalan.jar
     [echo] Checking for depends/jars/xerces_2.8.0/resolver.jar
     [echo] Checking for depends/jars/xerces_2.8.0/xercesImpl.jar
     [echo] Checking for depends/jars/xerces_2.8.0/xml-apis.jar
     [echo] Checking for depends/jars/junit_3.8.2/junit.jar
     [echo] Checking for depends/jars/bcprov-jdk14-133/signed.bcprov.jar
     [echo] Checking for depends/jars/icu4j_3.4.4/icu4j_3_4_4.jar
     [echo] Checking for depends/jars/mx4j_3.0.1/mx4j.jar
     [echo] Checking for depends/jars/mx4j_3.0.1/mx4j-remote.jar
     [echo] Checking for depends/jars/ecj_3.2MAINT/ecj_3.2MAINT.jar

create-unsigned-bcprov-jar:

check-win:

compile-support:

test-modules:

call-modules-all:

compile.java:
     [echo] Compiling ACCESSIBILITY classes

build.jar:

build:

compile.tests:
     [echo] Compiling ACCESSIBILITY tests

run.tests:
    [mkdir] Created dir: /home/liangyx/harmony/trunk/build/test_report

BUILD FAILED
/home/liangyx/harmony/trunk/build.xml:105: The following error occurred 
while executing this line:
/home/liangyx/harmony/trunk/make/build-test.xml:48: The following error 
occurred while executing this line:
/home/liangyx/harmony/trunk/make/properties.xml:176: The following error 
occurred while executing this line:
/home/liangyx/harmony/trunk/make/properties.xml:186: The following error 
occurred while executing this line:
/home/liangyx/harmony/trunk/modules/accessibility/build.xml:110: Could 
not create task or type of type: junit.

-- 
Richard Liang
China Software Development Lab, IBM 



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [classlib] ant test fail

Posted by Richard Liang <ri...@gmail.com>.
Thanks a lot, Geir.

I do copy junit.jar to my ant/lib, but notice there is no ant-junit.jar 
in the directory. Just wondering why my Ubuntu does not install a 
full-version of ant. ;-)

Geir Magnusson Jr wrote:
> is junit.jar in your ant/lib directory?
>
> geir
>
>
> Richard Liang wrote:
>   
>> Hello,
>>
>> When I try to run all tests of the classlib, the following errors occur.
>> It's about junit, I think I should not be required for additional
>> configuration, or do I miss something? ;-)
>>
>> liangyx@liangyx-desktop:~/harmony/trunk$ ant test
>> Buildfile: build.xml
>>
>> test:
>>     [echo]
>>     [echo] ========================================
>>     [echo] Testing class libraries...
>>     [echo] ========================================
>>
>> clean:
>>   [delete] Deleting directory /home/liangyx/harmony/trunk/build/test_report
>>
>> copy-test-resources:
>>
>> check-support-jars:
>>
>> check:
>>     [echo] Checking for depends/jars/xalan-j_2.7.0/xalan.jar
>>     [echo] Checking for depends/jars/xerces_2.8.0/resolver.jar
>>     [echo] Checking for depends/jars/xerces_2.8.0/xercesImpl.jar
>>     [echo] Checking for depends/jars/xerces_2.8.0/xml-apis.jar
>>     [echo] Checking for depends/jars/junit_3.8.2/junit.jar
>>     [echo] Checking for depends/jars/bcprov-jdk14-133/signed.bcprov.jar
>>     [echo] Checking for depends/jars/icu4j_3.4.4/icu4j_3_4_4.jar
>>     [echo] Checking for depends/jars/mx4j_3.0.1/mx4j.jar
>>     [echo] Checking for depends/jars/mx4j_3.0.1/mx4j-remote.jar
>>     [echo] Checking for depends/jars/ecj_3.2MAINT/ecj_3.2MAINT.jar
>>
>> create-unsigned-bcprov-jar:
>>
>> check-win:
>>
>> compile-support:
>>
>> test-modules:
>>
>> call-modules-all:
>>
>> compile.java:
>>     [echo] Compiling ACCESSIBILITY classes
>>
>> build.jar:
>>
>> build:
>>
>> compile.tests:
>>     [echo] Compiling ACCESSIBILITY tests
>>
>> run.tests:
>>    [mkdir] Created dir: /home/liangyx/harmony/trunk/build/test_report
>>
>> BUILD FAILED
>> /home/liangyx/harmony/trunk/build.xml:105: The following error occurred
>> while executing this line:
>> /home/liangyx/harmony/trunk/make/build-test.xml:48: The following error
>> occurred while executing this line:
>> /home/liangyx/harmony/trunk/make/properties.xml:176: The following error
>> occurred while executing this line:
>> /home/liangyx/harmony/trunk/make/properties.xml:186: The following error
>> occurred while executing this line:
>> /home/liangyx/harmony/trunk/modules/accessibility/build.xml:110: Could
>> not create task or type of type: junit.
>>
>>     
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
>   

-- 
Richard Liang
China Software Development Lab, IBM 


Re: [classlib] ant test fail

Posted by Geir Magnusson Jr <ge...@pobox.com>.
is junit.jar in your ant/lib directory?

geir


Richard Liang wrote:
> Hello,
> 
> When I try to run all tests of the classlib, the following errors occur.
> It's about junit, I think I should not be required for additional
> configuration, or do I miss something? ;-)
> 
> liangyx@liangyx-desktop:~/harmony/trunk$ ant test
> Buildfile: build.xml
> 
> test:
>     [echo]
>     [echo] ========================================
>     [echo] Testing class libraries...
>     [echo] ========================================
> 
> clean:
>   [delete] Deleting directory /home/liangyx/harmony/trunk/build/test_report
> 
> copy-test-resources:
> 
> check-support-jars:
> 
> check:
>     [echo] Checking for depends/jars/xalan-j_2.7.0/xalan.jar
>     [echo] Checking for depends/jars/xerces_2.8.0/resolver.jar
>     [echo] Checking for depends/jars/xerces_2.8.0/xercesImpl.jar
>     [echo] Checking for depends/jars/xerces_2.8.0/xml-apis.jar
>     [echo] Checking for depends/jars/junit_3.8.2/junit.jar
>     [echo] Checking for depends/jars/bcprov-jdk14-133/signed.bcprov.jar
>     [echo] Checking for depends/jars/icu4j_3.4.4/icu4j_3_4_4.jar
>     [echo] Checking for depends/jars/mx4j_3.0.1/mx4j.jar
>     [echo] Checking for depends/jars/mx4j_3.0.1/mx4j-remote.jar
>     [echo] Checking for depends/jars/ecj_3.2MAINT/ecj_3.2MAINT.jar
> 
> create-unsigned-bcprov-jar:
> 
> check-win:
> 
> compile-support:
> 
> test-modules:
> 
> call-modules-all:
> 
> compile.java:
>     [echo] Compiling ACCESSIBILITY classes
> 
> build.jar:
> 
> build:
> 
> compile.tests:
>     [echo] Compiling ACCESSIBILITY tests
> 
> run.tests:
>    [mkdir] Created dir: /home/liangyx/harmony/trunk/build/test_report
> 
> BUILD FAILED
> /home/liangyx/harmony/trunk/build.xml:105: The following error occurred
> while executing this line:
> /home/liangyx/harmony/trunk/make/build-test.xml:48: The following error
> occurred while executing this line:
> /home/liangyx/harmony/trunk/make/properties.xml:176: The following error
> occurred while executing this line:
> /home/liangyx/harmony/trunk/make/properties.xml:186: The following error
> occurred while executing this line:
> /home/liangyx/harmony/trunk/modules/accessibility/build.xml:110: Could
> not create task or type of type: junit.
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org