| Summary: | PDE fails to build (import not found) when using P2 repositories in target platform | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Bryan Hunt <bhunt> | ||||
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | pwebster | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
I just discovered a workaround by pure accident. When a feature is created, "Unpack the plug-in archive after the installation" is checked by default. If I uncheck this option, then PDE will build just fine using all P2 repositories. I've re-deployed the repositories I built, so you won't be able to reproduce with the attached source and target definition. If you need them to reproduce the problem, I can make the old ones available. Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix. Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix. |
Created attachment 192334 [details] source bundles and target definition I'm developing with Eclipse 3.7M6. When I set up my target platform to include all P2 repositories, my source will not build. I get import not found errors. If I build with Tycho using exactly the same P2 repositories for my target platform, the source builds just fine. The P2 repositories that are giving me problems are ones that I built myself from source and exported using PDE as a deployable feature including repository metadata and a category.xml. The attached code should be everything needed to reproduce the problem. It contains two target platform definitions: MongoBad.target is set up to use only P2 repositories which will not build, and Mongo.target is set up to get the two repositories I built from the filesystem instead of a web server which builds just fine.