Yeah, I'm not doing a very good job of explaining.  Let me try again.

We setup our projects in Eclipse as Plug-In projects, not standard Java 
projects.  This allows us to use a customized Config.ini and bootdelegation 
within Equinox.  When you Run a JUnit Plug-in Test, it adds a few Tabs to the 
standard JUnit Run Configuration which allow you to specify a clean workspace 
and a template Config.ini.  It also allows you to specify which system plugins 
you wish to run and if you want a start level for them.  We then added our new 
plugins to the Eclipse Running Platform so we can use those in our set of 
plug-ins and run our tests against them.

So, when we launch the test OSGi starts up, loads all the plugins in the 
correct order, and then finally launches our test bundle and executes it.  All 
of this works currently using the Eclipse JUnit plugin and the osgi framework.  
The problem is we'll be moving to Tomcat soon and we won't be able to use these 
like we are when we do.  So our next step is to try and do the same thing but 
with Pax Exam, so we can eventually move out of Eclipse and into Tomcat.  

Hopefully that clarifies it a bit?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Toni Menzel
Sent: Friday, February 19, 2010 12:49 AM
To: Shay Thompson
Cc: [email protected]
Subject: Re: Pax Exam with Eclipse

Hi Shay,

well i cannot really follow what you mean with "Junit Plugin-In Test Launcher".
Actually there's nothing that prevents you writing a regular JUnit4
Test, annotate it with the @RunWith and run it just like a regular
JUnit4 Test.
Though, this has nothing to do with the PDE, so please let me know
what you really do (perhaps share the Exception).
Cheers,
Toni

On Fri, Feb 19, 2010 at 4:46 AM, Shay Thompson <[email protected]> wrote:
>
>
> Hi, I'm looking for some tips on using Pax Exam from within Eclipse as a
> plug-in?  I want to be able to run my test using the Junit Plug-in Test
> launcher if that's possible.  I've got a standard Junit test launcher to run
> so I was hoping to find some tips on how to get to the next step.  My first
> attempt throws a ClassNotFoundException on my Test class so I figured I'm
> either not able to do this or I'm doing something wrong so I thought I'd ask
> here.
>
>
>
> Thanks,
>
> Shay
>
>
>
> ______________________________________________________________________________
>
> If you apply Ohms Law, e=mc2, to the hypotenuse and add to that a catalyst
> consisting of a set of struts and a gigahertz, you will theoretically arrive
> at an answer yesterday...
>
>
>
> Shay Thompson - Lead Computer Scientist
>
> Adobe Systems, Inc. - LiveCycle Foundation
>
> Voice: x34728 or 612.251.5415
>
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>
>



-- 
Toni Menzel
Independent Software Developer
Professional Profile: http://okidokiteam.com
[email protected]
http://www.ops4j.org     - New Energy for OSS Communities - Open
Participation Software.

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to