Community
Participate
Working Groups
This is a problem found by our customer when he tried to setup his internal update site for his users. Here is the scenario of the problem 1. Download eclipse 3.1.1, PDE and JDT 3.1.1 2. Start this instance and create an update site project 3. Add JDT, PDE, platform and RCP to the update site project and build the whole update site 4. Download eclipse 3.1.0, PDE and JDT 3.1.0 5. Start 3.1.0 instance and update it to 3.1.1 using the update site created in step 3 and restart the eclipse 6. Create an update project in the upgraded eclipse and add the four features to the update site 7. Build the update site and an error message about org.eclipse.pde.core 3.1.0 not found is issued Why does it look for org.eclipse.pde.core_3.1.0 since it's already replaced by org.eclipse.pde.core_3.1.1? The screen capture is attached.
Created attachment 30072 [details] plugin_not_found
Have you got a chance to look at this defect? Since it's a customer situation, we really appreciate if you can give us response soon. Thanks.
The error is coming from pde build, please take a look at it.
Hello there, any update?
Created attachment 30723 [details] patch After the update both the 3.1.0 and the 3.1.1 features exist in the install. When building the update site a container feature is generated that references the feature you are building. However, it seems that the feature build script generator when processing the container is looking up the included features by name without a version and is finding the 3.1.0 feature first. The 3.1.0 feature references the 3.1.0 plugin which isn't in the state because the 3.1.1 plugin was resolved instead. As a work around you could delete the old 3.1.0 features from the install/feature directory. Attached is a patch to use the version in addition to the feature id.
Proposing for 3.1.2. The fix has been released for the 3.2 stream (bug #118283).
Fix released.
This problem reappeared for me using 3.2.1. initial build works, after I change the feature and plugin versions to a newer one, I get an error stating that the plugin with the older version was not found. the eclipse error log contains nothing about it.