Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » "org.junit4" in target platform?
"org.junit4" in target platform? [message #544973] Tue, 06 July 2010 08:58 Go to next message
Lars Fischer is currently offline Lars Fischer
Messages: 105
Registered: July 2009
Senior Member
Hello,

I would like to use a smaller target platform than the default running
with its many plugins.

I created a .target file and added some features from the helios update
site (Equinox Core SDK, ...)

Every works fine except "org.junit4". I can't find a single feature,
which installs a working "org.junit4" bundle. There are some containing
org.junit (without "4" at the end), but I need the other one.

Could someone please tell me, how I can get this bundle into my target
platform?

Regards,
Lars
Re: "org.junit4" in target platform? [message #545115 is a reply to message #544973] Tue, 06 July 2010 16:35 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 755
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi,

The org.junit4 bundle was a non-sense that was removed from Helios (replaced by org.junit -without 4, but with a good version). You can learn more on this topic here: http://wiki.eclipse.org/Eclipse/Testing/JUnit4_Changes
What we were do here to get bundles depending on org.junit4 (such as SWTBot), it to checkout and use the "alias" version of org.junit4, that you can find here: plugin@org.junit4 =v20100104,:pserver:anonymous:@dev.eclipse.org:/cvsroot/ecli pse,,org.junit4

HTH

Le 06/07/2010 10:58, Lars Fischer a écrit :
> Hello,
>
> I would like to use a smaller target platform than the default running
> with its many plugins.
>
> I created a .target file and added some features from the helios update
> site (Equinox Core SDK, ...)
>
> Every works fine except "org.junit4". I can't find a single feature,
> which installs a working "org.junit4" bundle. There are some containing
> org.junit (without "4" at the end), but I need the other one.
>
> Could someone please tell me, how I can get this bundle into my target
> platform?
>
> Regards,
> Lars
>


--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Re: "org.junit4" in target platform? [message #545525 is a reply to message #545115] Thu, 08 July 2010 07:36 Go to previous messageGo to next message
Lars Fischer is currently offline Lars Fischer
Messages: 105
Registered: July 2009
Senior Member
Hello Mickael,

On 06.07.2010 18:35, Mickael Istria wrote:
>
> The org.junit4 bundle was a non-sense that was removed from Helios
> (replaced by org.junit -without 4, but with a good version). You can
> learn more on this topic here:
> http://wiki.eclipse.org/Eclipse/Testing/JUnit4_Changes
> What we were do here to get bundles depending on org.junit4 (such as
> SWTBot), it to checkout and use the "alias" version of org.junit4, that
> you can find here:
> plugin@org.junit4 =v20100104,:pserver:anonymous:@dev.eclipse.org:/cvsroot/ecli pse,,org.junit4

Thank you for this information.

But there is no single feature in the helios p2 repository to add only
junit to a target platform?

Regards,
Lars
Re: "org.junit4" in target platform? [message #545559 is a reply to message #545525] Thu, 08 July 2010 08:33 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 755
Registered: July 2009
Location: Grenoble, France
Senior Member
There is no way to install only org.junit from Helios repo to target platform using the UI. However, you can perform this operation with command line using p2 director. See http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/p2_director.html
Re: "org.junit4" in target platform? [message #545838 is a reply to message #545559] Fri, 09 July 2010 11:02 Go to previous message
Lars Fischer is currently offline Lars Fischer
Messages: 105
Registered: July 2009
Senior Member
On 08.07.2010 10:33, Mickael Istria wrote:
> There is no way to install only org.junit from Helios repo to target
> platform using the UI. However, you can perform this operation with
> command line using p2 director. See
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/p2_director.html

Thank you for this hint!

Regards,
Lars
Previous Topic:Eclipse Job framework: FIFO queue that respects priority?
Next Topic:Temporary Files & Editors
Goto Forum:
  


Current Time: Sat Sep 20 08:05:55 GMT 2014

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

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