Luna: applicationXMI argument missing [message #1189047] |
Fri, 15 November 2013 23:35 |
Gregg Stewart Messages: 6 Registered: October 2013 |
Junior Member |
|
|
Hello,
No matter what I do I keep getting the error: null argument:applicationXMI argument missing.
My apologies if this is an overload of information.
I'll describe what I'm doing and then the full error message:
First, I used the steps here to build eclipse: http://wiki.eclipse.org/Platform-releng/Platform_Build
Then I launch eclipse from the folder: C:\z\eclipse.platform.releng.tychoeclipsebuilder\platform\target\products\org.eclipse.platform.ide\win32\win32\x86_64
This is the instance of Eclipse that I am trying to install a plugin using P2. The p2 repository is created by exporting a project created (in separately downloaded versions of eclipse like Luna and 4.3) like so:
1. create plugin project
2. create application model -> add a menu contribution -> menu -> handledmenuitem
3. create a product configuration and click new next to the Product Field (specifying itself as the plugin, arbitrary product id, and org.eclipse.e4.ui.workbench.swt.E4Application).
4. From the .product file i specify a dependency of itself.
5. Open the build.properties and select the following for Binary Builds:
- Application.e4xmi
- META-INF
- plugin.xml
- proj.product
6. From the .product I deselect "The product includes native launcher artifacts" and then click the "Eclipse Product export wizard" link specifying:
- Directory
- Generate p2 repository
- other defaults.
Then I try to install this plugin using P2 but when it relaunches Eclipse an error log gets created with the following:
=====ERROR LOG======
!SESSION 2013-11-15 18:10:46.542 -----------------------------------------------
eclipse.buildId=4.4.0.I20131113-2115
java.version=1.6.0_45
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.equinox.app 0 0 2013-11-15 18:10:49.364
!MESSAGE Product com.ca.proj.product could not be found.
!ENTRY org.eclipse.osgi 4 0 2013-11-15 18:10:49.493
!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:349)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:252)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:146)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226)
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)
Many thanks,
Gregg
[Updated on: Fri, 15 November 2013 23:36] Report message to a moderator
|
|
|
Re: Luna: applicationXMI argument missing [message #1194955 is a reply to message #1189047] |
Mon, 18 November 2013 19:41 |
Jonas Helming Messages: 699 Registered: July 2009 |
Senior Member |
|
|
Hi,
the application definition (in the plugin.xml) needs a property
"applicationXMI" value: "bundlename/Application.e4xmi"
Make sure, the Application.e4xmi is part of the build (build.properties)
Cheers
Jonas
Am 16.11.2013 00:35, schrieb Gregg Stewart:
> Hello,
>
> No matter what I do I keep getting the error: null
> argument:applicationXMI argument missing.
>
> My apologies if this is an overload of information.
> I'll describe what I'm doing and then the full error message:
> First, I used the steps here to build eclipse:
> http://wiki.eclipse.org/Platform-releng/Platform_Build
>
> Then I launch eclipse from the folder:
> C:\z\eclipse.platform.releng.tychoeclipsebuilder\platform\target\products\org.eclipse.platform.ide\win32\win32\x86_64
>
>
> This is the instance of Eclipse that I am trying to install a plugin
> using P2. The p2 repository is created by exporting a project created
> (in separately downloaded versions of eclipse like Luna and 4.3) like so:
> 1. create plugin project
> 2. create application model -> add a menu contribution -> menu ->
> handledmenuitem
> 3. create a product configuration and click new next to the Product
> Field (specifying itself as the plugin, arbitrary product id, and
> org.eclipse.e4.ui.workbench.swt.E4Application).
> 4. From the .product file i specify a dependency of itself. 5. Open the
> build.properties and select the following for Binary Builds: -
> Application.e4xmi
> - META-INF
> - plugin.xml
> - proj.product
> 6. From the .product I deselect "The product includes native launcher
> artifacts" and then click the "Eclipse Product export wizard" link
> specifying:
> - Directory
> - Generate p2 repository
> - other defaults.
>
>
> Then I try to install this plugin using P2 but when it relaunches
> Eclipse an error log gets created with the following:
>
> =====ERROR LOG======
> !SESSION 2013-11-15 18:10:46.542
> -----------------------------------------------
> eclipse.buildId=4.4.0.I20131113-2115
> java.version=1.6.0_45
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86_64
>
> !ENTRY org.eclipse.equinox.app 0 0 2013-11-15 18:10:49.364
> !MESSAGE Product com.ca.proj.product could not be found.
>
> !ENTRY org.eclipse.osgi 4 0 2013-11-15 18:10:49.493
> !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:349)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:252)
>
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:146)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226)
>
> 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)
>
>
> Many thanks,
> Gregg
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06887 seconds