XWT not working in exports [message #576142] |
Sat, 15 May 2010 15:24  |
Eclipse User |
|
|
|
I have below code
label = (Label) XWT.load(parent, XWTLoader.class
getResource("org/cord/client/dms/mainapp/ui/detailsViewer/ " + labelName ));
Now what happens, the getResource works fine in development environment, but when i try to export the project as product, getResource returns null
Can some body offer help
I too tired modifying build properties
Parvez Ahmad Hakim
Srinagar
|
|
|
|
|
|
Re: XWT not working in exports [message #729259 is a reply to message #729140] |
Sun, 25 September 2011 12:26  |
Eclipse User |
|
|
|
Yes that is true. Add the XYZ.e4xmi( i.e e4xmi file that you have) and plugin.xml file to your build path
Parvez Ahmad Hakim
Srinagar
www.abobjects.com
This solved by below problems in exported product:
!SESSION 2011-09-24 21:23:45.506 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_11
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.registry 2 0 2011-09-24 21:23:55.871
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.emf.validation.source" are ignored. The bundle is not marked as singleton.
!ENTRY org.eclipse.equinox.registry 2 0 2011-09-24 21:23:55.872
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.emf.validation.ui.ide.source" are ignored. The bundle is not marked as singleton.
!ENTRY org.eclipse.equinox.registry 2 0 2011-09-24 21:23:55.875
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.emf.validation.ui.source" are ignored. The bundle is not marked as singleton.
!ENTRY org.eclipse.equinox.registry 2 0 2011-09-24 21:23:55.936
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.gef.examples.flow.source" are ignored. The bundle is not marked as singleton.
!ENTRY org.eclipse.equinox.registry 2 0 2011-09-24 21:23:55.938
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.gef.examples.logic.source" are ignored. The bundle is not marked as singleton.
!ENTRY org.eclipse.equinox.registry 2 0 2011-09-24 21:23:55.942
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.gef.examples.shapes.source" are ignored. The bundle is not marked as singleton.
!ENTRY org.eclipse.equinox.registry 2 0 2011-09-24 21:23:55.945
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.gef.examples.text.source" are ignored. The bundle is not marked as singleton.
!ENTRY org.eclipse.equinox.app 0 0 2011-09-24 21:23:56.617
!MESSAGE Product org.cord.client.dms.mainapp.e4.product could not be found.
!ENTRY org.eclipse.osgi 2 0 2011-09-24 21:23:56.701
!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 2011-09-24 21:23:56.701
!MESSAGE Bundle org.eclipse.emf.common_2.7.0.v20110605-0747 [56] was not resolved.
!SUBENTRY 2 org.eclipse.emf.common 2 0 2011-09-24 21:23:56.701
!MESSAGE Another singleton version selected: org.eclipse.emf.common_2.7.0.v20110905-0902
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-24 21:23:56.701
!MESSAGE Bundle org.eclipse.emf.ecore.change_2.7.0.v20110408-2116 [58] was not resolved.
!SUBENTRY 2 org.eclipse.emf.ecore.change 2 0 2011-09-24 21:23:56.701
!MESSAGE Another singleton version selected: org.eclipse.emf.ecore.change_2.7.1.v20110829-1916
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-24 21:23:56.701
!MESSAGE Bundle org.eclipse.emf.ecore_2.7.0.v20110605-0747 [60] was not resolved.
!SUBENTRY 2 org.eclipse.emf.ecore 2 0 2011-09-24 21:23:56.701
!MESSAGE Another singleton version selected: org.eclipse.emf.ecore_2.7.0.v20110905-0902
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-24 21:23:56.701
!MESSAGE Bundle org.eclipse.ui.workbench.compatibility_3.2.100.I20110413-1600 [108] was not resolved.
!SUBENTRY 2 org.eclipse.ui.workbench.compatibility 2 0 2011-09-24 21:23:56.701
!MESSAGE Constraints from the fragment conflict with the host: Require-Bundle: org.eclipse.core.resources; bundle-version="[3.2.0,4.0.0)"
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-24 21:23:56.701
!MESSAGE Bundle org.eclipse.emf.common.ui_2.7.0.v20110606-0949 [309] was not resolved.
!SUBENTRY 2 org.eclipse.emf.common.ui 2 0 2011-09-24 21:23:56.701
!MESSAGE Another singleton version selected: org.eclipse.emf.common.ui_2.7.0.v20110905-0916
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-24 21:23:56.701
!MESSAGE Bundle org.eclipse.emf.ecore.edit_2.7.0.v20110606-0949 [342] was not resolved.
!SUBENTRY 2 org.eclipse.emf.ecore.edit 2 0 2011-09-24 21:23:56.701
!MESSAGE Another singleton version selected: org.eclipse.emf.ecore.edit_2.7.0.v20110905-0916
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-24 21:23:56.701
!MESSAGE Bundle org.eclipse.emf.edit.ui_2.7.0.v20110606-0949 [362] was not resolved.
!SUBENTRY 2 org.eclipse.emf.edit.ui 2 0 2011-09-24 21:23:56.701
!MESSAGE Another singleton version selected: org.eclipse.emf.edit.ui_2.7.0.v20110905-0916
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-24 21:23:56.701
!MESSAGE Bundle org.eclipse.emf.edit_2.7.0.v20110606-0949 [364] was not resolved.
!SUBENTRY 2 org.eclipse.emf.edit 2 0 2011-09-24 21:23:56.701
!MESSAGE Another singleton version selected: org.eclipse.emf.edit_2.7.0.v20110905-0916
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-09-24 21:23:56.702
!MESSAGE Bundle org.eclipse.gef_3.7.0.v20110407-2050 [569] was not resolved.
!SUBENTRY 2 org.eclipse.gef 2 0 2011-09-24 21:23:56.702
!MESSAGE Another singleton version selected: org.eclipse.gef_3.7.1.v20110830-1143
!ENTRY org.eclipse.osgi 4 0 2011-09-24 21:23:56.702
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:126)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
|
|
|
Powered by
FUDForum. Page generated in 0.17824 seconds