Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Bundle provisioning
Bundle provisioning [message #37102] Thu, 11 March 2004 20:35 Go to next message
Eclipse UserFriend
Originally posted by: alexsmr.sympatico.ca

Few questions though:

I've noticed that in M7 there is no way to create "OSGi Bundle" projects
like in M6. Why this was excluded?

I want to develop something similar or reuse existed. Can anybody point me
where are/were the sources?

How can I install bundle "under development" (not packaged into JAR)? Is
there a way to do this in M7?

Thanks,
Alex.
Re: Bundle provisioning [message #37239 is a reply to message #37102] Fri, 12 March 2004 12:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

I'm not sure why the osgi bundle wizard has been removed, nor if it will
be added. You may want to ask that on pde-dev mailing list.
This code is available within the source shipped with M6.
Note that now the plugin wizard has a chack box if you want a bundle.

To install a bundle under development give the regular path of the
bundle (using reference urls (reference:....)).

PaScaL


Alex Smirnoff wrote:

> Few questions though:
>
> I've noticed that in M7 there is no way to create "OSGi Bundle" projects
> like in M6. Why this was excluded?
>
> I want to develop something similar or reuse existed. Can anybody point me
> where are/were the sources?
>
> How can I install bundle "under development" (not packaged into JAR)? Is
> there a way to do this in M7?
>
> Thanks,
> Alex.
>
>
Re: Bundle provisioning [message #37307 is a reply to message #37239] Fri, 12 March 2004 14:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexsmr.sympatico.ca

>
> To install a bundle under development give the regular path of the
> bundle (using reference urls (reference:....)).
>

You mean BundleContext.installBundle("resource:<bundle project name>") will
work? If not, what did you mean then?
Re: Bundle provisioning [message #37542 is a reply to message #37307] Sun, 14 March 2004 22:04 Go to previous message
Eclipse UserFriend
Originally posted by: jeff_mcaffer.REMOVE.ca.ibm.com

The discussions of OSGi bundles was confusing people who were migrating from
Eclipse 2.1 to 3.0. We were finding people doing this conversion/generatoin
when they really don't need to.

The Eclipse 3.0 tooling story (i.e., PDE) is to develop plugins but provide
a save option to write out the bundle manifest. So create a plugin project
and in the PDE editor, check the box that says something like "write a
Bundle manifest file".

As for running a bundle under development, this is the Eclipse "self
hosting" story. You just create a plugin project (plugin == bundle in
Eclipse) and then launch the target. If you want to manage the target
yourself via the console or from code then Pascal's steps are the way to go.
The URL to use is
reference:file:<path to the plugin/bundle project>

Jeff

"Alex Smirnoff" <alexsmr@sympatico.ca> wrote in message
news:c2si30$9fu$1@eclipse.org...
> >
> > To install a bundle under development give the regular path of the
> > bundle (using reference urls (reference:....)).
> >
>
> You mean BundleContext.installBundle("resource:<bundle project name>")
will
> work? If not, what did you mean then?
>
>
Previous Topic:[advice needed] Programmatically installed bundles
Next Topic:Snippet of code to install/update a bundle
Goto Forum:
  


Current Time: Thu Apr 25 05:43:18 GMT 2024

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

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

Back to the top