quality@glassfish.java.net

Re: [Fwd: Miss to copy the jars before executing community test]

From: Gopal Jorapur <Gopal.Jorapur_at_Sun.COM>
Date: Fri, 20 Jun 2008 01:19:54 -0700

Hi David/Jim,

I could reproduce the issue, I also fixed it

How it happened?
Initially we were using maven, that used to copy all jars
Then we dropped maven, since it was an additional software for users

How it worked on my system?
My system had old ant, that was having all jar files (copied by maven)

How I have fixed it?
Added copyJARS to all target

Thanks,
Gopal

David Chapman wrote:
> I was also able to reproduce this on Win XP.
>
> On Tue, Jun 17, 2008 at 8:45 PM, Gopal Jorapur <Gopal.Jorapur_at_sun.com> wrote:
>
>> Thanks Jim for trying the instructions
>>
>> The issue is TestNG jar is not in the classpath
>>
>> The design of test infrastructure is supposed to take care of this, looks
>> like some corner cases its not working
>>
>> Congratulations for finding a bug in my code :)
>>
>> Can you please let me know which platform are you using, I will try same way
>>
>> Thanks,
>> Gopal
>>
>> Jim Jiang wrote:
>>
>>> Resend...
>>>
>>> ------------------------------------------------------------------------
>>>
>>> Subject:
>>> Miss to copy the jars before executing community test
>>> From:
>>> Jim Jiang <jj156416_at_Sun.COM>
>>> Date:
>>> Tue, 10 Jun 2008 22:54:47 +0800
>>> To:
>>> quality_at_glassfish.java.net
>>>
>>> To:
>>> quality_at_glassfish.java.net
>>>
>>>
>>> Hi ,
>>>
>>> I tried to follow the steps for Add tests to Community Tests GlassFish V2
>>> <https://glassfish.dev.java.net/quality/portal/HowToAddTestsV2.html>
>>> When I run below ant command:
>>> % ant -Dglassfish.home=<glassfish_install_dir> all
>>>
>>> I got the error message like:
>>> D:\work\gfqc\community\gfproject\build-impl.xml:86: taskdef class
>>> org.testng.TestNGAntTask cannot be found
>>>
>>> After running below ant command, the above command works:
>>> ant -Dglassfish.home=d:\glassfish copyJARS
>>>
>>> Regards,
>>> Jim
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>