|"Add Required Plug-ins" does not see plug-in fragments as optional [message #1073647]
||Thu, 25 July 2013 04:29
| Angelo Gülle
Registered: July 2013
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.
Powered by FUDForum
. Page generated in 0.01932 seconds