Hi,
Tycho milestone release 0.17.0 has been staged. For details of new
features and bugfixes, see release notes [1].
Please help by testing the staged milestone build.
testing with Eclipse Code Recommenders
<https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/>
encountered some
problems/incompatibilities:
First of all,
target-platform-configuration/configuration/executionEnvironmentDefault
had to be set to JavaSE-1.6. If that was not set, the following
[ERROR] Internal error: java.lang.RuntimeException: "No solution
found because the problem is unsatisfiable.": ["Unable to satisfy
dependency from com.sun.jersey.core 1.8.0.201302271349 to package
javax.activation 0.0.0.", "Unable to satisfy dependency from
com.sun.jersey.core 1.8.0.201302271349 to package javax.xml.bind
0.0.0.", "Unable to satisfy dependency from com.sun.jersey.core
1.8.0.201302271349 to package javax.xml.bind.annotation 0.0.0.",
"Unable to satisfy dependency from com.sun.jersey.core
1.8.0.201302271349 to package javax.xml.stream 0.0.0.", "No solution
found because the problem is unsatisfiable."] -> [Help 1]
java.lang.RuntimeException: "No solution found because the problem is
unsatisfiable.": ["Unable to satisfy dependency from
com.sun.jersey.core 1.8.0.201302271349 to package javax.activation
0.0.0.", "Unable to satisfy dependency from com.sun.jersey.core
1.8.0.201302271349 to package javax.xml.bind 0.0.0.", "Unable to
satisfy dependency from com.sun.jersey.core 1.8.0.201302271349 to
package javax.xml.bind.annotation 0.0.0.", "Unable to satisfy
dependency from com.sun.jersey.core 1.8.0.201302271349 to package
javax.xml.stream 0.0.0.", "No solution found because the problem is
unsatisfiable."]
While the release notes mention that the behavior w.r.t. to execution
environments has changed, I was nevertheless surprised by this, as the
com.sun.jersey.core bundle explicitly declares a
"Bundle-RequiredExecutionEnvironment: JavaSE-1.6" in its manifest.
Shouldn't this be enough?
That being said, setting executionEnvironmentDefault sufficed as a
workaround.
[ERROR] Failed to execute goal
org.eclipse.tycho.extras:tycho-source-feature-plugin:0.17.0:source-feature
(source-feature) on project
org.eclipse.recommenders.feature.3rd.orbit: Could not generate source
org.eclipse.recommenders.feature:org.eclipse.recommenders.feature.3rd.orbit:1.0.3-SNAPSHOT
[ERROR] Missing sources for plugins [com.google.gson_2.1.0.v201203072145, org.jboss.netty_3.2.5.Final-20130129-0421]
Source feature generation now fails the build if it cannot find the
sources of all plugins. Now, Orbit's com.google.gson does have a source
bundle
<http://download.eclipse.org/tools/orbit/downloads/drops/R20130118183705/>,
but how to tell Tycho where to find it?
Setting appropriate excludes, the build proceeds further. However, for
some strange reason it cannot find the source of
org.eclipse.recommenders.tests, although that is build in the same
reactor (and before the feature in question).
[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-source-feature-plugin:0.17.0:source-feature (source-feature) on project org.eclipse.recommenders.feature.3rd.rcp.nonjuno: Could not generate source feature for project MavenProject: org.eclipse.recommenders.feature:org.eclipse.recommenders.feature.3rd.rcp.nonjuno:1.0.3-SNAPSHOT
[ERROR] Missing sources for plugins [org.eclipse.recommenders.tests_1.0.3.v20130318-1255-b000]
This at least looks like a "real" bug to me.
Hope this helps.
Andreas
--
Codetrails.com - the knowledge transfer company