Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » relative paths to libraries outside the plugin; bug or feature?
relative paths to libraries outside the plugin; bug or feature? [message #294181] Fri, 04 November 2005 19:04 Go to next message
Eclipse UserFriend
Originally posted by: david.deatn-lodge.net

Specifying a relative path for <library>, as with "whatever.jar" in the
plugin.xml snippet below, allows the plugin to include a jar which isn't
in the plugin. This seems like it would be a bug, because it breaks the
plugin model for updates and requires a certain file structure outside
of the plugin directory. Why then doesn't Eclipse prevent this, or is it
acceptable to do this?

Thanks,

David

<?xml version="1.0" encoding="UTF-8" ?>
<?eclipse version="3.0"?>
<plugin id="com.acme.foo" name="%pluginName" version="0.0.1"
provider-name="%pluginProvider">
<runtime>
<library name="../../../../lib/whatever.jar">
<export name="*" />
</library>
</runtime>
</plugin>
Re: relative paths to libraries outside the plugin; bug or feature? [message #294183 is a reply to message #294181] Sat, 05 November 2005 02:28 Go to previous message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

It's a bug.
A similar problem was reported on the equinox list a month and a half ago.
I can't find the associated bug though so you should probably log it
-Simon.

"David Dean" <david@deatn-lodge.net> wrote in message
news:dkgsuc$7is$1@news.eclipse.org...
> Specifying a relative path for <library>, as with "whatever.jar" in the
> plugin.xml snippet below, allows the plugin to include a jar which isn't
> in the plugin. This seems like it would be a bug, because it breaks the
> plugin model for updates and requires a certain file structure outside
> of the plugin directory. Why then doesn't Eclipse prevent this, or is it
> acceptable to do this?
>
> Thanks,
>
> David
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <?eclipse version="3.0"?>
> <plugin id="com.acme.foo" name="%pluginName" version="0.0.1"
> provider-name="%pluginProvider">
> <runtime>
> <library name="../../../../lib/whatever.jar">
> <export name="*" />
> </library>
> </runtime>
> </plugin>
Previous Topic:CGI Questions
Next Topic:Custom dialog for user jobs
Goto Forum:
  


Current Time: Tue Jul 22 15:30:52 EDT 2025

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

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

Back to the top