Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How do I find the Install Unit (IU) for a particular plug-in?
How do I find the Install Unit (IU) for a particular plug-in? [message #523900] Mon, 29 March 2010 18:54 Go to next message
Chris Eagan is currently offline Chris EaganFriend
Messages: 5
Registered: July 2009
Junior Member
It seems to me that we need a reverse-lookup feature that allows for searching for a plug-in id and getting back a list of the features / install units that the plug-in is a member of.

I am trying to find out which install unit contains the org.junit4 plug-in so that I can add that IU to my target file. I don't want to just add everything in order to figure out which one it is, but it seems like guessing or asking is the only way to find out.
Re: How do I find the Install Unit (IU) for a particular plug-in? [message #524267 is a reply to message #523900] Wed, 31 March 2010 11:27 Go to previous message
Ralf Ebert is currently offline Ralf EbertFriend
Messages: 168
Registered: July 2009
Senior Member
Hi,

"org.junit4" is actually an IU by itself, but you cannot add that using the UI in 3.5.
This will be fixed in 3.6:
http://bugs.eclipse.org/291227

In 3.5 you can add the IU manually by editing the target as .text file, for example:

<target name="Eclipse RCP + JUnit">
<locations>
<location includeAllPlatforms="true" includeMode="slicer" type="InstallableUnit">
<unit id="org.eclipse.rcp.sdk.id" version="3.5.2.M20100211-1343"/>
<unit id="org.junit4" version="4.5.0.v20090824"/>
<unit id="org.junit4.source" version="4.5.0.v20090824"/>
<repository location=" http://eclipsemirror.yoxos.com/eclipse.org/releases/galileo/"/>
</location>

Greetings,

Ralf

--
http://www.ralfebert.de/blog/
http://twitter.com/ralfebert/
Previous Topic:StyledText: wrong style length in PaintObjectEvent
Next Topic:ResourceExceptions
Goto Forum:
  


Current Time: Sat Jul 27 05:04:47 GMT 2024

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

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

Back to the top