Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Building a bundle without depending on eclise/plugins/
Building a bundle without depending on eclise/plugins/ [message #90934] Thu, 21 June 2007 07:07 Go to next message
Eclipse UserFriend
Originally posted by: marius.daimi.au.dk

Hello,

I am trying to build a bundle where I would like to redistribute the
Eclipse project to people who do not necessary have the exact same
bundles in their eclipse/plugins directory.

Is there a way to use bundles that are local to the project to resolve
dependencies? (I, e.g., have a javax.servlet bundle that I would like to
put in the bundle project and let my bundle resolve javax.servlet
classes using that).

Best Regards,
Klaus
Re: Building a bundle without depending on eclise/plugins/ [message #90950 is a reply to message #90934] Thu, 21 June 2007 07:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alex_blewitt.yahoo.com

You can create a 'target platform' (sadly, just one per Eclipse workspace rather than per project) and put in only the bundles you want in there for testing purposes.

However, when it's installed into another Eclipse instance, they'll all go in the eclipse/pugins/ directory.

Alex.
Re: Building a bundle without depending on eclise/plugins/ [message #90997 is a reply to message #90934] Thu, 21 June 2007 16:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stepper.sympedia.de

Klaus,

If you want to depend on certain packages (optionally incl. package version) no matter which bundle actually exports them then you can just import these packages rather than requiring a certain bundle:

Import-Package: javax.jms;version="1.1.0",
javax.servlet;version="2.4.0",
javax.servlet.http;version="2.4.0"

Cheers
/Eike


Klaus Marius Hansen schrieb:
> Hello,
>
> I am trying to build a bundle where I would like to redistribute the
> Eclipse project to people who do not necessary have the exact same
> bundles in their eclipse/plugins directory.
>
> Is there a way to use bundles that are local to the project to resolve
> dependencies? (I, e.g., have a javax.servlet bundle that I would like to
> put in the bundle project and let my bundle resolve javax.servlet
> classes using that).
>
> Best Regards,
> Klaus
Re: Building a bundle without depending on eclise/plugins/ [message #91072 is a reply to message #90997] Fri, 22 June 2007 14:22 Go to previous message
Eclipse UserFriend
Originally posted by: marius.daimi.au.dk

Eike Stepper skrev:
> Klaus,
>
> If you want to depend on certain packages (optionally incl. package
> version) no matter which bundle actually exports them then you can just
> import these packages rather than requiring a certain bundle:
>
> Import-Package: javax.jms;version="1.1.0",
> javax.servlet;version="2.4.0",
> javax.servlet.http;version="2.4.0"
>

Yes, thanks, but still my problem is that I depend on people actually
putting a bundle that exports javax.servlet et al. in the Eclipse
plugins directory. But that, I suppose, is the easiest thing to do.

Best,
Klaus
Previous Topic:URLClassLoader, RMI & Equinox
Next Topic:Eclipse 3.2.2 plug-in manifest editor does find org.eclipse.equinox.http.registry.servlets
Goto Forum:
  


Current Time: Fri Apr 26 20:42:54 GMT 2024

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

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

Back to the top