You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mark Hindess <ma...@googlemail.com> on 2006/06/26 17:10:34 UTC

Re: [classlib] ant test fail

On 26 June 2006 at 22:51, Richard Liang <ri...@gmail.com> wrote:
> --------------090101060803000509020200
> 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. ;-)

Debian has an "ant-optional" package.  (IIRC, it is split from the ant
package to reduce the interdependencies when the building packages.  The
"ant-optional" package is in the "Recommends" list for "ant" so install
tools like aptitude should [offer to] install it when you install ant.)

-Mark.

> 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_repor
> t
> >>
> >> 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 
> 
> 
> --------------090101060803000509020200--





---------------------------------------------------------------------
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>.

Mark Hindess wrote:
> On 26 June 2006 at 22:51, Richard Liang <ri...@gmail.com> wrote:
>   
>> --------------090101060803000509020200
>> 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. ;-)
>>     
>
> Debian has an "ant-optional" package.  (IIRC, it is split from the ant
> package to reduce the interdependencies when the building packages.  The
> "ant-optional" package is in the "Recommends" list for "ant" so install
> tools like aptitude should [offer to] install it when you install ant.)
>
>   
Thanks a lot, Mark.
> -Mark.
>
>   
>> 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_repor
>>>>         
>> t
>>     
>>>> 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 
>>
>>
>> --------------090101060803000509020200--
>>     
>
>
>
>
>
> ---------------------------------------------------------------------
> 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