toedter / e4-tutorial Goto Github PK
View Code? Open in Web Editor NEWThese are the reference projects for my Eclipse 4 Application Platform tutorial.
These are the reference projects for my Eclipse 4 Application Platform tutorial.
When I try to run the e4-tutorial.exe in C:\git\e4-tutorial\org.eclipse.e4.tutorial.contacts.product\target\products\e4-tutorial\win32\win32\x86, I get the error message
!SESSION 2014-01-11 03:07:06.115 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_45
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.equinox.app 0 0 2014-01-11 03:07:06.765
!MESSAGE Product org.eclipse.e4.tutorial.contacts.product could not be found.
!ENTRY org.eclipse.osgi 2 0 2014-01-11 03:07:06.885
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.885
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.e4.tutorial.contacts.logging.config_1.0.0.201401110801.jar was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.logging.config 2 0 2014-01-11 03:07:06.885
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.885
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.e4.tutorial.contacts.model.application_1.0.0.201401110801.jar was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.model.application 2 0 2014-01-11 03:07:06.886
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.886
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.e4.tutorial.contacts.login_1.0.0.201401110801.jar was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.login 2 0 2014-01-11 03:07:06.886
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.886
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.e4.tutorial.contacts.logging_1.0.0.201401110801.jar was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.logging 2 0 2014-01-11 03:07:06.886
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))".
!ENTRY org.eclipse.osgi 2 0 2014-01-11 03:07:06.889
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.889
!MESSAGE Bundle org.eclipse.e4.tutorial.contacts_1.0.0.201401110801 [25] was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts 2 0 2014-01-11 03:07:06.889
!MESSAGE Missing required bundle org.eclipse.e4.tutorial.contacts.model.application_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.889
!MESSAGE Bundle org.eclipse.e4.tutorial.contacts.logging_1.0.0.201401110801 [26] was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.logging 2 0 2014-01-11 03:07:06.889
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.889
!MESSAGE Bundle org.eclipse.e4.tutorial.contacts.logging.config_1.0.0.201401110801 [27] was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.logging.config 2 0 2014-01-11 03:07:06.889
!MESSAGE Missing host org.eclipse.e4.tutorial.contacts.logging_1.0.0.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.logging.config 2 0 2014-01-11 03:07:06.889
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.889
!MESSAGE Bundle org.eclipse.e4.tutorial.contacts.login_1.0.0.201401110801 [28] was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.login 2 0 2014-01-11 03:07:06.889
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.889
!MESSAGE Bundle org.eclipse.e4.tutorial.contacts.model.application_1.0.0.201401110801 [30] was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.model.application 2 0 2014-01-11 03:07:06.889
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(&(osgi.ee=JavaSE)(version=1.7))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.889
!MESSAGE Bundle org.eclipse.e4.tutorial.contacts.renderer_1.0.0.201401110801 [32] was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.renderer 2 0 2014-01-11 03:07:06.889
!MESSAGE Missing imported package org.slf4j_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-01-11 03:07:06.889
!MESSAGE Bundle org.eclipse.e4.tutorial.contacts.views.details_1.0.0.201401110801 [33] was not resolved.
!SUBENTRY 2 org.eclipse.e4.tutorial.contacts.views.details 2 0 2014-01-11 03:07:06.889
!MESSAGE Missing imported package org.slf4j_0.0.0.
!ENTRY org.eclipse.osgi 4 0 2014-01-11 03:07:06.890
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.AssertionFailedException: null argument:applicationXMI argument missing
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:238)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:144)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
Hello Kai,
your current target definition is showing to http://download.eclipse.org/eclipse/updates/4.3milestones which is not valid url...
Maybe it's time to use http://download.eclipse.org/releases/kepler/.
This is the log when I run the command "mvn clean verify -X".
I am using Windows 7/Java 1.6 32 Bit.
!ENTRY org.eclipse.osgi 4 0 2014-01-11 03:02:17.834
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Bundle org.eclipse.e4.tutorial.contacts.views.details.test is not found
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.getBundleClassLoader(OsgiSurefireBooter.java:149)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:67)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
An error has occurred. See the log file
C:\Users\carel06\git\e4-tutorial\org.eclipse.e4.tutorial.contacts.views.details.test\target\work\configuration\138942733
5553.log.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] org.eclipse.e4.tutorial.contacts.build.tycho ...... SUCCESS [0.250s]
[INFO] org.eclipse.e4.tutorial.contacts.model ............ SUCCESS [3.122s]
[INFO] org.eclipse.e4.tutorial.contacts.model.application SUCCESS [3.198s]
[INFO] org.eclipse.e4.tutorial.contacts .................. SUCCESS [2.625s]
[INFO] org.eclipse.e4.tutorial.contacts.login ............ SUCCESS [2.752s]
[INFO] org.eclipse.e4.tutorial.contacts.model.simple ..... SUCCESS [1.781s]
[INFO] org.eclipse.e4.tutorial.contacts.logging .......... SUCCESS [1.618s]
[INFO] org.eclipse.e4.tutorial.contacts.renderer ......... SUCCESS [2.749s]
[INFO] org.eclipse.e4.tutorial.contacts.views.details .... SUCCESS [2.414s]
[INFO] org.eclipse.e4.tutorial.contacts.logging.config ... SUCCESS [1.511s]
[INFO] org.eclipse.e4.tutorial.contacts.feature .......... SUCCESS [0.905s]
[INFO] org.eclipse.e4.tutorial.contacts.product .......... SUCCESS [44.837s]
[INFO] org.eclipse.e4.tutorial.contacts.views.details.test FAILURE [10.904s]
[INFO] kepler ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:34.146s
[INFO] Finished at: Sat Jan 11 03:02:22 EST 2014
[INFO] Final Memory: 23M/95M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.19.0:test (default-test) on project org.eclipse
.e4.tutorial.contacts.views.details.test: An unexpected error occured (return code 13). See log for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0
.19.0:test (default-test) on project org.eclipse.e4.tutorial.contacts.views.details.test: An unexpected error occured (r
eturn code 13). See log for details.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: An unexpected error occured (return code 13). See log for deta
ls.
at org.eclipse.tycho.surefire.TestMojo.runTest(TestMojo.java:970)
at org.eclipse.tycho.surefire.TestMojo.execute(TestMojo.java:668)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
[ERROR]
[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 :org.eclipse.e4.tutorial.contacts.views.details.test
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.