|Set up a local directory as a repository [message #715542]
||Sun, 14 August 2011 08:54
Registered: August 2011
My application bundles require import a set of bundles. This is a set of bundles that my applications use commonly and the versions rarely change. Therefore rather than installing these I would like to keep them in a directory (a local directory currently and later I would probably set up a remote directory). |
I also do not want to modify the repositories of Virgo default installation.
Therefore I tried to set up a separate repository for this set of bundle applications.
I edited the virgo/config/org.eclipse.virgo.repository.properties file as follows:
And put the relevant bundles in the "virgo/repository/osgi-samples" directory.
I restarted the server but my application bundles could not resolve the packages in the bundles in "virgo/repository/osgi-samples" directory.
What am I doing wrong.
|Re: Set up a local directory as a repository [message #716072 is a reply to message #715864]
||Tue, 16 August 2011 08:03
| Chris Frost
Registered: January 2010
Location: Southampton, England
I used the admin console to test it out. I moved the bundles it depends on to the new repository folder then deployed the app from pickup to see if they got pulled in. I just tried it on 2.1.1 and it is working fine for me.|
To cover all the obvious stuff. Can you try this on a clean unzip of 2.1.1, if you haven't already. Double check the manifests in the built jar files that demo.jar really does import form core.jar.
If we still haven't got a solution could you raise a Bugzilla and attache the jar files. I'm going to need to look at this closer to figure out what is going wrong. If it makes you feel better, you are doing everything right from what I can see and this should be working.
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
Powered by FUDForum
. Page generated in 0.03134 seconds