Hi Nufail,

Yes, that looks like the correct approach. Let us know how you progress
along. Would love to accumulate your findings in a FAQ for Ant users.
I am on vacation right now. Glad to help you later next week if desired.

Cheers,
Toni

On Thu, Aug 2, 2012 at 4:22 PM, Mohamed Nufail <nufai...@gmail.com> wrote:

> Hi Toni,
>
> Thank you for your reply. So if I have the pax exam jars in the classpath
> I can include my test class under Junit Ant task and it would run with Pax
> Exam?
>
> I will look into pax-exam-player driver and other suggestions and see if
> it fits.
>
> Thanks,
> Nufail.
>
>
> On Thu, Aug 2, 2012 at 6:44 PM, Toni Menzel <toni.men...@rebaze.com>wrote:
>
>> Hi,
>>
>> You can use any other build system, you just need to include the pax exam
>> jars into the classpath. Right now the only way to determine the list of
>> jars is by looking at the dependencies in the example poms.
>> We had a combo "all jars included" assembly in older versions, but this
>> had been dropped due to lack of demand for non maven based projects. If you
>> create a ticket on Jira it would possibly help also.
>>
>
>> Regarding Junit4: Well there is no explicit driver for Junit3 but you can:
>> - either simply write your own using pax exams low level api (called
>> plumbing) - for this you look at the current drivers source code
>> - or use the pax-exam-player driver (which is very much simplified but
>> could be enough for your case)
>> - add a ticket for adding a junit3 driver (contributions are highly
>> welcome)
>>
>> Hope this helps?
>> Cheers!
>> Toni
>>
>> --
>> Toni Menzel | Founder | Rebaze GmbH
>> toni.men...@rebaze.com | www.rebaze.com
>> Struggling with your build- and deployment pipeline ? Try our new Rebaze
>> Pass for Maven <http://goo.gl/1YLlt>.
>> Modular JVM based application platform in the works ? Rebaze Pass for
>> OSGi <http://goo.gl/WP8XT> can provide access to the experts.
>>
>> On Thu, Aug 2, 2012 at 2:55 PM, Mohamed Nufail <nufai...@gmail.com>wrote:
>>
>>> Hi,
>>>
>>> I am hoping to do some basic integration testing using Pax Exam. But my
>>> project is using Ant. It already has many JUnit tests through Ant. I want
>>> to integrate the Pax Exam test also into this Ant build. But all I could
>>> find was docs showing how to do it using Maven. Any help showing how to run
>>> Pax Exam with Ant would be appreciated.
>>>
>>> Also I need to know if Pax Exam supports JUnit 3. This issue [1] seems
>>> to suggest that it does. But I could not find any docs showing how to do it
>>> with JUnit 3.
>>>
>>>
>>> Thanks,
>>> Nufail.
>>>
>>> [1] http://team.ops4j.org/browse/PAXEXAM-46
>>>
>>> --
>>>
>>> Mohamed Nufail
>>> Undergraduate,
>>> Department of Computer Science & Engineering,
>>> University of Moratuwa.
>>> Blog: http://www.nufailm.blogspot.com/
>>>
>>>
>>>
>>> _______________________________________________
>>> general mailing list
>>> general@lists.ops4j.org
>>> http://lists.ops4j.org/mailman/listinfo/general
>>>
>>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> general mailing list
>> general@lists.ops4j.org
>> http://lists.ops4j.org/mailman/listinfo/general
>>
>>
>
>
> --
>
> Mohamed Nufail
> Undergraduate,
> Department of Computer Science & Engineering,
> University of Moratuwa.
> Blog: http://www.nufailm.blogspot.com/
>
>
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>
>


-- 
Toni Menzel | Founder | Rebaze GmbH
toni.men...@rebaze.com | www.rebaze.com
Struggling with your build- and deployment pipeline ? Try our new Rebaze
Pass for Maven <http://goo.gl/1YLlt>.
Modular JVM based application platform in the works ? Rebaze Pass for
OSGi<http://goo.gl/WP8XT>can provide access to the experts.
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to