Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » HElp!!! big pb with plugin.xml
HElp!!! big pb with plugin.xml [message #70693] Wed, 11 June 2003 08:48 Go to next message
Eclipse UserFriend
Originally posted by: anthony.saucet.freesbee.fr

Something strange happening with the file plugin.xml
I'm currently on eclipse2_0_2. Everything was ok til I tried my project on
eclipse2_1. I can't work anymore on.
Now, when I modify something in this file, eclipse destroys the imported
jars (org.eclipse.core.boot, .runtime, .xerces, and others...).
I suppose a reference somewhere to interfere with plugin.xml
Does anybody know how to do?


Another pb (warning) I can't resolve is the dependencies. I need in the
manifest:
<requires>
<import plugin="org.eclipse.core.boot"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.swt"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.apache.xerces"/>
</requires>
but eclipse can't resolve them. It seems to not find where they are.
Any idea?

Many thx
anthony
Re: HElp!!! big pb with plugin.xml [message #70746 is a reply to message #70693] Wed, 11 June 2003 10:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dhavrda.motive.com

Try just modifying that section of the plugin.xml source. Then save it.
Also you might try updating your classpath. That would be right click on
your project and > update classpath. Also you might try Preferences >
Plug-In Development > Target Platform and if all of your plugins are
unchecked then check them all. That should allow you to see all of those
dependencies you needed. I dont know why it is but you will get the unable
to resolve on your dependency plugins in your plugin xml file until you
actually make a change to that section and save.


"anthony" <anthony.saucet@freesbee.fr> wrote in message
news:bc78e1$krv$1@rogue.oti.com...
> Something strange happening with the file plugin.xml
> I'm currently on eclipse2_0_2. Everything was ok til I tried my project on
> eclipse2_1. I can't work anymore on.
> Now, when I modify something in this file, eclipse destroys the imported
> jars (org.eclipse.core.boot, .runtime, .xerces, and others...).
> I suppose a reference somewhere to interfere with plugin.xml
> Does anybody know how to do?
>
>
> Another pb (warning) I can't resolve is the dependencies. I need in the
> manifest:
> <requires>
> <import plugin="org.eclipse.core.boot"/>
> <import plugin="org.eclipse.core.runtime"/>
> <import plugin="org.eclipse.core.resources"/>
> <import plugin="org.eclipse.swt"/>
> <import plugin="org.eclipse.ui"/>
> <import plugin="org.apache.xerces"/>
> </requires>
> but eclipse can't resolve them. It seems to not find where they are.
> Any idea?
>
> Many thx
> anthony
>
Re: HElp!!! big pb with plugin.xml [message #70835 is a reply to message #70693] Wed, 11 June 2003 10:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NOSPAM.us.ibm.com

1) Make sure your build.properties is correct in pointing to the source
for your plugin's library(s). If you have a stmt of the form:
<library name="runtime/xyz.jar" ...

Your build.properties needs an entry:

src.runtime/xyz.jar=srcfolder/

where srcfolder is the folder containing the source for that jar in your
plugin.

2) Make sure that you do
Windows->Preferences->Plugin-Development->TargetPlatform

From this page, Click on the "this application" radio button if your
target eclipse (the Eclipse that you want to run your plugin with for
testing) is the one listed in the field "Application Location", and if
it isn't the one you want, then select the "another application ..."
radio button and browse and find the eclipse target you want.

3) File->Import->External Plugins and Fragments
Then deselect the "Copy plugin-in contents into workspace..."
Then hit next. From the list on the next page, select the plugins from
Eclipse that you need (the ones you list in the "required" section of
your plugin), THEN hit the button "Add Required Plugins" to get the
plugins that those selected plugins require. Then hit finish.

4) Now try "Update Classpath" from your plugin.xml. See if this now
hooks everything together correctly.

Rich
thanks it works but .... [message #70987 is a reply to message #70693] Wed, 11 June 2003 11:20 Go to previous message
Eclipse UserFriend
Originally posted by: anthony.saucet.freesbee.fr

Thx guys for your help, but I used to add the needed libraries from my
project > Properties > Java Build Path > libraries then Add External Jars.
That used to work fine in run mode or as a plugin.
The way you gave me is the right one but I don't understand why mine
worked.

Anthony


anthony wrote:

> Something strange happening with the file plugin.xml
> I'm currently on eclipse2_0_2. Everything was ok til I tried my project on
> eclipse2_1. I can't work anymore on.
> Now, when I modify something in this file, eclipse destroys the imported
> jars (org.eclipse.core.boot, .runtime, .xerces, and others...).
> I suppose a reference somewhere to interfere with plugin.xml
> Does anybody know how to do?


> Another pb (warning) I can't resolve is the dependencies. I need in the
> manifest:
> <requires>
> <import plugin="org.eclipse.core.boot"/>
> <import plugin="org.eclipse.core.runtime"/>
> <import plugin="org.eclipse.core.resources"/>
> <import plugin="org.eclipse.swt"/>
> <import plugin="org.eclipse.ui"/>
> <import plugin="org.apache.xerces"/>
> </requires>
> but eclipse can't resolve them. It seems to not find where they are.
> Any idea?

> Many thx
> anthony
Previous Topic:Urgent: Unrecoverable crash on Linux
Next Topic:Views Article: getImageDescriptor throws NullPointerException
Goto Forum:
  


Current Time: Wed Jun 04 23:01:08 EDT 2025

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

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

Back to the top