Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Bundles in Virgo, Bundles in Eclipse RCP
Bundles in Virgo, Bundles in Eclipse RCP [message #666460] Wed, 20 April 2011 10:05 Go to next message
Benoit Lafleche is currently offline Benoit Lafleche
Messages: 10
Registered: April 2011
Junior Member
Hi,

I'm new to VIRGO and want to start using it. I have just finished and tried the GREENPAGES example and one question i have is about the manifest.

I was building Plug-in (bundles) in eclipse RCP and now I want to install some of those non ui bundles into VIRGO.


The manifest in RCP goes directly at the root on the project while when creating a Bundle project from the Eclipse RT group, the manifest is being created in the source folder.

Is the manifest when creating a Plugin project could be the same as the manifest for VIRGO?

Do I need to copy the content of one into the other?

Normally, I would like to continue and use the same bundle in my RCP project and VIRGO until I fully move to the VIRGO server
and possibly maintain only one manifest.


I will continue to read and test, but If someone could have a quick answer on this, that would be great!

Merci, Benoit

Re: Bundles in Virgo, Bundles in Eclipse RCP [message #666593 is a reply to message #666460] Thu, 21 April 2011 04:52 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
Welcome!

Unfortunately, I don't think the Virgo tooling allows you to reposition the manifest, so it is necessary to move it into the src folder if you want to manage the bundle using the Virgo tooling.

I suppose the alternative is to stay with the plugin project for now and work with an exported bundle which will, of course, have the manifest in the right place.

Please note that we are making good progress on donating the Virgo tooling to Eclipse. The donation is complete, the tooling builds, and it is in the process of being debugged. So feel free to raise an enhancement bug against Virgo to cover your requirement.

Also, you may like to look into the Libra tooling as that is pretty slick and combines the strengths of PDE with the WTP tooling. I would say it is the strategic way forward for building standard OSGi bundles in Eclipse.

Hope that helps!
Re: Bundles in Virgo, Bundles in Eclipse RCP [message #670039 is a reply to message #666593] Thu, 12 May 2011 09:40 Go to previous message
Benoit Lafleche is currently offline Benoit Lafleche
Messages: 10
Registered: April 2011
Junior Member
Hi Again,

This one now is some kind related to the previous problem and I just want to be sure it is all the same.

If I have files that I want to be exported part of the Bundle export process or the PAR Export process, but they are not listed in a source folder, then they do not get exported.

Is there a way to do it like in RCP with the build.properties file ? This tab dissapear when the project is converted into OSGI Bundle project nature I tried to find an option in the project property, but did not find any!

It took some time to figure this one as when testing with VIRGO running inside STS, then draging the PAR project into the server, the files was accessible. When I was ready to deploy it to my real dev server, then I was getting some strange errors as file not found. It is after I opened the bundles that I found they were missing!


So, it look like it is a bit more work to move my RCP bundle to conform to a VIRGO bundle!


Thank again,
Benoit
Previous Topic:more then one servlet
Next Topic:unchecked exceptions in console
Goto Forum:
  


Current Time: Thu Aug 21 10:19:52 EDT 2014

Powered by FUDForum. Page generated in 0.01431 seconds