Voici mon soucis : je souhaite exécuter un plugin basé sur Eclipse-RCP en se passant de la fenêtre d'eclipse (en mode commande dos).
Ainsi lorsque j'exécute la commande "eclipse -application nomApplicationID -data c:\\monWorkspace -plugins C:\\monWorkspace\\plugin.xml" dans une fenêtre DOS j'ai le message d'erreur (dans un fichier .log) suivant :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
eclipse.buildId=M20060921-0945
java.version=1.6.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Framework arguments:  -application application -plugins C:\monWorkspace\plugin.xml
Command-line arguments: -os win32 -ws win32 -arch x86 -application application -data C:\monWorkspace -plugins C:\monWorkspace\plugin.xml
 
!ENTRY org.eclipse.osgi 4 0 2007-07-13 17:26:48.904
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: L'application "nomApplicationID" est introuvable dans le registre. Les applications disponibles sont org.eclipse.ant.core.antRunner, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.xsd.ecore.importer.XSD2GenModel, org.eclipse.xsd.example.XSDMainExample, org.eclipse.xsd.example.XSDGenerateHTML.
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:68)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    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.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
Merci d'avance pour votre aide, car je galère