You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by da...@apache.org on 2008/12/23 13:58:31 UTC

svn commit: r728941 - /cxf/sandbox/dosgi/distribution/single-bundle/pom.xml

Author: davidb
Date: Tue Dec 23 04:58:31 2008
New Revision: 728941

URL: http://svn.apache.org/viewvc?rev=728941&view=rev
Log:
Generate single-bundle configuration file for Equinox too.

Modified:
    cxf/sandbox/dosgi/distribution/single-bundle/pom.xml

Modified: cxf/sandbox/dosgi/distribution/single-bundle/pom.xml
URL: http://svn.apache.org/viewvc/cxf/sandbox/dosgi/distribution/single-bundle/pom.xml?rev=728941&r1=728940&r2=728941&view=diff
==============================================================================
--- cxf/sandbox/dosgi/distribution/single-bundle/pom.xml (original)
+++ cxf/sandbox/dosgi/distribution/single-bundle/pom.xml Tue Dec 23 04:58:31 2008
@@ -266,21 +266,27 @@
                 <fileset dir="target" id="single.bundle">
                   <include name="*.jar"/>
                 </fileset>
-                <pathconvert pathsep=" file:/" property="bundles" refid="single.bundle"/>
+                <pathconvert pathsep="" property="bundle" refid="single.bundle"/>
 
-                <fileset dir="target/deps" id="dep.bundles">
+                <fileset dir="target/deps" id="felix.dep.bundles">
                   <include name="*.jar"/>
                 </fileset>
-                <pathconvert pathsep=" file:/" property="deps" refid="dep.bundles"/>
+                <pathconvert pathsep=" file:/" property="felix.deps" refid="felix.dep.bundles"/>
 
-
-                <echo file="target/config.properties.append">
+                <!-- config.properties file for Felix -->
+                <echo file="target/felix.config.properties.append">
 org.osgi.framework.startlevel=2
 felix.auto.start.2=
                 </echo>
-                <echo message=" file:/${deps} file:/${bundles}" file="target/config.properties.append" append="true"/>
+                <echo message="file:/${felix.deps} file:/${bundle}" file="target/felix.config.properties.append" append="true"/>
+                <replace file="target/felix.config.properties.append" token="\" value="/"/>
 
-                <replace file="target/config.properties.append" token="\" value="/"/>
+                <!-- config.ini file for Equinox -->
+                <echo file="target/equinox.config.properties.append">
+osgi.bundles=org.eclipse.osgi.services@start, 
+                </echo>
+                <echo message="${bundle}@start" file="target/equinox.config.properties.append" append="true"/>
+                <replace file="target/equinox.config.properties.append" token="\" value="/"/>
               </tasks>
             </configuration>
             <goals>