Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » plugin not found
plugin not found [message #214941] Tue, 23 March 2004 12:06 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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

Previous Topic:Perform tasks on Workbench Close or Workbech Start
Next Topic:Testing
Goto Forum:
  


Current Time: Mon Jul 21 21:09:36 EDT 2025

Powered by FUDForum. Page generated in 0.06628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top