Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Eclipse-PatchFragment Require-Bundle

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?

If yes, this is a bug. Please create a minimal, standalone project that reproduces the problem and attach it to a bug report.

Thanks & regards
Tobias


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Mirko Swillus
> Sent: Donnerstag, 8. März 2012 11:26
> To: Tycho user list
> Subject: Re: [tycho-user] Eclipse-PatchFragment Require-Bundle
> 
> Hej Tobias,
> Am 08.03.2012 11:02, schrieb Oberlies, Tobias:
> 
>  >> when building an Eclipse patch fragment with Tycho 0.14.1 I
>  >> have to define all the requirements from the host bundle
> 
> > No this is not expected, and may be a bug.
> > To check this it would be good to get the full build log. "Resolution"
> is a multi-step process in
>  > Tycho and from your message it is not clear which one of the steps
> fail.
> 
> Thanks for your quick answer. Please find the debug build log attached.
> Regards,
> Mirko

...
[DEBUG] Output directory: C:\Users\mirkos\workspaces\commonsPluginTycho\Commons Plug-in RCP Fragment\target\patch.jar-classes
[DEBUG] Classpath:
[DEBUG]  C:\Users\mirkos\workspaces\commonsPluginTycho\Commons Plug-in RCP Fragment\target\patch.jar-classes
[DEBUG]  C:\Users\mirkos\workspaces\commonsPluginTycho\Commons Plug-in RCP Fragment\.
[DEBUG]  C:\Users\mirkos\.m2\repository\com\foobar\rcp\com.foobar.rcp.commons\4.0.0-SNAPSHOT\com.foobar.rcp.commons-4.0.0-SNAPSHOT.jar
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.core.runtime\3.7.0.v20110110\org.eclipse.core.runtime-3.7.0.v20110110.jar[~org/eclipse/core/internal/preferences/legacy/*;~org/eclipse/core/internal/runtime/*;+org/eclipse/core/runtime/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.osgi\3.7.1.R37x_v20110808-1106\org.eclipse.osgi-3.7.1.R37x_v20110808-1106.jar[+org/eclipse/osgi/event/*;+org/eclipse/osgi/framework/console/*;+org/eclipse/osgi/framework/eventmgr/*;+org/eclipse/osgi/framework/log/*;+org/eclipse/osgi/launch/*;+org/eclipse/osgi/service/datalocation/*;+org/eclipse/osgi/service/debug/*;+org/eclipse/osgi/service/environment/*;+org/eclipse/osgi/service/localization/*;+org/eclipse/osgi/service/pluginconversion/*;+org/eclipse/osgi/service/resolver/*;+org/eclipse/osgi/service/runnable/*;+org/eclipse/osgi/service/security/*;+org/eclipse/osgi/service/urlconversion/*;+org/eclipse/osgi/signedcontent/*;+org/eclipse/osgi/storagemanager/*;+org/eclipse/osgi/util/*;+org/eclipse/equinox/log/*;+org/osgi/framework/*;+org/osgi/framework/launch/*;+org/osgi/framework/hooks/bundle/*;+org/osgi/framework/hooks/resolver/*;+org/osgi/framework/hooks/service/*;+org/osgi/framework/hooks/weaving/*;+org/osgi/framework/startlevel/*;+org/osgi/framework/wiring/*;+org/osgi/service/condpermadmin/*;~org/osgi/service/framework/*;+org/osgi/service/log/*;+org/osgi/service/packageadmin/*;+org/osgi/service/permissionadmin/*;+org/osgi/service/startlevel/*;+org/osgi/service/url/*;+org/osgi/util/tracker/*;~org/eclipse/core/runtime/adaptor/*;~org/eclipse/core/runtime/internal/adaptor/*;~org/eclipse/core/runtime/internal/stats/*;~org/eclipse/osgi/baseadaptor/*;~org/eclipse/osgi/baseadaptor/bundlefile/*;~org/eclipse/osgi/baseadaptor/hooks/*;~org/eclipse/osgi/baseadaptor/loader/*;~org/eclipse/osgi/framework/adaptor/*;~org/eclipse/osgi/framework/debug/*;~org/eclipse/osgi/framework/internal/core/*;~org/eclipse/osgi/framework/internal/protocol/*;~org/eclipse/osgi/framework/internal/protocol/bundleentry/*;~org/eclipse/osgi/framework/internal/protocol/bundleresource/*;~org/eclipse/osgi/framework/internal/protocol/reference/*;~org/eclipse/osgi/framework/internal/reliablefile/*;~org/eclipse/osgi/framework/util/*;~org/eclipse/osgi/internal/baseadaptor/*;~org/eclipse/osgi/internal/composite/*;~org/eclipse/osgi/internal/loader/*;~org/eclipse/osgi/internal/loader/buddy/*;~org/eclipse/osgi/internal/module/*;~org/eclipse/osgi/internal/profile/*;~org/eclipse/osgi/internal/resolver/*;~org/eclipse/osgi/internal/serviceregistry/*;~org/eclipse/osgi/internal/permadmin/*;~org/eclipse/osgi/internal/provisional/service/security/*;~org/eclipse/osgi/internal/provisional/verifier/*;~org/eclipse/osgi/internal/service/security/*;~org/eclipse/osgi/internal/signedcontent/*;~org/eclipse/osgi/service/internal/composite/*;~org/eclipse/equinox/log/internal/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.equinox.common\3.6.0.v20110523\org.eclipse.equinox.common-3.6.0.v20110523.jar[~org/eclipse/core/internal/boot/*;~org/eclipse/core/internal/runtime/*;+org/eclipse/core/runtime/*;+org/eclipse/equinox/events/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.core.jobs\3.5.100.v20110404\org.eclipse.core.jobs-3.5.100.v20110404.jar[~org/eclipse/core/internal/jobs/*;+org/eclipse/core/runtime/jobs/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.equinox.registry\3.5.101.R37x_v20110810-1611\org.eclipse.equinox.registry-3.5.101.R37x_v20110810-1611.jar[~org/eclipse/core/internal/adapter/*;~org/eclipse/core/internal/registry/*;~org/eclipse/core/internal/registry/osgi/*;~org/eclipse/core/internal/registry/spi/*;+org/eclipse/core/runtime/*;+org/eclipse/core/runtime/dynamichelpers/*;+org/eclipse/core/runtime/spi/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.equinox.preferences\3.4.1.R37x_v20110725\org.eclipse.equinox.preferences-3.4.1.R37x_v20110725.jar[~org/eclipse/core/internal/preferences/*;~org/eclipse/core/internal/preferences/exchange/*;+org/eclipse/core/runtime/preferences/*;+org/osgi/service/prefs/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.core.contenttype\3.4.100.v20110423-0524\org.eclipse.core.contenttype-3.4.100.v20110423-0524.jar[~org/eclipse/core/internal/content/*;+org/eclipse/core/runtime/content/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.core.runtime.compatibility.auth\3.2.200.v20110110\org.eclipse.core.runtime.compatibility.auth-3.2.200.v20110110.jar[?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.equinox.app\1.3.100.v20110321\org.eclipse.equinox.app-1.3.100.v20110321.jar[+org/eclipse/equinox/app/*;~org/eclipse/equinox/internal/app/*;+org/osgi/service/application/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.eclipse.core.expressions\3.4.300.v20110228\org.eclipse.core.expressions-3.4.300.v20110228.jar[+org/eclipse/core/expressions/*;~org/eclipse/core/internal/expressions/*;~org/eclipse/core/internal/expressions/propertytester/*;~org/eclipse/core/internal/expressions/util/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\com.foobar.commons.qtcommons\5.1.1.SNAPSHOT\com.foobar.commons.qtcommons-5.1.1.SNAPSHOT.jar[+com/foobar/commons/query/*;+com/foobar/commons/i18n/*;+com/foobar/commons/math/*;+com/foobar/commons/swing/action/*;+com/foobar/commons/swing/renderer/*;+com/foobar/commons/qtd/binding/*;+com/foobar/commons/qtd/*;+com/foobar/commons/sort/*;+com/foobar/commons/swing/dialog/*;+com/foobar/commons/*;+com/foobar/commons/exception/*;+com/foobar/commons/primitives/*;+com/foobar/commons/swing/editor/*;+com/foobar/commons/sql/*;+com/foobar/commons/print/*;+com/foobar/commons/xml/*;+com/foobar/commons/text/*;+com/foobar/commons/swing/*;+com/foobar/commons/param/*;+com/foobar/commons/csv/*;+com/foobar/commons/swing/ribbon/*;+com/foobar/commons/persistence/*;+com/foobar/commons/security/*;+com/foobar/commons/cryptography/*;+com/foobar/commons/barcode/*;+com/foobar/commons/reflect/*;+com/foobar/commons/io/*;+com/foobar/commons/swing/input/*;+com/foobar/commons/swing/model/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.apache.commons.beanutils\1.8.3\org.apache.commons.beanutils-1.8.3.jar[+org/apache/commons/beanutils/locale/converters/*;+org/apache/commons/beanutils/*;+org/apache/commons/beanutils/converters/*;+org/apache/commons/beanutils/expression/*;+org/apache/commons/beanutils/locale/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.apache.commons.codec\1.6.0\org.apache.commons.codec-1.6.0.jar[+org/apache/commons/codec/*;+org/apache/commons/codec/net/*;+org/apache/commons/codec/language/bm/*;+org/apache/commons/codec/language/*;+org/apache/commons/codec/digest/*;+org/apache/commons/codec/binary/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.apache.commons.collections\3.2.1\org.apache.commons.collections-3.2.1.jar[+org/apache/commons/collections/map/*;+org/apache/commons/collections/buffer/*;+org/apache/commons/collections/comparators/*;+org/apache/commons/collections/collection/*;+org/apache/commons/collections/bag/*;+org/apache/commons/collections/iterators/*;+org/apache/commons/collections/bidimap/*;+org/apache/commons/collections/set/*;+org/apache/commons/collections/functors/*;+org/apache/commons/collections/list/*;+org/apache/commons/collections/keyvalue/*;+org/apache/commons/collections/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.apache.commons.io\2.1.0\org.apache.commons.io-2.1.0.jar[+org/apache/commons/io/output/*;+org/apache/commons/io/monitor/*;+org/apache/commons/io/filefilter/*;+org/apache/commons/io/comparator/*;+org/apache/commons/io/input/*;+org/apache/commons/io/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.apache.commons.lang3\3.1.0\org.apache.commons.lang3-3.1.0.jar[+org/apache/commons/lang3/event/*;+org/apache/commons/lang3/mutable/*;+org/apache/commons/lang3/tuple/*;+org/apache/commons/lang3/time/*;+org/apache/commons/lang3/concurrent/*;+org/apache/commons/lang3/text/translate/*;+org/apache/commons/lang3/text/*;+org/apache/commons/lang3/math/*;+org/apache/commons/lang3/*;+org/apache/commons/lang3/exception/*;+org/apache/commons/lang3/reflect/*;+org/apache/commons/lang3/builder/*;?**/*]
[DEBUG]  C:\Users\mirkos\.m2\repository\p2\osgi\bundle\org.apache.commons.math\2.2.0\org.apache.commons.math-2.2.0.jar[+org/apache/commons/math/analysis/interpolation/*;+org/apache/commons/math/dfp/*;+org/apache/commons/math/special/*;+org/apache/commons/math/util/*;+org/apache/commons/math/analysis/*;+org/apache/commons/math/stat/descriptive/*;+org/apache/commons/math/stat/regression/*;+org/apache/commons/math/stat/correlation/*;+org/apache/commons/math/stat/clustering/*;+org/apache/commons/math/ode/jacobians/*;+org/apache/commons/math/stat/ranking/*;+org/apache/commons/math/*;+org/apache/commons/math/ode/sampling/*;+org/apache/commons/math/genetics/*;+org/apache/commons/math/analysis/polynomials/*;+org/apache/commons/math/exception/util/*;+org/apache/commons/math/optimization/linear/*;+org/apache/commons/math/ode/nonstiff/*;+org/apache/commons/math/optimization/univariate/*;+org/apache/commons/math/optimization/direct/*;+org/apache/commons/math/optimization/general/*;+org/apache/commons/math/stat/*;+org/apache/commons/math/distribution/*;+org/apache/commons/math/ode/events/*;+org/apache/commons/math/stat/descriptive/summary/*;+org/apache/commons/math/geometry/*;+org/apache/commons/math/linear/*;+org/apache/commons/math/estimation/*;+org/apache/commons/math/analysis/integration/*;+org/apache/commons/math/stat/descriptive/rank/*;+org/apache/commons/math/random/*;+org/apache/commons/math/fraction/*;+org/apache/commons/math/complex/*;+org/apache/commons/math/transform/*;+org/apache/commons/math/stat/inference/*;+org/apache/commons/math/optimization/fitting/*;+org/apache/commons/math/exception/*;+org/apache/commons/math/optimization/*;+org/apache/commons/math/ode/*;+org/apache/commons/math/stat/descriptive/moment/*;+org/apache/commons/math/analysis/solvers/*;?**/*]
[DEBUG] Source roots:
[DEBUG]  C:\Users\mirkos\workspaces\commonsPluginTycho\Commons Plug-in RCP Fragment\src
[DEBUG]  C:\Users\mirkos\workspaces\commonsPluginTycho\Commons Plug-in RCP Fragment\test
[INFO] Compiling 16 source files to C:\Users\mirkos\workspaces\commonsPluginTycho\Commons Plug-in RCP Fragment\target\patch.jar-classes
[DEBUG] Using boot classpath: [Classpath for jar file C:\Program Files\Java\jdk1.7.0_02\jre\lib\resources.jar, Classpath for jar file C:\Program Files\Java\jdk1.7.0_02\jre\lib\rt.jar, Classpath for jar file C:\Program Files\Java\jdk1.7.0_02\jre\lib\sunrsasign.jar, Classpath for jar file C:\Program Files\Java\jdk1.7.0_02\jre\lib\jsse.jar, Classpath for jar file C:\Program Files\Java\jdk1.7.0_02\jre\lib\jce.jar, Classpath for jar file C:\Program Files\Java\jdk1.7.0_02\jre\lib\charsets.jar]
[DEBUG] Original compiler output: ----------
1. ERROR in C:\Users\mirkos\workspaces\commonsPluginTycho\Commons Plug-in RCP Fragment\src\com\foobar\rcp\util\ImageCacheImpl.java (at line 1)
	package com.foobar.rcp.util;
	^
The type org.eclipse.jface.resource.ImageDescriptor cannot be resolved. It is indirectly referenced from required .class files
----------
2. ERROR in C:\Users\mirkos\workspaces\commonsPluginTycho\Commons Plug-in RCP Fragment\src\com\foobar\rcp\util\ImageCacheImpl.java (at line 1)
	package com.foobar.rcp.util;
	^
The type org.eclipse.swt.graphics.Image cannot be resolved. It is indirectly referenced from required .class files
----------
3. ERROR in C:\Users\mirkos\workspaces\commonsPluginTycho\Commons Plug-in RCP Fragment\src\com\foobar\rcp\util\ImageCacheImpl.java (at line 5)
	import org.eclipse.jface.resource.ImageDescriptor;
	       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.jface.resource.ImageDescriptor cannot be resolved
----------

Back to the top