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? ;-)

[EMAIL PROTECTED]:~/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Richard Liang
China Software Development Lab, IBM

Reply via email to