Add Felix
[gpl/argeo-tp.git] / META-INF / spring / distribution.xml
index 3c1eef0d6a571c05186864954e5512ab4a177a6c..e7c6246239f50dc515b873d13033b3b6ff2d356d 100644 (file)
                                <ref bean="org.argeo.tp.apache.tomcat/org.apache.tomcat" />
                                <ref bean="org.argeo.tp/org.aopalliance" />
                                <ref bean="org.argeo.tp.spring/org.springframework" />
+                               <!-- Felix -->
+                               <ref bean="org.apache.felix.framework" />
+                               <ref bean="org.apache.felix.bundlerepository" />
+                               <ref bean="org.apache.felix.gogo.command" />
+                               <ref bean="org.apache.felix.gogo.runtime" />
+                               <ref bean="org.apache.felix.gogo.shell" />
                        </list>
                </property>
        </bean>
                </property>
        </bean>
 
+       <flow:flow name="processDistribution">
+               <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
+                       <property name="osgiDistribution" ref="org.argeo.tp" />
+                       <property name="osgiFactory" ref="osgiFactory" />
+               </bean>
+       </flow:flow>
+
        <!-- Specs and templates -->
        <flow:spec id="spec.version">
                <flow:primitive name="version" isParameter="true" />