You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Michael Van <mv...@comcast.net> on 2010/08/06 05:43:16 UTC

Using Karaf to deploy large Projects, like Servicemix

The project I'm on requires the use of 136 different bundles, and I've
figured out how to use a features.xml file to ensure they are all deployed
properly.  One question I have after studying how Servicemix deploys into
Karaf, is how do you create a new directory for jbi inside of the /data
directory?  What are the benefits of this?  I could gush about how pro you
are, but hey, you already know that.  So how should I proceed?  I have the
features xml file ready to go, but I'd rather use a solution along the lines
of what you folks do. Create a directory in data and go from there.

Anyhow, thanks for your time.
-- 
View this message in context: http://servicemix.396122.n5.nabble.com/Using-Karaf-to-deploy-large-Projects-like-Servicemix-tp2266250p2266250.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Re: Using Karaf to deploy large Projects, like Servicemix

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

The data/jbi folder is created by jbi deployer, and it's used to host  
the JBI components only, not for common bundles.
I'm not very clear about your question, do you mean you want to create  
a folder under /data and all bundles defined in your features get  
installed into that folder?
If so, I don't think it's possible, as all common bundles should be in  
data/cache.
More over, whole data folder is generated automatically on the fly,   
you shouldn't change it yourself.

Freeman
On 2010-8-6, at 上午11:43, Michael Van wrote:

>
> The project I'm on requires the use of 136 different bundles, and I've
> figured out how to use a features.xml file to ensure they are all  
> deployed
> properly.  One question I have after studying how Servicemix deploys  
> into
> Karaf, is how do you create a new directory for jbi inside of the / 
> data
> directory?  What are the benefits of this?  I could gush about how  
> pro you
> are, but hey, you already know that.  So how should I proceed?  I  
> have the
> features xml file ready to go, but I'd rather use a solution along  
> the lines
> of what you folks do. Create a directory in data and go from there.
>
> Anyhow, thanks for your time.
> -- 
> View this message in context: http://servicemix.396122.n5.nabble.com/Using-Karaf-to-deploy-large-Projects-like-Servicemix-tp2266250p2266250.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.


-- 
Freeman Fang

------------------------
Open Source SOA: http://fusesource.com
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org


Re: Using Karaf to deploy large Projects, like Servicemix

Posted by Johan Edstrom <jo...@opennms.org>.
If you have a features file for deployment, you have the basis of deploying everything from maven.
If you peek at the servicemix assembly, you'll also see how that assembly plugin is used to create what goes 
into the 'system' directory and the etc directories, that way you could build a large tar-ball for an 
offline deployment of all your bundles and features.


On Aug 5, 2010, at 9:43 PM, Michael Van wrote:

> 
> The project I'm on requires the use of 136 different bundles, and I've
> figured out how to use a features.xml file to ensure they are all deployed
> properly.  One question I have after studying how Servicemix deploys into
> Karaf, is how do you create a new directory for jbi inside of the /data
> directory?  What are the benefits of this?  I could gush about how pro you
> are, but hey, you already know that.  So how should I proceed?  I have the
> features xml file ready to go, but I'd rather use a solution along the lines
> of what you folks do. Create a directory in data and go from there.
> 
> Anyhow, thanks for your time.
> -- 
> View this message in context: http://servicemix.396122.n5.nabble.com/Using-Karaf-to-deploy-large-Projects-like-Servicemix-tp2266250p2266250.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Johan Edstrom

joed@opennms.org

They that can give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety.

Benjamin Franklin, Historical Review of Pennsylvania, 1759