Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » "Add Required Plug-ins" does not see plug-in fragments as optional
"Add Required Plug-ins" does not see plug-in fragments as optional [message #1073647] Thu, 25 July 2013 08:29
Angelo Gülle is currently offline Angelo GülleFriend
Messages: 1
Registered: July 2013
Junior Member
Hallo Everyone,

Assume we have following simple scenario:

- A plugin "MyPlugin"
- A plugin fragment "MyFragment" that is part of "MyPlugin"
- A product configuration "MyProduct.product".

If I now add "MyPlugin" to the Dependencies of "MyProduct" and hit "Add Required Plug-ins", "MyFragment" will be added to the dependencies. The checkbox "Include optional dependencies when computing required plug-ins" is unchecked.

As far as I understood fragments should be optional and the host plug-in should not depend on the fragment.

How can I prevent "Add Required Plug-ins" from adding fragments to my dependencies list?

Use Case: I normally put my JUnit Tests into fragments to the corresponding tested plug-ins. But when building my product I do not want the tests included.

Best regards,

Angelo
Previous Topic:eclipse based plugin development using javaFx
Next Topic:Appearance preferences unable to find themes
Goto Forum:
  


Current Time: Fri Nov 28 01:55:30 GMT 2014

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

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