Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Building an RCP product fails

Hi,

we are developing a RCP tool. Deploying a product works fine with the PDE
build. Now we want to switch to maven+tycho and followed the tutorial
available under [1].

Everything seems to work ok, just the “materialize-products” seems to fail
and we have no idea what to do.

Here is a part of the log:
...
[INFO]
------------------------------------------------------------------------
[INFO] Building ch.hilbri.assist.releng.product.gui 2.0.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
ch.hilbri.assist.releng.product.gui ---
[INFO] Deleting
C:\Git-Repositories\ASSIST\src\ch.hilbri.assist.releng.product.gui\target
[INFO]
[INFO] --- tycho-packaging-plugin:0.23.1:build-qualifier-aggregator
(default-build-qualifier-aggregator) @ ch.hilbri.assist.releng.product.gui
---
[INFO] The project's OSGi version is 2.0.0.201508210847
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean-1) @
ch.hilbri.assist.releng.product.gui ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
ch.hilbri.assist.releng.product.gui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\Git-Repositories\ASSIST\src\ch.hilbri.assist.releng.product.gui\src\main\
resources
[INFO]
[INFO] --- target-platform-configuration:0.23.1:target-platform
(default-target-platform) @ ch.hilbri.assist.releng.product.gui ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.23.1:publish-products
(default-publish-products) @ ch.hilbri.assist.releng.product.gui ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.23.1:publish-categories
(default-publish-categories) @ ch.hilbri.assist.releng.product.gui ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.23.1:attach-artifacts
(default-attach-artifacts) @ ch.hilbri.assist.releng.product.gui ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:0.23.1:assemble-repository
(default-assemble-repository) @ ch.hilbri.assist.releng.product.gui ---
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to
satisfy dependency from ch.hilbri.assist 2.0.0 to org.eclipse.jdt.core
[3.10.2.v_OTDT_r232_201502101148].]
[WARNING] More information on the preceding warning(s) can be found here:
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool
[INFO]
[INFO] --- tycho-p2-repository-plugin:0.23.1:archive-repository
(default-archive-repository) @ ch.hilbri.assist.releng.product.gui ---
[INFO] Building zip:
C:\Git-Repositories\ASSIST\src\ch.hilbri.assist.releng.product.gui\target\ch
.hilbri.assist.releng.product.gui-2.0.0-SNAPSHOT.zip
[INFO]
[INFO] --- tycho-p2-director-plugin:0.23.1:materialize-products
(materialize-products) @ ch.hilbri.assist.releng.product.gui ---
[INFO] Installing product ch.hilbri.assist for environment
win32/win32/x86_64 to
C:\Git-Repositories\ASSIST\src\ch.hilbri.assist.releng.product.gui\target\pr
oducts\ch.hilbri.assist\win32\win32\x86_64
Installing ch.hilbri.assist 2.0.0.
Installation failed.
Cannot complete the install because one or more required items could not be
found.
 Software being installed: ASSIST 2.0.0 (ch.hilbri.assist 2.0.0)
 Missing requirement: ASSIST 2.0.0 (ch.hilbri.assist 2.0.0) requires
'org.eclipse.jdt.core [3.10.2.v_OTDT_r232_201502101148]' but it could not be
found
Application failed, log file location:
C:\Git-Repositories\ASSIST\src\ch.hilbri.assist.releng\workspace\.metadata\.
log
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ch.hilbri.assist.libraries.logback ................. SUCCESS [  0.908
s]
[INFO] ch.hilbri.assist.libraries.math .................... SUCCESS [  0.301
s]
[INFO] ch.hilbri.assist.libraries.trove4j ................. SUCCESS [  0.333
s]
[INFO] ch.hilbri.assist.libraries.args4j .................. SUCCESS [  0.208
s]
[INFO] ch.hilbri.assist.libraries.automaton ............... SUCCESS [  0.225
s]
[INFO] ch.hilbri.assist.libraries.jgrapht ................. SUCCESS [  0.349
s]
[INFO] ch.hilbri.assist.libraries.choco ................... SUCCESS [  8.494
s]
[INFO] ch.hilbri.assist.libraries.javafx .................. SUCCESS [  1.550
s]
[INFO] ch.hilbri.assist.libraries.jxl ..................... SUCCESS [  0.203
s]
[INFO] ch.hilbri.assist.releng ............................ SUCCESS [  0.021
s]
[INFO] ch.hilbri.assist.datamodel.model ................... SUCCESS [  1.304
s]
[INFO] ch.hilbri.assist.datamodel.model.edit .............. SUCCESS [  0.676
s]
[INFO] ch.hilbri.assist.datamodel.model.editor ............ SUCCESS [  1.097
s]
[INFO] ch.hilbri.assist.datamodel.result.mapping .......... SUCCESS [  0.607
s]
[INFO] ch.hilbri.assist.mappingdsl ........................ SUCCESS [  1.235
s]
[INFO] ch.hilbri.assist.mappingdsl.ui ..................... SUCCESS [  1.614
s]
[INFO] ch.hilbri.assist.mappingdsl.tests .................. SUCCESS [  0.566
s]
[INFO] org.eclipse.ui.cheatsheets ......................... SUCCESS [  1.672
s]
[INFO] ch.hilbri.assist.application ....................... SUCCESS [  1.071
s]
[INFO] ch.hilbri.assist.mapping ........................... SUCCESS [  3.849
s]
[INFO] ch.hilbri.assist.mapping.tests ..................... SUCCESS [  1.431
s]
[INFO] ch.hilbri.assist.cli ............................... SUCCESS [  0.653
s]
[INFO] ch.hilbri.assist.releng.product.gui ................ FAILURE [ 15.652
s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------

Could you please provide some pointers what we should do next? We are still
at the beginning of learning about tycho and maven.

Thanks in advance and best regards,

Robert


[1]:
http://codeandme.blogspot.in/2012/12/tycho-build-1-building-plug-ins.html

——————————————————————————
German Aerospace Center
Institute of Transportation Systems | Rutherfordstraße 2 | 12489 Berlin |
Germany

Robert Hilbrich | Group Manager Simulation and Prognosis
Phone +49 (0)30 67055-582 | Fax +49 (0)30 67055-291 | Robert.Hilbrich@xxxxxx
www.DLR.de | Institut of Transportation Systems

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top