Merge branch 'master' of
[gpl/argeo-tp.git] / META-INF / spring / distribution.xml
index 3c1eef0d6a571c05186864954e5512ab4a177a6c..1c2b8cb753ca69fd89d011cdd1743a767afe3fd3 100644 (file)
                                <ref bean="org.argeo.tp/org.slf4j" />
                                <ref bean="org.argeo.tp.apache.tomcat/org.apache.tomcat" />
                                <ref bean="org.argeo.tp/org.aopalliance" />
+                               <ref bean="org.argeo.tp/org.aspectj" />
                                <ref bean="org.argeo.tp.spring/org.springframework" />
+                               <ref bean="org.argeo.tp.apache.ant/org.apache.ant" />
+                               <!-- 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>
        <!-- Factory -->
        <bean id="osgiFactory" class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
                init-method="init" destroy-method="destroy">
-               <property name="workspace" value="org.argeo.tp-2.1.x" />
+               <property name="workspace" value="argeo-tp-2.1" />
                <property name="nodeIndexers">
                        <list>
                                <bean class="org.argeo.slc.repo.ArtifactIndexer" />
                                <bean class="org.argeo.slc.repo.JarFileIndexer" />
+                               <!--  Added by BSinou - To be checked -->
+                               <!--  <bean class="org.argeo.slc.repo.ModularDistributionIndexer" />
+                               <bean class="org.argeo.slc.repo.PdeSourcesIndexer" />  -->
                        </list>
                </property>
                <property name="mirrors">
                </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" />
                <property name="osgiFactory" ref="osgiFactory" />
        </bean>
 
-</beans>
\ No newline at end of file
+</beans>