Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] eclipse v4.1 localization

I am using the emfdatabinding-tutorial. There is errors in 'org.eclipse.ufacekit.ui.jfx.databinding' and 'org.eclipse.ufacekit.ui.jfx.databinding.example' projects when I import them into the 4.1 workspace.
But I do not think them projects affect the addressbook swing project but within the 'at.bestsolution.e4.addressbook.swing.application' I have errors in the dependencies:
org.eclipse.core.filesystem.aix.ppc
org.eclipse.core.filesystem.hpux.ia64_32
org.eclipse.core.filesystem.linux.ppc
org.eclipse.core.filesystem.linux.x86
org.eclipse.core.filesystem.linux.x86_64
org.eclipse.core.filesystem.macosx
org.eclipse.core.filesystem.solaris.sparc
org.eclipse.core.filesystem.win32.x86_64

When I import my project, that I designed and coded in 4.0, into 4.1 no errors occur but when I run the project errors occur I have put these errors at the bottom of this email. I tried to start the project again in 4.1 but when I come to creating a 'new application model' an internal errors occurs that will not let me run the project. I can open the application model in e4 workbenchmodel editor but not e4 visualdesign editor. I think this is also the problem when I try run the project designed in 4.0.

Regards,
Deirdre.

error message for my project running in 4.1:

!SESSION 2011-06-07 10:03:03.625 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments:  -product de.vogella.e4.todo.product
Command-line arguments:  -product de.vogella.e4.todo.product -data C:\Documents and Settings\Deirdre Stankard\Desktop\v11/../runtime-Todo.product -dev file:C:/Documents and Settings/Deirdre Stankard/Desktop/v11/.metadata/.plugins/org.eclipse.pde.core/Todo.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.equinox.app 0 0 2011-06-07 10:03:05.781
!MESSAGE Product de.vogella.e4.todo.product could not be found.

!ENTRY org.eclipse.osgi 2 0 2011-06-07 10:03:05.812
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.812
!MESSAGE Bundle initial@reference:file:plugins/org.apache.batik.css_1.6.0.v201011041432.jar/ was not resolved.
!SUBENTRY 2 org.apache.batik.css 2 0 2011-06-07 10:03:05.812
!MESSAGE Missing required bundle org.apache.batik.util_[1.6.0,1.7.0).

!ENTRY org.eclipse.osgi 2 0 2011-06-07 10:03:05.828
!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-06-07 10:03:05.828
!MESSAGE Bundle org.eclipse.e4.ui.css.core_0.9.0.v20110517-2030 [3] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.core 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.apache.batik.css_[1.6.0,1.7.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.828
!MESSAGE Bundle org.eclipse.e4.ui.css.swt.theme_0.9.0.v20110407-2030 [11] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt.theme 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt_0.9.1.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt.theme 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.828
!MESSAGE Bundle org.apache.batik.css_1.6.0.v201011041432 [18] was not resolved.
!SUBENTRY 2 org.apache.batik.css 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.apache.batik.util_[1.6.0,1.7.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.828
!MESSAGE Bundle de.vogella.e4.todo_1.0.0.qualifier [19] was not resolved.
!SUBENTRY 2 de.vogella.e4.todo 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.swt_0.0.0.
!SUBENTRY 2 de.vogella.e4.todo 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.renderers.swt_0.0.0.
!SUBENTRY 2 de.vogella.e4.todo 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt.theme_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.828
!MESSAGE Bundle org.eclipse.e4.ui.workbench.renderers.swt_0.9.1.v20110527-2100 [20] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.renderers.swt 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.swt_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.renderers.swt 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt.theme_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.renderers.swt 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.828
!MESSAGE Bundle org.eclipse.e4.ui.workbench.swt_0.9.1.v20110520-1530 [21] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt.theme_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing imported package org.apache.batik.css.engine_1.6.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.828
!MESSAGE Bundle org.eclipse.e4.ui.css.swt_0.9.1.v20110517-2030 [50] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt 2 0 2011-06-07 10:03:05.828
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.

!ENTRY org.eclipse.osgi 2 0 2011-06-07 10:03:05.859
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.859
!MESSAGE Bundle initial@reference:file:plugins/org.apache.batik.css_1.6.0.v201011041432.jar/ was not resolved.
!SUBENTRY 2 org.apache.batik.css 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.apache.batik.util_[1.6.0,1.7.0).

!ENTRY org.eclipse.osgi 2 0 2011-06-07 10:03:05.859
!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-06-07 10:03:05.859
!MESSAGE Bundle org.eclipse.e4.ui.css.core_0.9.0.v20110517-2030 [3] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.core 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.apache.batik.css_[1.6.0,1.7.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.859
!MESSAGE Bundle org.eclipse.e4.ui.css.swt.theme_0.9.0.v20110407-2030 [11] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt.theme 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt_0.9.1.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt.theme 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.859
!MESSAGE Bundle org.apache.batik.css_1.6.0.v201011041432 [18] was not resolved.
!SUBENTRY 2 org.apache.batik.css 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.apache.batik.util_[1.6.0,1.7.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.859
!MESSAGE Bundle de.vogella.e4.todo_1.0.0.qualifier [19] was not resolved.
!SUBENTRY 2 de.vogella.e4.todo 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.swt_0.0.0.
!SUBENTRY 2 de.vogella.e4.todo 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.renderers.swt_0.0.0.
!SUBENTRY 2 de.vogella.e4.todo 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt.theme_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.859
!MESSAGE Bundle org.eclipse.e4.ui.workbench.renderers.swt_0.9.1.v20110527-2100 [20] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.renderers.swt 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.workbench.swt_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.renderers.swt 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt.theme_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.renderers.swt 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.859
!MESSAGE Bundle org.eclipse.e4.ui.workbench.swt_0.9.1.v20110520-1530 [21] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2011-06-07 10:03:05.859
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2011-06-07 10:03:05.875
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.swt.theme_0.9.0.
!SUBENTRY 2 org.eclipse.e4.ui.workbench.swt 2 0 2011-06-07 10:03:05.875
!MESSAGE Missing imported package org.apache.batik.css.engine_1.6.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-06-07 10:03:05.875
!MESSAGE Bundle org.eclipse.e4.ui.css.swt_0.9.1.v20110517-2030 [50] was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt 2 0 2011-06-07 10:03:05.875
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.9.0.

!ENTRY org.eclipse.osgi 4 0 2011-06-07 10:03:05.875
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
    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)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
An error has occurred. See the log file
C:\Documents and Settings\Deirdre Stankard\Desktop\v11\.metadata\.plugins\org.eclipse.pde.core\Todo.product\1307437384109.log.


On Mon, Jun 6, 2011 at 10:29 PM, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx> wrote:
Am 06.06.11 21:57, schrieb Deidre Stankard:
> Sorry for the delay in replying. Yes I have the Model Tooling installed.
> I was trying to get your example working but I have errors in the
> dependency's. I am not sure what is causing this. My project that I am

Which example and what is not working. They are all supposed to work on
a latest 4.1 builds.

> working on I was using the v4.0 and now I am having difficulty trying to
> import it and get rid of the errors in v4.1. The reason I am trying to

What are the errors? Most likely the only problem you have is with the
e4xmi-Model because we redesigned how the keybinding stuff is working.

> get it to work in 4.1 is for the localization. The errors in v4.1 seems
> to be coming when I try to create a new application model?
> I understand localization cannot be used in v4.0 but is there any long
> way around getting localization to work in v4.0? even writing the
> properties files myself?

No because the renderers don't translate them.

>
> Regards,
> Deirdre.
>
> On Sun, Jun 5, 2011 at 8:33 AM, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx
> <mailto:tom.schindl@xxxxxxxxxxxxxxx>> wrote:
>
>     Hi,
>
>     So you have the Model Tooling installed right? If you bring up the
>     context menu on the tree on the left you should see an "Externalize
>     String" menu entry.
>
>     The rest is done by tooling:
>     a) it replaces strings in your file using %key, ...
>     b) creates an OSGI-INF/l10n/bundle.properties
>
>     If you now want to add a german translation, copy bundle.properties to
>     bundle_de.properties and translate the strings, then launch the
>     application e.g. using -nl de and the UI comes up with strings
>     translated in German.
>
>     For the content in your parts you are responsible your own but if you'd
>     like to make it easy for you can use the stuff found in
>     "org.eclipse.e4.tools.services". You can see how the services in there
>     are used in "org.eclipse.e4.tools.emf.ui" in the "ModelEditor"-class
>     (look out for @Translation, Messages and Messages.properties).
>
>     If you still have problems and your sources are available in a public
>     VCS like e.g. github, googlecode I could take a look later today or some
>     time next week.
>
>     Tom
>
>     Am 04.06.11 22:43, schrieb Deidre Stankard:
>     > Hi,
>     >
>     > I am currently having problems trying to get tom's tutorial on
>     > localization working on my pc and I am wondering would anybody
>     know of a
>     > step by step tutorial on localization in eclipse v4.1 as I cannot find
>     > anything on the web?
>     > On tom's tutorial I am getting errors on some of the projects I have
>     > only E4 tools and E4 UI software installed, do I need others installed
>     > for it to run??
>     >
>     > I would be very grateful if you could help as I am trying to get it
>     > working for a project for my Masters degree which I have been
>     working on
>     > in eclipse v4.
>     >
>     > Kind Regards,
>     > Deirdre Stankard.
>     >
>     >
>     >
>     > _______________________________________________
>     > e4-dev mailing list
>     > e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     > https://dev.eclipse.org/mailman/listinfo/e4-dev
>
>     _______________________________________________
>     e4-dev mailing list
>     e4-dev@xxxxxxxxxxx <mailto:e4-dev@xxxxxxxxxxx>
>     https://dev.eclipse.org/mailman/listinfo/e4-dev
>
>
>
>
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/e4-dev

_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev


Back to the top