Hi All, I'm trying to create servicemix SRPM that will build a servicemix RPM that has certain services pre-enabled, and has some jars that are not part of the servicemix distribution pre-installed as part o the archive.
The configuration I'm talking about amounts to do the following from the servicemix client at runtime: features:install camel-jdbc features:install camel-sql features:install camel-jaxb features:install camel-jms features:install camel-cxf features:install woodstox osgi:install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.2.2_6 osgi:install -s wrap:mvn:mysql/mysql-connector-java/5.1.6 I have an RPM that will do this but the methodology used is not reliable. What I did was essentially start servicemix at build time, run the client and send those commands above to it, and then stop servicemix. This ends up with several timing issues and does not support two people on the same build system building this RPM at the same time. What I want to do is alter some files to enable these services and drop in the jars in a particular directory and then package up that directory tree as an RPM (i.e. all of servicemix with these changes). Is there a way to do this? Is there documentation I'm missing somehow? Thanks...James
