Community
Participate
Working Groups
There is a new p2 import/export bundle in the repository as a result of the work on Bug 282419. I loaded the project and currently have the following problems: - 83 Java compiler problems due to access restrictions - missing about.html/legal files -> this will cause a failure in the releng tests in the build Currently the project is only in CVS and is not included in a feature so it won't be built. But these problems need to be addressed before the bundle is included in any builds. Given that it took us several days to get a clean build after last week's bundle addition, we need to make sure this one goes smoothly. If for nothing else then our sanity. :-)
Created attachment 192934 [details] build.properties patch The latest N-Build still shows one compile problem for access restrictions. The bundle still needs about.html/legal files. I also think the build.properties is missing entries for OSGI-INF and javacTarget for jsr14. Here is a patch for that.
sigh, forget my patch about OSGI-INF. PDE is just being silly in warning me about that. Seems the entry is there for the one file in that directory OSGI-INF/importexport.xml
Fixed. Only one "error" to report.
(In reply to comment #3) > Fixed. > Only one "error" to report. For the error on: Set<IInstallableUnit> result = new CompoundQueryable<IInstallableUnit>(repos.toArray(new IRepository[repos.size()])).query(QueryUtil.createIUQuery(feature.getIU().getId(), new VersionRange(feature.getIU().getVersion(), true, null, false)), sub2.newChild(100)).toSet(); This is because the method query is inherited through an internal class. Casting to (IQueryable<IInstallableUnit>) should help. I think another option is to make CompoundQueryable implement IQueryable directly.
FYI, the remaining compile error I mentioned in comment 4 is not an issue at runtime. Rather it is JDT being too strict I think: bug 122915.