2015-09-10 2 views
1

Я пытаюсь создать приложение Eclipse E4 RCP с использованием Maven и Tycho для нескольких платформ.Eclipse Tycho build не работает после обновления от tycho 0.22.0 до 0.23.0. Неудовлетворительные зависимости после предупреждений зеркального инструмента

Моих сборок POMS работает прекрасно в Tycho версии 0.22.0, но я хотел бы перейти на Tycho 0.23.0, так как я повышен до Затмения Марса недавно

После версии Tycho обновления я начал получать следующие ошибки и предложение на веб-сайте - подать отчет об ошибке.

Любая помощь будет очень признательна.

Вот выдержка из консоли после появления предупреждений.

Благодаря Дорос

[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolinggtk.linux.x86org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.; Unable to satisfy dependency from toolinggtk.linux.x86org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.] 
[WARNING] More information on the preceding warning(s) can be found here: 
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool 
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolinggtk.linux.x86_64org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.; Unable to satisfy dependency from toolinggtk.linux.x86_64org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.] 
[WARNING] More information on the preceding warning(s) can be found here: 
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool 
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolingwin32.win32.x86org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.; Unable to satisfy dependency from toolingwin32.win32.x86org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.] 
[WARNING] More information on the preceding warning(s) can be found here: 
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool 
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolingwin32.win32.x86_64org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.; Unable to satisfy dependency from toolingwin32.win32.x86_64org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.] 
[WARNING] More information on the preceding warning(s) can be found here: 
[WARNING] - http://wiki.eclipse.org/Tycho_Messages_Explained#Mirror_tool 
[WARNING] Mirror tool: Problems resolving provisioning plan.: [Unable to satisfy dependency from toolingcocoa.macosx.x86_64org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.; Unable to satisfy dependency from toolingcocoa.macosx.x86_64org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 to bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455.] 
[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.0:archive-repository (default-archive-repository) @ com.mycompany.mysoftware.product --- 
[INFO] Building zip: C:\workspaces\mars.e4\com.mycompany.mysoftware.product\target\com.mycompany.mysoftware.product-0.0.1-SNAPSHOT.zip 
[INFO] 
[INFO] --- tycho-p2-director-plugin:0.23.0:materialize-products (materialize-products) @ com.mycompany.mysoftware.product --- 
[INFO] Installing product mysoftware product for environment linux/gtk/x86 to C:\workspaces\mars.e4\com.mycompany.mysoftware.product\target\products\mysoftware product\linux\gtk\x86 
Installing mysoftware product 0.0.1.201509101622. 
Installation failed. 
Cannot complete the install because one or more required items could not be found. 
Software being installed: mysoftware 0.0.1.201509101622 (mysoftware product 0.0.1.201509101622) 
Missing requirement: toolinggtk.linux.x86org.eclipse.equinox.p2.reconciler.dropins 0.0.1.201509101622 requires 'bundle org.eclipse.equinox.p2.reconciler.dropins 1.1.300.v20150423-1455' but it could not be found 
Cannot satisfy dependency: 
    From: mysoftware 0.0.1.201509101622 (mysoftware product 0.0.1.201509101622) 
    To: toolingmysoftware product.configuration [0.0.1.201509101622] 
Cannot satisfy dependency: 
    From: toolingmysoftware product.configuration 0.0.1.201509101622 
    To: toolinggtk.linux.x86org.eclipse.equinox.p2.reconciler.dropins [0.0.1.201509101622] 
Application failed, log file location: C:\workspaces\mars.e4\com.mycompany.mysoftware.aggregator\workspace\.metadata\.log 
[INFO] ------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] com.mycompany.mysoftware.targetdefinition SUCCESS [ 0.320 s] 
[INFO] com.mycompany.shared.libs ............... SUCCESS [ 1.541 s] 
[INFO] com.mycompany.mylibs .................... SUCCESS [ 1.428 s] 
[INFO] com.mycompany.mylibs.somelib ............ SUCCESS [ 1.359 s] 
[INFO] com.mycompany.model ..................... SUCCESS [ 1.172 s] 
[INFO] com.mycompany.mysoftware ................ SUCCESS [ 2.938 s] 
[INFO] com.mycompany.model.prod ................ SUCCESS [ 0.281 s] 
[INFO] com.mycompany.model.service ............. SUCCESS [ 0.344 s] 
[INFO] com.mycompany.mysoftware.platspec.win32 . SUCCESS [ 0.303 s] 
[INFO] com.mycompany.mysoftware.platspec.win64 . SUCCESS [ 0.342 s] 
[INFO] com.mycompany.mysoftware.feature ........ SUCCESS [ 0.274 s] 
[INFO] com.mycompany.mylibs.somelib.win32 ...... SUCCESS [ 0.312 s] 
[INFO] com.mycompany.mylibs.somelib.win64 ...... SUCCESS [ 0.326 s] 
[INFO] com.mycompany.mylibs.somelib.feature .... SUCCESS [ 0.130 s] 
[INFO] com.mycompany.mylibs.feature ............ SUCCESS [ 0.079 s] 
[INFO] com.mycompany.mysoftware.product ........ FAILURE [ 7.461 s] 
[INFO] com.mycompany.mysoftware.aggregator ..... SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 39.003 s 
[INFO] Finished at: 2015-09-10T19:22:46+03:00 
[INFO] Final Memory: 81M/848M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:0.23.0:materialize-products (materialize-products) on project com.mycompany.mysoftware.product: Installation of product mysoftware product for environment linux/gtk/x86 failed: Call to p2 director application failed with exit code 13. Program arguments were: [-metadataRepository, file:/C:/workspaces/mars.e4/com.mycompany.mysoftware.product/target/,file:/C:/workspaces/mars.e4/com.mycompany.mysoftware.product/target/targetPlatformRepository/, -artifactRepository, file:/C:/workspaces/mars.e4/com.mycompany.mysoftware.product/target/,file:/[email protected]:%5Cworkspaces%5Cmars.e4%5Ccom.mycompany.mysoftware.product,file:/C:/workspaces/mars.e4/com.mycompany.mysoftware.product/target/,file:/C:/workspaces/mars.e4/com.mycompany.mysoftware.feature/target/,file:/C:/workspaces/mars.e4/com.mycompany.mylibs.somelib.feature/target/,file:/C:/workspaces/mars.e4/com.mycompany.mylibs.feature/target/,file:/C:/workspaces/mars.e4/com.mycompany.model/target/,file:/C:/workspaces/mars.e4/com.mycompany.shared.libs/target/,file:/C:/workspaces/mars.e4/com.mycompany.mylibs/target/,file:/C:/workspaces/mars.e4/com.mycompany.mylibs.somelib/target/,file:/C:/workspaces/mars.e4/com.mycompany.model.prod/target/,file:/C:/workspaces/mars.e4/com.mycompany.model.service/target/,file:/C:/workspaces/mars.e4/com.mycompany.mysoftware/target/,file:/C:/workspaces/mars.e4/com.mycompany.mysoftware.platspec.win32/target/,file:/C:/workspaces/mars.e4/com.mycompany.mylibs.somelib.win32/target/,file:/C:/workspaces/mars.e4/com.mycompany.mysoftware.platspec.win64/target/,file:/C:/workspaces/mars.e4/com.mycompany.mylibs.somelib.win64/target/,file:/C:/Users/myname/.m2/repository/, -installIU, mysoftware product, -destination, C:\workspaces\mars.e4\com.mycompany.mysoftware.product\target\products\mysoftware product\linux\gtk\x86, -profile, DefaultProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -p2.ws, gtk, -p2.arch, x86]. -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command 
[ERROR] mvn <goals> -rf :com.mycompany.mysoftware.product 

ответ

0

Файл об ошибке здесь: https://bugs.eclipse.org/bugs и понижение до 0.22.0

Вы не обязаны идти в 0.23.0, потому что вы перешли на выпуск Марс.

+1

Я согласен, что я не должен двигаться в 0.23.0 так сейчас я нахожусь на 0.22.0. Я хотел бы, однако, понять, в чем проблема, потому что скоро мне захочется построить версию Mac OS X с новой структурой .app, которую я вполне уверен, требует Eclipse Mars с Tycho 0.23.0 – DorAga

1

Мне удалось заставить сборку работать правильно, добавив следующую функцию на вкладку зависимостей моего продукта.

org.eclipse.equinox.p2.extras.feature 

Я также поднял отчет об ошибке на затмение bugtracker

Смежные вопросы