plugin not found [message #214941] |
Tue, 23 March 2004 12:06  |
Eclipse User |
|
|
|
Originally posted by: schausson.genigraph.fr
Hi,
I try to create a plugin which could be launched in 'headless'
mode. I wrote a MyApplication class which implements IplatformRunnable,
packaged it in myfile.jar, and wrote such a plugin.xml file :
<plugin
id="myPluginID"
name="myPluginName"
version="0.0.1">
<runtime>
<library name="myfile.jar"/>
</runtime>
<extension id="MyApplicationID"
point="org.eclipse.core.runtime.applications">
<application>
<run class="com.xxx.yyy.MyApplication"/>
</application>
</extension>
</plugin>
Then I put my .jar file and my manifest file in a 'myPluginID' directory
under my eclipse installation folder, and I try to launch it with
following command line :
java org.eclipse.core.launcher.Main -noupdate -data f:/tmp/tmp
-application MyApplicationID
I get an exception in .log file :
java.lang.reflect.InvocationTargetException:
java.lang.IllegalArgumentException: Application not found: MyApplicationID
What's wrong with my stuff ?
BTH, I remember something strange : when I launched my workbench
just after this plugin deployment, I didn't get the dialog
telling me that configuration changed...My plugin is definitively
not found by eclipse
Thank you in advance for any hint on that.
Sebastien
|
|
|
Re: plugin not found [message #215031 is a reply to message #214941] |
Tue, 23 March 2004 15:10  |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
You need to fully specify the application to launch, it should be
-application myPluginID.MyApplicationID
--
Thanks, Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.26291 seconds