Community
Participate
Working Groups
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.
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.