I have added two new projects for my Eclipse RCP demo application MP3 Manager:
- com.siemens.ct.mp3m.ui.editors.id3.databinding:
This editor is very similar compared with the com.siemens.ct.mp3m.ui.editors.id3 editor but uses rudimentary Eclipse data binding. I did not add validation so far but I have planned that for future releases. - com.siemens.ct.mp3m.ui.cheatsheets:
This bundle implements a little cheat sheet and provides help for adding and deleting music folders.
You find the project home page at max-server.myftp.org/trac/mp3m where you get the information for anonymous svn access.
Have Fun
Kai
Hi Kai, could it be that the new projects are not checked into SVN yet? I couldn’t find them.
Hi Boris,
thank you so much! I actually checked the projects into the wrong svn repository (I have an old one for a former MP3M version), and I wouldn’t probably have noticed that without your comment. But now they are checked in the right svn repository 🙂
Hi Kai,,
I wanted to see Eclipse RCP demo application MP3 Manager but the project home page is now failed,,
Could you sent me it or advise me some website where I can find it?
Thanks
The server is currently down for maintenance. It will be up and running on Monday, April 14th. Sorry for the inconvenience.
Uhh, it’s June 11th, and the URL pointing to mp3m-3.3.1.20071030.zip (http://max-server.myftp.org/trac/mp3m/mp3m/downloads/mp3m-3.3.1.20071030.zip) is still broken.
At least a ViewVC access will be cool, as the std SVN port is blocked by the firewall of my company.
Cheers,
John
@John,
I am sorry for that, I have fixed the link, it is working now. (http://max-server.myftp.org/mp3m/downloads/mp3m-3.3.1.20071030.zip). If your company provides a HTTP proxy, you could configure svn to use that proxy. Under Windows XP you find the configuration in C:Documents and SettingsApplication DataSubversionservers. In this file there are examples for proxy configurations.
Hi Kai,
thank you for sharing your RCP MP3 Manager project. I’m new to this subject and I couldn’t figure out how to start / export your project into something working (though a Eclipse is starting but nothing’s on display).
I just think that I don’t know to handle your big svn package. Do you know a good place to start with RCP and plugins so that I can see a running version of your project?
Thanks for your appreciation
Boris
When I try to run the MP3 application , it always errors out with a error dialog box with the following message,
“An error has occured . See the log file
C:~mp3mconfiguration1234507416787.log”
Whe I check the log it says,
!SESSION 2009-02-19 12:09:27.081 ———————————————–
eclipse.buildId=unknown
java.version=1.5.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en
Framework arguments: -plugincustomization configuration/plugin_customization.ini
Command-line arguments: -os win32 -ws win32 -arch x86 -plugincustomization configuration/plugin_customization.ini
!ENTRY org.eclipse.osgi 4 0 2009-02-19 12:09:28.440
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application “com.siemens.ct.mp3m.application” could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.director.app.application, org.eclipse.equinox.p2.metadata.generator.EclipseGenerator, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.reconciler.application, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool.
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:386)
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:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Sorry here is the error,
eclipse.buildId=unknown
java.version=1.5.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en
Framework arguments: -plugincustomization configuration/plugin_customization.ini
Command-line arguments: -os win32 -ws win32 -arch x86 -plugincustomization configuration/plugin_customization.ini
!ENTRY org.eclipse.osgi 4 0 2009-02-19 12:07:18.250
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application “com.siemens.ct.mp3m.application” could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.director.app.application, org.eclipse.equinox.p2.metadata.generator.EclipseGenerator, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.reconciler.application, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool.
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:386)
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:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
!ENTRY org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
!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 2009-02-19 12:13:41.056
!MESSAGE Bundle reference:file:pluginscom.siemens.ct.mp3m_3.4.1.v200902130931.jar [3] was not resolved.
!SUBENTRY 2 com.siemens.ct.mp3m 2 0 2009-02-19 12:13:41.056
!MESSAGE Missing required bundle com.siemens.ct.mp3m.model_0.0.0.
!SUBENTRY 2 com.siemens.ct.mp3m 2 0 2009-02-19 12:13:41.056
!MESSAGE Missing required bundle com.siemens.ct.mp3m.utilities_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
!MESSAGE Bundle reference:file:pluginscom.siemens.ct.mp3m.branding.blue_3.4.1.v200902130931.jar [4] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
!MESSAGE Bundle reference:file:pluginscom.siemens.ct.mp3m.branding.blue.german_3.4.1.v200902130931.jar [5] was not resolved.
!SUBENTRY 2 com.siemens.ct.mp3m.branding.blue.german 2 0 2009-02-19 12:13:41.056
!MESSAGE Missing host com.siemens.ct.mp3m.branding.blue_3.4.1.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
!MESSAGE Bundle reference:file:pluginscom.siemens.ct.mp3m.help_3.4.1.v200902130931.jar [6] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
!MESSAGE Bundle reference:file:pluginscom.siemens.ct.mp3m.help.german_3.4.1.v200902130931.jar [7] was not resolved.
!SUBENTRY 2 com.siemens.ct.mp3m.help.german 2 0 2009-02-19 12:13:41.056
!MESSAGE Missing host com.siemens.ct.mp3m.help_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
!MESSAGE Bundle reference:file:pluginscom.siemens.ct.mp3m.language_3.4.1.v200902130931.jar [8] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
!MESSAGE Bundle reference:file:pluginscom.siemens.ct.mp3m.model_3.4.1.v200902130931.jar [9] was not resolved.
!SUBENTRY 2 com.siemens.ct.mp3m.model 2 0 2009-02-19 12:13:41.056
!MESSAGE Missing required bundle com.siemens.ct.mp3m.utilities_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
!MESSAGE Bundle reference:file:pluginscom.siemens.ct.mp3m.model.ueberdosis_3.4.1.v200902130931.jar [10] was not resolved.
!SUBENTRY 2 com.siemens.ct.mp3m.model.ueberdosis 2 0 2009-02-19 12:13:41.056
!MESSAGE Missing required bundle com.siemens.ct.mp3m.model_0.0.0.
!SUBENTRY 2 com.siemens.ct.mp3m.model.ueberdosis 2 0 2009-02-19 12:13:41.056
!MESSAGE Missing required bundle com.siemens.ct.mp3m.utilities_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
!MESSAGE Bundle reference:file:pluginscom.siemens.ct.mp3m.ui.cheatsheets_3.4.1.v200902130931.jar [11] was not resolved.
!SUBENTRY 2 com.siemens.ct.mp3m.ui.cheatsheets 2 0 2009-02-19 12:13:41.056
!MESSAGE Missing required bundle com.siemens.ct.mp3m_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2009-02-19 12:13:41.056
Kumar,
did you add all required bundles before launching?
Hi Kai,
thanks for sharing your mp3-project,
in the changelog, you say, that you integrated automatic update-mechanims using p2, could you point me to the direction in the source code, where you did that? I also try to do this using p2 and I´m getting mad at it.
Thanks in advance
Martin
Hi Kai,
I used Eclipse’s “File -> New -> Checkout Projects from SVN” and imported your MP3 Manager program. It all seemed to have been imported correctly.
But how do you launch the program after that ? I tried all options in “Run -> Run Configurations”, but they fail.
For example, “MP3 Manager (Blue English)” fails because it cannot find the
com.siemens.ct.mp3m.branding.blue.product in any required bundle.
Thinking I made a mistake, I tried importing the project again, this time creating a new RCP project, but all to no avail, I get similar errors.
Do you have detailed instructions on how to import and run it ?
Thank you
hi kai..
thank for sharing your project mp3m
when i try to run “com.siemens.ct.mp3m” bundle
i got one runtime error
regarding,
org.eclipse.core.runtime.CoreException: Plug-in com.siemens.ct.mp3m was unable to load class com.siemens.ct.mp3m.Application.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:189)
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:368)
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:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle com.siemens.ct.mp3m (45).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:125)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:211)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:381)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:457)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:398)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:326)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:231)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1193)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:160)
… 16 more
Caused by: org.osgi.framework.BundleException: Exception in com.siemens.ct.mp3m.Activator.start() of bundle com.siemens.ct.mp3m.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:408)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
… 28 more
Caused by: java.lang.NullPointerException
at com.siemens.ct.mp3m.Activator.start(Activator.java:63)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
please try to solve this
thanks in advance.