Skip to main content



      Home
Home » Archived » Libra » Exporting bundles as deployable plugins seems broken
Exporting bundles as deployable plugins seems broken [message #698525] Tue, 19 July 2011 11:40 Go to next message
Eclipse UserFriend
I can't export a Dynamic Web Project with OSGi Bundle facet. I can't make a complete war/jar out of it. I tried to export it as a deployable plugin and it does generate a jar, but the jar does not contain anything from WebContent directory - in other words none of the static contents for the web app become part of the jar that's getting built. Is this working for anyone else?
Re: Exporting bundles as deployable plugins seems broken [message #698531 is a reply to message #698525] Tue, 19 July 2011 11:54 Go to previous messageGo to next message
Eclipse UserFriend
Upon further experimentation I realize if I export it as a war instead of a plugin, it bundles everything correctly. Question is how does one export OSGi bundles that are not WABs.
Re: Exporting bundles as deployable plugins seems broken [message #698933 is a reply to message #698531] Wed, 20 July 2011 09:58 Go to previous message
Eclipse UserFriend
Sahoo, if you want to export an OSGi Bundle, or a WAB as an OSGi Bundle, then the correct wizard is exactly what you have guessed -- export as deployable plugin. Pay attention that this wizard is part of PDE and it considers the build.properties descriptor when deciding what content will be exported in the JAR. So, make sure all you static content is described in the build.properties file before exporting.

[Updated on: Wed, 20 July 2011 10:01] by Moderator

Previous Topic:Auto resource refresh on save
Next Topic:No classes from WEB-INF/classes returned by Bundle.getEntryPaths
Goto Forum:
  


Current Time: Sat Mar 15 03:00:10 EDT 2025

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

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

Back to the top