| Summary: | Tycho Compiler Doesn't Include Extension Bundle Packages When RequiredExecutionEnvironment Set | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Matt Roy <mooseroy> | ||||
| Component: | Tycho | Assignee: | Igor Fedorenko <igor> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | anthony.dahanne, borislavarnaudov, igor, jan.sievers, lukasz.koniecki, piotr.jaworowski, sebastien.angers, tombrus | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Matt Roy
Created attachment 208737 [details]
Test Project demonstrating the problem
Can you point me at any documentation (OSGi specs, preferably) that explains expected behaviour of "Fragment-Host: system.bundle; extension:=framework". This will require special handling in tycho-compiler-plugin and I need to understand the problem before I can implement a solution. Another possibility is to provide a way to disable compiler bootclasspath access rules, but this is obviously suboptimal. I believe it is defined in section "3.15 Extension Bundles" of the core osgi spec. http://blog.meschberger.ch/2008/10/osgi-bundles-require-classes-from.html is a good blog post that explained it when I was looking. *** Bug 369187 has been marked as a duplicate of this bug. *** I wonder if bug 369880 may be related. This one is about an equinox runtime issue but the circumstances (framework extension fragment with/without BREE) seem similar. I am having difficulties getting provided example project compiling in eclipse workspace. Does PDE support extension:=framework ? The extension bundle works in the PDE as part of a larger internal project I am working one, so I will have to spend some time to figure out why the simple project is not working. Should be fixed now. http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=a4e844502a489038dae97cd8613b7d0904c3a5ea. I am still curious to see how this works in PDE. |