Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] SWT exception thrown while running org.eclipse.test.UITestApplication through Launch configuration


The only thing that looks suspect to me is:
<booleanAttribute key="clearConfig" value="false"/>

If you've been making corrections for versions of org.apache.ant in your environment, the change may not be taking effect.  Have you tried running with "Clear the configuration area.." enabled between these changes?

Sonia



arati khandekar <aarati_k@xxxxxxxxx>
Sent by: pde-dev-bounces@xxxxxxxxxxx

11/30/2006 02:15 PM

Please respond to
"Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>

To
"Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
cc
Subject
Re: [pde-dev] SWT exception thrown while running        org.eclipse.test.UITestApplication through Launch configuration





Thanks for the reply.

The org.eclipse.ant.optional.junit plugin is present
and fragment.xml points to correct ant version. I
noticed that there was similar problem due to wrong
ant version present.

I have attached the launch and manifest file. It may
give you some hint.

Thanks again.

--- Sonia Dimitrov <Sonia_Dimitrov@xxxxxxxxxx> wrote:

> Seems org.eclipse.ant.optional.junit is missing in
> your setup.  Please try
> checking it out from
> dev.eclipse.org:/cvsroot/eclipse and running again.
>
> hth,
>
> Sonia
>
>
>
>
> Ecpuser <aarati_k@xxxxxxxxx>
> Sent by: pde-dev-bounces@xxxxxxxxxxx
> 11/29/2006 07:26 PM
> Please respond to
> "Eclipse PDE general developers list."
> <pde-dev@xxxxxxxxxxx>
>
>
> To
> pde-dev@xxxxxxxxxxx
> cc
>
> Subject
> [pde-dev] SWT exception thrown while running
> org.eclipse.test.UITestApplication through Launch
> configuration
>
>
>
>
>
>
>
> I am trying to launch my UI based Junit testcase
> plugin using following
> launch configuration:
> run as application:
> org.eclipse.test.UITestApplication
>
> Arguments:
>
formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,testresults.xml
> -testpluginname com.uievolution.rcpmail.ui.tests
> -classname
> com.uievolution.rcpmail.ui.tests.RcpMailTestSuite
>
> I get SWTException 'junit/framework/TestListener'
> not found. The jar
> containing this class does exist in dependency.
> Stack trace attached.
>
> I tried
> 1. changing  dependency order, to include org.junit
> to top.
> 2. Including org.junit as Imported package.
> 3. Including org.junit as eclipse-registeredbuddy in
> manifest.mf
> 4. including plugin dependencies before JRE
> dependencies.
> 5.Including external junit.jar in Liraries path
> (Java Build path)
>
> None of these have altered the behavior/exception.
>
> Can anyone suggest what's missing or wrong?
>
> Kindly point me to right forum if this is not the
> right one.
>
> Thanks.
> http://www.nabble.com/file/4379/SWTException.rtf
> SWTException.rtf
> --
> View this message in context:
>
http://www.nabble.com/SWT-exception-thrown-while-running-org.eclipse.test.UITestApplication-through-Launch-configuration-tf2728828.html#a7611190
>
> Sent from the Eclipse PDE - General mailing list
> archive at Nabble.com.
>
> _______________________________________________
> pde-dev mailing list
> pde-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-dev
>
> > _______________________________________________
> pde-dev mailing list
> pde-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-dev
>



____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev

Attachment: MANIFEST.MF
Description: Binary data

Attachment: TestUsingClass.launch
Description: Binary data


Back to the top