Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Bundlor and 'static resources'
Bundlor and 'static resources' [message #1010903] Mon, 18 February 2013 12:56 Go to next message
Daniel McGreal is currently offline Daniel McGrealFriend
Messages: 12
Registered: January 2013
Junior Member
I have a bunch of packages I wish to export from a MANIFEST, which do not contain any java classes and are not even compiled to target/classes. The documentation suggests that static resources can be included, but doesn't give any details on what it means by 'static resources', how they are detected or by what criteria.

So, if I have a structure like:
project
-> directory
--> subdirectory1
---> ...
--> subdirectory2
---> ...
--> subdirectory3
---> ...

is it possible to have bundler automatically detect all the 'packages' to export? There may be many of these directories.

Pre-thanks,
Dan.
Re: Bundlor and 'static resources' [message #1012908 is a reply to message #1010903] Fri, 22 February 2013 12:49 Go to previous messageGo to next message
Daniel McGreal is currently offline Daniel McGrealFriend
Messages: 12
Registered: January 2013
Junior Member
Hi, even any vague answer would likely help Smile
Thanks, Dan.
Re: Bundlor and 'static resources' [message #1016409 is a reply to message #1012908] Wed, 06 March 2013 11:35 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
I would suggest adding an Import-Package statement to your bundlor template.
Re: Bundlor and 'static resources' [message #1018801 is a reply to message #1016409] Thu, 14 March 2013 13:44 Go to previous messageGo to next message
Charlie Mordant is currently offline Charlie MordantFriend
Messages: 81
Registered: July 2010
Member

Static resources are usually located in the resource folder (src/main/resources with Maven).
My resources package exports are done for spring context located in src/main/resources/spring/...xml
Re: Bundlor and 'static resources' [message #1020407 is a reply to message #1018801] Mon, 18 March 2013 05:16 Go to previous messageGo to next message
Daniel McGreal is currently offline Daniel McGrealFriend
Messages: 27
Registered: April 2012
Junior Member
Thanks for the replies, when I come back to this problem I'll report back any success.
Re: Bundlor and 'static resources' [message #1431444 is a reply to message #1020407] Thu, 25 September 2014 17:51 Go to previous message
Hüseyin Kartal is currently offline Hüseyin KartalFriend
Messages: 12
Registered: July 2009
Junior Member
hi,

at first have you solved that issue.

i run into the same problem. bundlor doesn't export static resources. so i downloaded the bundlor.zip to call it from the command line. And i find out that the generated manifest differs from the phase the project was.

if you call mvn package before calling the cli bunlor it generates all resources.

but i don't know how to fix this in the pom
Previous Topic:Any owners of the #virgo IRC channel on Freenode around?
Next Topic:Bundle Error:Import-package:xxxx can not be resovled
Goto Forum:
  


Current Time: Wed Nov 26 21:46:26 GMT 2014

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

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