Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsValidate plug-ins: Missing Constraint on bundle
https://www.eclipse.org/forums/index.php/mv/msg/1072643/1716220/#msg_1716220
I am developing an RCP application:
-- I have a feature-based product P which includes my feature F.
-- feature F wraps bundle B1
-- B1 depends on B2
When I run P, I get the usual "No application id has been found" but I am used to this, and I usually use the Add Required Plug-ins button in my Run Configuration and I'm OK.
Now time has come to deploy the application and I'm facing troubles.
Troubleshooting my issues, I realised that if I validate my plug-ins in my Run Configuration, I get this:
Indeed it does not get included automatically in my Run Configuration, although it is declared as a bundle dependency in B1's MANIFEST (Require-Bundle directive).
This is indeed the problem I am facing while launching my deployed executable.
The question is: Why U NO include B2??
Ok.. seriously: any idea?
Thank you very much,
-Piero
]]>Piero Campalani2015-12-02T10:00:32-00:00Re: Validate plug-ins: Missing Constraint on bundle
https://www.eclipse.org/forums/index.php/mv/msg/1072643/1716231/#msg_1716231
Dirk Fauth2015-12-02T11:23:11-00:00Re: Validate plug-ins: Missing Constraint on bundle
https://www.eclipse.org/forums/index.php/mv/msg/1072643/1716257/#msg_1716257
Exactly B2 is not part of F, but I thought that dependencies at bundle-level where not ignored. Indeed I realized that it is necessary to include features including B2 in the feature.xml file.
Side note:
In case B2 is not included in any feature (eg. an external library), I manually copied B2.jar inside B1 (+added to classpath +exported). Is this THE way to go in such cases?
Now, despite the validation of the dependencies does not detect anything wrong, I see that the magic button "Add Required Plug-ins" in my Run configuration is still adding more plugins.
How can I detect and include in my product all these new required plug-ins without a brute-force diff of my run configurations?
What is THE way here as well?
Thanks
-Piero
]]>Piero Campalani2015-12-02T14:11:45-00:00Re: Validate plug-ins: Missing Constraint on bundle
https://www.eclipse.org/forums/index.php/mv/msg/1072643/1716285/#msg_1716285
Dirk Fauth2015-12-02T17:01:49-00:00Re: Validate plug-ins: Missing Constraint on bundle
https://www.eclipse.org/forums/index.php/mv/msg/1072643/1716340/#msg_1716340
Now, despite the validation of the dependencies does not detect anything wrong
indeed validation does not detect missing requirements, but then plug-ins are still added when I click on Add Required.
Furthermore, when no existing feature includes a given packaged plug-in, should I manually import the jar file in my bundle or is there some other more orthodox way to achieve that?]]>Piero Campalani2015-12-03T07:09:22-00:00Re: Validate plug-ins: Missing Constraint on bundle
https://www.eclipse.org/forums/index.php/mv/msg/1072643/1716378/#msg_1716378
Dirk Fauth2015-12-03T11:19:35-00:00