Building a bundle without depending on eclise/plugins/ [message #90934] |
Thu, 21 June 2007 07:07 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04248 seconds