[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Using a generated repo as a target platform.
- From: Chris Aniszczyk <zx@xxxxxxxxxxxxxxxxx>
- Date: Sun, 5 Jul 2009 22:45:18 -0500
- Delivered-to: email@example.com
On Fri, Jul 3, 2009 at 3:07 PM, Don Laidlaw <Don.Laidlaw@xxxxxxxxx> wrote:
I successfully generated a p2 repo using the feature export wizard in Galileo. No problem there :)
Next I wanted to use that repo as a target platform using the cool new PDE target platform editor feature that can use an update site (p2 repo) as a target platform. ÂHowever, that did not work if I left the Include required software checkbox checked. I got an error using the repo:
Cannot satisfy dependency:
Missing Requirement: Java Architecture for XML binding (JAXB) Implementation 2.1.7 (com.springsource.com.sun.xml.bind 2.1.7) requires âpackage javax.imageio.stream 0.0.0â but it could not be found.
Should javax.imageio.* not come from the JRE/JDK ?? The javax.imageio.* packages are generally system packages in the org.osgi.framework.system.packages sense.
If I uncheck the Include Required Software checkbox, then the target platform gets resolved and built. That works as a workaround, at least. But in general I would not want to unselect that checkbox.
Any suggestions? Or is this working as designed?
This is working as designed. You can see some of the debate on why this was added in this bug:
The main gist of it is that when that checkbox is checked, we use the p2 "planner" to grab necessary dependencies for your current os/arch... when that checkbox isn't checked, we use the p2 "slicer" to grab things which makes things less restrictive (ignore JRE profile issues, ignore platforms specific issues). There's a lot of flexibility using both options, it also allows us to work with incomplete repositories.
Look for further improvements in Eclipse 3.6 as we expand the functionality of targets. Feel free to file any bugs you come across... or any improvement ideas you have.
In the end, you're doing the right thing so don't worry about it :)
Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk