|
|
|
Re: Set up a local directory as a repository [message #715711 is a reply to message #715675] |
Mon, 15 August 2011 09:24 |
|
Hi,
I just did this on 3.0.0.M06 and it worked for me. I moved the bundles for the admin console to a new 'repository/osgi-samples' directory and changed my config file to the following.
ext.type=external
ext.searchPattern=repository/ext/{artifact}
usr.type=watched
usr.watchDirectory=repository/usr
osgi-samples.type=watched
osgi-samples.watchDirectory=repository/osgi-samples
chain=ext,usr,osgi-samples
It worked fine, found the files in the new repo and started them up. What version of Virgo are you using and how are you deploying the bundles that use the packages in the new repo folder?
Chris.
------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
|
|
|
|
Re: Set up a local directory as a repository [message #716072 is a reply to message #715864] |
Tue, 16 August 2011 12:03 |
|
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.
------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
|
|
|
Powered by
FUDForum. Page generated in 0.03648 seconds