我正在尝试自动化eclipse RCP应用程序的构建。我决定使用maven及其tycho插件。然而,我遵循了教程,在那里我创建了一个插件、功能和产品。遵循本教程,
http://mattiasholmqvist.se/2010/03/building-with-tycho-part-2-rcp-applications/
看起来有点过时了。
然而,当我运行mvn安装时,我会得到:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.056s
[INFO] Finished at: Sat Aug 31 17:50:34 BST 2013
[INFO] Final Memory: 78M/411M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.18.1:product-export (default-product-export) on project com.hal
lahan.premierProduct: Product includes native launcher but no target environment was specified -> [Help 1]
[ERROR]
在产品中,如果我取消选中使用本机启动器,我会得到一个不同的问题:
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.18.1:product-export (default-product-export) on project com.hallahan.premierProduct : Execution default-product-export of goal org.eclipse.tycho:tycho-packaging-plugin:0.18.1:product-export failed: Could not resolve plugin org.eclipse.core.resources.win32.x86_64_null; Path to dependency: -> [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/PluginExecutionException
[ERROR]
任何帮助都将是一个很大的帮助,或者如何解决这两个问题都将是很大的帮助。