Mikhail Loenko wrote:
> 2006/4/4, Tim Ellison <[EMAIL PROTECTED]>:
>> That looks like the JUnit Ant task is missing -- you still need to put
>> JUnit into ant/lib etc. to use <junit ...>
> 
> Actually the tests pass when junit.jar is in CLASSPATH, so seems like
> <junit...> task works well.

Perhaps the JRE that is running Ant is picking up your CLASSPATH.

> Do you mean that to run the tests I'll have to have two junit's:
> one in ant/lib and another one in Harmony/depends?

I never set CLASSPATH -- I've simply put junit.jar into my Ant lib and
the test run fine.

[ I've also got jdtCompilerAdapter.jar and
org.eclipse.jdt.core_3.2.0.v_631.jar in there for the Eclipse compiler ]

Regards,
Tim

>> and I'd encourage people to put the Eclipse compiler adapter in there
>> too so we can use that.
>>
>> Regards,
>> Tim
>>
>>
>> Mikhail Loenko wrote:
>>> Not only the document.
>>>
>>> Now build fails without e.g. junit in classpath:
>>>
>>> BUILD FAILED
>>> H:\make\build-test.xml:58: The following error occurred while
>>> executing this line:
>>> H:\modules\luni\make\build.xml:123: The following error occurred while
>>> executing this line:
>>> H:\modules\luni\make\common\build.xml:77: Could not create task or
>>> type of type: junit.
>>>
>>> Thanks,
>>> Mikhail
>>>
>>> ---------------------------------------------------------------------
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> --
>>
>> Tim Ellison ([EMAIL PROTECTED])
>> IBM Java technology centre, UK.
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to