[
https://issues.jboss.org/browse/JBIDE-18965?page=com.atlassian.jira.plugi...
]
Nick Boldt edited comment on JBIDE-18965 at 1/31/15 8:51 PM:
-------------------------------------------------------------
Reopen because can't build JBDS w/ 0.22.
----
I've discovered that if I set JBDS to use Tycho 0.21 and repo-utils 0.21, and disable
the create-full-site step, it works great.
https://github.com/jbdevstudio/jbdevstudio-product/commit/8c83f9a8575509d...
{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/devstudio.product_master/2736/parameters/}
-DtychoVersion=0.21.0 -DjbossTychoPluginsVersion=0.21.0{code}
----
But the combination of Tycho 0.22 and repo-utils 0.22.1-SNAPSHOT results in a broken
build.
{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/devstudio.product_master/2732/console}
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.22.0:publish-products
(default-publish-products) on project installer:
Execution default-publish-products of goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.22.0:publish-products failed:
org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at
file:/qa/hudson_workspace/workspace/devstudio.product_master/sources/product/installer/target/.
No repository found at
file:/qa/hudson_workspace/workspace/devstudio.product_master/sources/product/installer/target/jbds/.{code}
----
And building with `-DtychoVersion=0.22.0 -DjbossTychoPluginsVersion=0.21.0` results in:
{code}
[ERROR] Failed to execute goal
org.jboss.tools.tycho-plugins:repository-utils:0.21.0:generate-repository-facade
(generate-facade)
on project product: Execution generate-facade of goal
org.jboss.tools.tycho-plugins:repository-utils:0.21.0:generate-repository-facade failed:
A required class was missing while executing
org.jboss.tools.tycho-plugins:repository-utils:0.21.0:generate-repository-facade:
org/eclipse/tycho/core/facade/BuildProperties
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.jboss.tools.tycho-plugins:repository-utils:0.21.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/home/nboldt/.m2/repository/org/jboss/tools/tycho-plugins/repository-utils/0.21.0/repository-utils-0.21.0.jar
[ERROR] urls[1] =
file:/home/nboldt/.m2/repository/org/eclipse/tycho/tycho-packaging-plugin/0.21.0/tycho-packaging-plugin-0.21.0.jar
[ERROR] urls[2] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.7/plexus-utils-3.0.7.jar
[ERROR] urls[3] =
file:/home/nboldt/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
[ERROR] urls[4] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-archiver/2.2/plexus-archiver-2.2.jar
[ERROR] urls[5] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.jar
[ERROR] urls[6] =
file:/home/nboldt/.m2/repository/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.0.v20140403-1907/org.eclipse.osgi.compatibility.state-1.0.0.v20140403-1907.jar
[ERROR] urls[7] = file:/home/nboldt/.m2/repository/net/sf/saxon/saxon/8.7/saxon-8.7.jar
[ERROR] urls[8] =
file:/home/nboldt/.m2/repository/net/sf/saxon/saxon-dom/8.7/saxon-dom-8.7.jar
[ERROR] urls[9] =
file:/home/nboldt/.m2/repository/com/googlecode/maven-download-plugin/download-maven-plugin/1.2.0/download-maven-plugin-1.2.0.jar
[ERROR] urls[10] = file:/home/nboldt/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[11] =
file:/home/nboldt/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
[ERROR] urls[12] =
file:/home/nboldt/.m2/repository/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.jar
[ERROR] urls[13] =
file:/home/nboldt/.m2/repository/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.jar
[ERROR] urls[14] =
file:/home/nboldt/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[ERROR] urls[15] =
file:/home/nboldt/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
[ERROR] urls[16] =
file:/home/nboldt/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[17] =
file:/home/nboldt/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[18] =
file:/home/nboldt/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
[ERROR] urls[19] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[20] =
file:/home/nboldt/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[21] =
file:/home/nboldt/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[22] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm
ClassRealm[project>com.jboss.devstudio:product:9.0.0-SNAPSHOT, parent:
ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------:
org.eclipse.tycho.core.facade.BuildProperties
{code}
was (Author: nickboldt):
Reopen because can't build JBDS w/ 0.22.
----
I've discovered that if I set JBDS to use Tycho 0.21 and repo-utils 0.21, and disable
the create-full-site step, it works great.
https://github.com/jbdevstudio/jbdevstudio-product/commit/8c83f9a8575509d...
{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/devstudio.product_master/2736/parameters/}
-DtychoVersion=0.21.0 -DjbossTychoPluginsVersion=0.21.0{code}
----
But the combination of Tycho 0.22 and repo-utils 0.22.1-SNAPSHOT results in a broken
build.
{code:title=https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_Master/job/devstudio.product_master/2732/console}
[ERROR] Failed to execute goal
org.eclipse.tycho:tycho-p2-publisher-plugin:0.22.0:publish-products
(default-publish-products) on project installer: Execution default-publish-products of
goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.22.0:publish-products failed:
org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at
file:/qa/hudson_workspace/workspace/devstudio.product_master/sources/product/installer/target/.
No repository found at
file:/qa/hudson_workspace/workspace/devstudio.product_master/sources/product/installer/target/jbds/.
-> [Help 1]{code}
----
And building with `-DtychoVersion=0.22.0 -DjbossTychoPluginsVersion=0.21.0` results in:
{code}
[ERROR] Failed to execute goal
org.jboss.tools.tycho-plugins:repository-utils:0.21.0:generate-repository-facade
(generate-facade) on project product: Execution generate-facade of goal
org.jboss.tools.tycho-plugins:repository-utils:0.21.0:generate-repository-facade failed: A
required class was missing while executing
org.jboss.tools.tycho-plugins:repository-utils:0.21.0:generate-repository-facade:
org/eclipse/tycho/core/facade/BuildProperties
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.jboss.tools.tycho-plugins:repository-utils:0.21.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/home/nboldt/.m2/repository/org/jboss/tools/tycho-plugins/repository-utils/0.21.0/repository-utils-0.21.0.jar
[ERROR] urls[1] =
file:/home/nboldt/.m2/repository/org/eclipse/tycho/tycho-packaging-plugin/0.21.0/tycho-packaging-plugin-0.21.0.jar
[ERROR] urls[2] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.7/plexus-utils-3.0.7.jar
[ERROR] urls[3] =
file:/home/nboldt/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
[ERROR] urls[4] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-archiver/2.2/plexus-archiver-2.2.jar
[ERROR] urls[5] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.jar
[ERROR] urls[6] =
file:/home/nboldt/.m2/repository/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.0.v20140403-1907/org.eclipse.osgi.compatibility.state-1.0.0.v20140403-1907.jar
[ERROR] urls[7] = file:/home/nboldt/.m2/repository/net/sf/saxon/saxon/8.7/saxon-8.7.jar
[ERROR] urls[8] =
file:/home/nboldt/.m2/repository/net/sf/saxon/saxon-dom/8.7/saxon-dom-8.7.jar
[ERROR] urls[9] =
file:/home/nboldt/.m2/repository/com/googlecode/maven-download-plugin/download-maven-plugin/1.2.0/download-maven-plugin-1.2.0.jar
[ERROR] urls[10] = file:/home/nboldt/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[11] =
file:/home/nboldt/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
[ERROR] urls[12] =
file:/home/nboldt/.m2/repository/org/apache/httpcomponents/httpclient/4.0-beta2/httpclient-4.0-beta2.jar
[ERROR] urls[13] =
file:/home/nboldt/.m2/repository/org/apache/httpcomponents/httpcore/4.0-beta3/httpcore-4.0-beta3.jar
[ERROR] urls[14] =
file:/home/nboldt/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
[ERROR] urls[15] =
file:/home/nboldt/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
[ERROR] urls[16] =
file:/home/nboldt/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[17] =
file:/home/nboldt/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[18] =
file:/home/nboldt/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
[ERROR] urls[19] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[20] =
file:/home/nboldt/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[21] =
file:/home/nboldt/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[22] =
file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm
ClassRealm[project>com.jboss.devstudio:product:9.0.0-SNAPSHOT, parent:
ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------:
org.eclipse.tycho.core.facade.BuildProperties
{code}
use Tycho 0.22 to build JBT 4.3/JBDS 9
--------------------------------------
Key: JBIDE-18965
URL:
https://issues.jboss.org/browse/JBIDE-18965
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: build
Affects Versions: 4.2.1.Final
Reporter: Nick Boldt
Assignee: Mickael Istria
Fix For: 4.3.0.Alpha1
Tycho 0.22 is out; we should use it to build JBT 4.3/JBDS 9, and see what new fun goodies
we can take advantage of, too.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)