On 1/31/13 2:55 AM, "Oberlies, Tobias" wrote:
Thanks, including the snapshots repository worked. Now, however, I'm getting strange resolution errors when trying to build the features that we use to iclude Babel bundles. Tycho is complaining that it can't resolve dependencies to org.eclipse.* host bundles that are definitely in the target platform (see build output excerpt below). The only build failures being reported are on these nl features, none of our actual code plugins or features.
It's almost like the nl features are not inheriting the target platform from the patent pom, but I've double-checked to make sure they declare it properly. Since the bug fix was in the area of the compile classpath, I wonder if something is amiss with the bug fix…
Any ideas or pointers are welcomed. Eric
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: com.emc.xcp.eclipse.infrastructure.nl.feature.feature.group 1.0.0.qualifier
[ERROR] Missing requirement: org.eclipse.compare.core.nl_de 4.2.0.v20121120043402 requires 'bundle org.eclipse.compare.core 0.0.0' but it could not be found
[org.eclipse.compare.core is definitely in the target platform, similarly so are the bundles that can't be resolved below.]
[ERROR] Cannot satisfy dependency: com.emc.xcp.eclipse.infrastructure.nl.feature.feature.group 1.0.0.qualifier depends on: com.emc.xcp.eclipse.infrastructure.nl_de.feature.feature.group 0.0.0
[ERROR] Cannot satisfy dependency: com.emc.xcp.eclipse.infrastructure.nl_de.feature.feature.group 1.0.0.qualifier depends on: org.eclipse.compare.core.nl_de 0.0.0
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from org.eclipse.compare.core.nl_de 4.2.0.v20121120043402 to bundle org.eclipse.compare.core 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.core.nl_es 4.2.0.v20121120043402 to bundle org.eclipse.compare.core 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.core.nl_fr 4.2.0.v20121120043402 to bundle org.eclipse.compare.core 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.core.nl_it 4.2.0.v20121120043402 to bundle org.eclipse.compare.core 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.core.nl_ja 4.2.0.v20121120043402 to bundle org.eclipse.compare.core 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.core.nl_zh 4.2.0.v20121120043402 to bundle org.eclipse.compare.core 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.nl_de 4.2.0.v20121120043402 to bundle org.eclipse.compare 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.nl_es 4.2.0.v20121120043402 to bundle org.eclipse.compare 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.nl_fr 4.2.0.v20121120043402 to bundle org.eclipse.compare 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.nl_it 4.2.0.v20121120043402 to bundle org.eclipse.compare 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.nl_ja 4.2.0.v20121120043402 to bundle org.eclipse.compare 0.0.0.", "Unable to satisfy dependency from org.eclipse.compare.nl_zh 4.2.0.v20121120043402 to bundle org.eclipse.compare 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.boot.nl_de 4.2.0.v20121120043402 to bundle org.eclipse.core.boot 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.boot.nl_es 4.2.0.v20121120043402 to bundle org.eclipse.core.boot 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.boot.nl_fr 4.2.0.v20121120043402 to bundle org.eclipse.core.boot 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.boot.nl_it 4.2.0.v20121120043402 to bundle org.eclipse.core.boot 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.boot.nl_ja 4.2.0.v20121120043402 to bundle org.eclipse.core.boot 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.boot.nl_zh 4.2.0.v20121120043402 to bundle org.eclipse.core.boot 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.commands.nl_de 4.2.0.v20121120043402 to bundle org.eclipse.core.commands 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.commands.nl_es 4.2.0.v20121120043402 to bundle org.eclipse.core.commands 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.commands.nl_fr 4.2.0.v20121120043402 to bundle org.eclipse.core.commands 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.commands.nl_it 4.2.0.v20121120043402 to bundle org.eclipse.core.commands 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.commands.nl_ja 4.2.0.v20121120043402 to bundle org.eclipse.core.commands 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.commands.nl_zh 4.2.0.v20121120043402 to bundle org.eclipse.core.commands 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.contenttype.nl_de 4.2.0.v20121120043402 to bundle org.eclipse.core.contenttype 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.contenttype.nl_es 4.2.0.v20121120043402 to bundle org.eclipse.core.contenttype 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.contenttype.nl_fr 4.2.0.v20121120043402 to bundle org.eclipse.core.contenttype 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.contenttype.nl_it 4.2.0.v20121120043402 to bundle org.eclipse.core.contenttype 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.contenttype.nl_ja 4.2.0.v20121120043402 to bundle org.eclipse.core.contenttype 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.contenttype.nl_zh 4.2.0.v20121120043402 to bundle org.eclipse.core.contenttype 0.0.0.", "Unable to satisfy dependency from org.eclipse.core.databinding.beans.nl_de 4.2.0.v20121120043402 to bundle org.eclipse.core.databinding.beans 0.0.0.", "Unable to satisfy dependency from
[and LOTS more like this…]
So I noticed that the tycho bug was marked FIXED today (and there was much celebration). When will it be in a build? Just for fun I tried updating my pom to specify
0.17.0-SNAPSHOT but that doesn't seem to resolve: [ERROR] Unresolveable build extension: Plugin org.eclipse.tycho:tycho-maven-plugin:0.17.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.eclipse.tycho:tycho-maven-plugin:jar:0.17.0-SNAPSHOT -> [Help 2] So my first question is how can I consume 0.17 snapshot builds (or, are they even available)? Follow-up question is, is this fix in the build yet? Thanks for forgiving my relative Tycho/Maven ignorance, On 1/23/13 12:45 PM, "Jeff MAURY" wrote: The best way is to download the version from Eclipse Gerrit, do a Mvn install or deploy and use 0.17.0-SNAPSHOT in your poms. Regards Jeff MAURY On Wed, Jan 23, 2013 at 4:35 PM, Rizzo, Eric <Eric.Rizzo@xxxxxxx> wrote: Great, at least it's comforting to know I don't have something strangely wrong in my poms or plugin manifests. Until the patch is accepted and available (in 0.17, presumably), is there any workaround? Forgive my ignorance, but if there is no workaround how can I apply
the patch locally? I'm somewhat Maven-ignorant so I don't know how to use a patch since it seems that Tycho plugins are being downloaded from Maven's central repo, no? On 1/23/13 3:36 AM, "Jeff MAURY" wrote: On Tue, Jan 22, 2013 at 11:17 PM, Rizzo, Eric <Eric.Rizzo@xxxxxxx> wrote: I'm building a product based on Eclipse 3.8. The product compiles fine in Eclipse IDEs and with our newly-constructed Tycho build. However, when I add the Babel
repository () to our target platform, Tycho complains with strange compilation errors realting to not finding SWT classes. The exact same target platform applied in Eclipse 3.8 or 3.7 SDK workspaces (ie, in the IDE) produces no compilation errors. Here is some of what Tycho spits out: [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.16.0:compile (default-compile) on project com.emc.xcp.common.ui: Compilation failure:
Compilation failure: [ERROR] F:\P4_Int\depot\Platform\XCPBuilder\Int\int_XCPBLD_2.0\staging\app\bundles\com.emc.xcp.common.ui\src\com\emc\xcp\common\ui\function\FunctionPalette.java:[0,0] [ERROR] package com.emc.xcp.common.ui.function; [ERROR] The type org.eclipse.swt.events.KeyEvent cannot be resolved. It is indirectly referenced from required .class files [ERROR] F:\P4_Int\depot\Platform\XCPBuilder\Int\int_XCPBLD_2.0\staging\app\bundles\com.emc.xcp.common.ui\src\com\emc\xcp\common\ui\function\FunctionPalette.java:[20,0] [ERROR] public class FunctionPalette extends AbstractTreePalette { [ERROR] The hierarchy of the type FunctionPalette is inconsistent I have confirmed (twice) that simply removing the Babel bundles from the target platform restores the build to success, so I'm pretty confused about how including
Babel bundles could trigger compile errors referring to SWT. I'm not even referencing any of the Babel bundles from any features or plugins. Before you ask, no I haven't been able to construct a simple test project that demonstrates the problem. I'm not even sure if it's a Tycho problem or something
in PDE that ignores a real problem, or what. At this point I'm just (desperately) looking for ideas about where to look and what to try.
_______________________________________________
tycho-user mailing list tycho-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Jeff MAURY
Error! Filename not specified.
"Legacy code" often differs from its suggested alternative by actually working and scaling.
- Bjarne Stroustrup
http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury
_______________________________________________
tycho-user mailing list tycho-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Jeff MAURY

"Legacy code" often differs from its suggested alternative by actually working and scaling.
- Bjarne Stroustrup
http://www.jeffmaury.com http://riadiscuss.jeffmaury.com http://www.twitter.com/jeffmaury
|