Hej Tobias,
Am 08.03.2012 14:29, schrieb Oberlies, Tobias:
So the resolution itself succeeds, but the resulting class path is
missing a lot of jars.
I have attached the relevant part of the debug output. Does the class
path match your observation
> that only the fragment's dependencies are there?
No. In the classpath you extracted are exactly the host's dependencies.
The fragment itself does not define a single dependency (see atached
MANIFEST.MF from the fragment attached [0]). I do not understand why the
build is than not able to find the types that are obviously in the
classpath. I attached the host's MANIFEST as well [1].
Thanks for your effort,
Mirko
[0] MANIFEST.MF Fragment:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Commons Plug-in RCP Fragment
Bundle-SymbolicName: com.foobar.rcp.commons.rcp
Bundle-Version: 4.0.0.qualifier
Fragment-Host: com.foobar.rcp.commons;bundle-version="[4.0.0,4.1.0)"
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Eclipse-PatchFragment: true
Bundle-Vendor: foobar AG
[1] MANIFEST.MF Host:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Commons Plug-in
Bundle-SymbolicName: com.foobar.rcp.commons;singleton:=true
Bundle-Version: 4.0.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %Bundle-Vendor.0
Export-Package: com.foobar.rcp.command.handler,
com.foobar.rcp.common,
com.foobar.rcp.databinding,
com.foobar.rcp.expressions,
com.foobar.rcp.extensionpoint,
com.foobar.rcp.handling.error,
com.foobar.rcp.help,
com.foobar.rcp.impex,
com.foobar.rcp.model,
com.foobar.rcp.model.table,
com.foobar.rcp.model.tree,
com.foobar.rcp.preferences.store,
com.foobar.rcp.runtime.status,
com.foobar.rcp.runtime.status.ui,
com.foobar.rcp.ui,
com.foobar.rcp.ui.action,
com.foobar.rcp.ui.composite,
com.foobar.rcp.ui.control,
com.foobar.rcp.ui.decorator,
com.foobar.rcp.ui.dialog,
com.foobar.rcp.ui.dnd,
com.foobar.rcp.ui.editor,
com.foobar.rcp.ui.event,
com.foobar.rcp.ui.fieldassist,
com.foobar.rcp.ui.handler,
com.foobar.rcp.ui.job,
com.foobar.rcp.ui.listener,
com.foobar.rcp.ui.perspective,
com.foobar.rcp.ui.preference.editor,
com.foobar.rcp.ui.preference.store,
com.foobar.rcp.ui.preferences,
com.foobar.rcp.ui.res,
com.foobar.rcp.ui.view,
com.foobar.rcp.ui.viewer,
com.foobar.rcp.ui.wizard,
com.foobar.rcp.util
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,3.8.0)",
org.eclipse.ui;bundle-version="[3.7.0,3.8.0)";resolution:=optional,
org.eclipse.core.expressions;bundle-version="[3.4.0,3.5.0)",
org.eclipse.core.databinding;bundle-version="[1.4.0,1.5.0)";resolution:=optional,
org.eclipse.ui.forms;bundle-version="[3.5.0,3.6.0)";resolution:=optional,
org.eclipse.jface.databinding;bundle-version="[1.5.0,1.6.0)";resolution:=optional,
org.eclipse.core.databinding.observable;bundle-version="[1.4.0,1.5.0)";resolution:=optional,
org.eclipse.core.databinding.beans;bundle-version="[1.2.0,1.3.0)";resolution:=optional,
org.eclipse.core.databinding.property;bundle-version="[1.4.0,1.5.0)";resolution:=optional,
com.foobar.commons.qtcommons;bundle-version="5.1.1",
org.apache.commons.beanutils;bundle-version="1.8.0",
org.apache.commons.codec;bundle-version="1.5.0",
org.apache.commons.collections;bundle-version="3.2.1",
org.apache.commons.io;bundle-version="2.1.0",
org.apache.commons.lang3;bundle-version="3.1.0",
org.apache.commons.math;bundle-version="2.1.0"
Eclipse-BuddyPolicy: registered
Bundle-ActivationPolicy: lazy
Bundle-Activator: com.foobar.rcp.common.CommonsPlugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Bundle-Localization: plugin
Import-Package: com.foobar.commons.query