Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Error while tryng to run uitestapplicaton
Error while tryng to run uitestapplicaton [message #495678] Thu, 05 November 2009 18:02 Go to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Hello,

I have an RCP build that ends by running tests on the produced product. These tests are added to the product distribution as a feature and then invoked by launching th UITestsApplication from ant.
This has worked for weeks, but I now get an error, and I can't figure out what modification changed the behaviour of the build.

All my tests bundles (includng org.eclipse.ant.optional.junit) are contained in a feature thst is added to product. But, I now get the following stack instead of tests running
http://pastebin.com/f55d3f610

When launching the product normally (without testing), I see that the org.eclipse.ant.optional.junit is not resolved. When going deeper in the investigation and using the OSGi console to get clues, I get:

osgi> diag 643
update@plugins/org.eclipse.ant.optional.junit_3.2.200/ [643]
Constraints from the fragment conflict with the host: Require-Bundle: org.eclipse.core.runtime.compatibility; bundle-version="0.0.0"
Constraints from the fragment conflict with the host: Require-Bundle: org.junit; bundle-version="0.0.0"

I checked several times my plugin list and couldn't find a cause for this issue. Both dependencies are resolved... Does anyone have an idea or a clue ?

--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Re: Error while tryng to run uitestapplicaton [message #496478 is a reply to message #495678] Tue, 10 November 2009 09:15 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Mickael Istria a écrit :
> Hello,
>
> I have an RCP build that ends by running tests on the produced product.
> These tests are added to the product distribution as a feature and then
> invoked by launching th UITestsApplication from ant.
> This has worked for weeks, but I now get an error, and I can't figure
> out what modification changed the behaviour of the build.
>
> All my tests bundles (includng org.eclipse.ant.optional.junit) are
> contained in a feature thst is added to product. But, I now get the
> following stack instead of tests running
> http://pastebin.com/f55d3f610
>
> When launching the product normally (without testing), I see that the
> org.eclipse.ant.optional.junit is not resolved. When going deeper in the
> investigation and using the OSGi console to get clues, I get:
>
> osgi> diag 643
> update@plugins/org.eclipse.ant.optional.junit_3.2.200/ [643]
> Constraints from the fragment conflict with the host: Require-Bundle:
> org.eclipse.core.runtime.compatibility; bundle-version="0.0.0"
> Constraints from the fragment conflict with the host: Require-Bundle:
> org.junit; bundle-version="0.0.0"
>
> I checked several times my plugin list and couldn't find a cause for
> this issue. Both dependencies are resolved... Does anyone have an idea
> or a clue ?


The answer can be found here -> http://www.eclipse.org/forums/index.php?t=msg&th=157201& amp;start=0&S=20c56f8aabdd15b18b5430995ffada41


--

--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Re: Error while tryng to run uitestapplicaton [message #496484 is a reply to message #496478] Tue, 10 November 2009 09:36 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Sorry, actually the answer is here -> http://www.eclipse.org/forums/index.php?t=msg&th=155093& amp;start=0&S=20c56f8aabdd15b18b5430995ffada41

--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Previous Topic:Search menu trouble
Next Topic:Change cursor
Goto Forum:
  


Current Time: Thu Apr 25 06:48:53 GMT 2024

Powered by FUDForum. Page generated in 0.03021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top