Working rap Eclipse 4
[gpl/argeo-tp.git] / META-INF / spring / distribution.xml
index b532eb4a5dad81338dae13fbcb33e79ff515f215..0ba924e52cbcb8283ba2ee82d2dd6076ae484cfd 100644 (file)
        <!-- REGISTER -->
        <bean id="argeo-tp" class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
                init-method="init" destroy-method="destroy">
-               <constructor-arg value="org.argeo.tp:argeo-tp:2.1.19" />
+               <constructor-arg value="org.argeo.tp:argeo-tp:2.1.20-SNAPSHOT" />
                <property name="modules">
                        <list>
                                <!-- Javax -->
-                               <ref bean="javax.inject" />
+<!--                           <ref bean="javax.inject" /> -->
                                <ref bean="javax.jcr" />
-                               <ref bean="javax.mail" />
                                <ref bean="javax.transaction" />
+                               <ref bean="javax.mail" />
+<!--                           <ref bean="javax.annotation" /> -->
 
                                <!-- Builder -->
                                <ref bean="biz.aQute.bnd" />
@@ -60,7 +61,7 @@
                                <ref bean="apache/org.apache.commons.vfs" />
                                <ref bean="apache/org.apache.commons.net" />
                                <ref bean="apache/org.apache.commons.exec" />
-                               <ref bean="apache/org.apache.commons.jxpath" />
+<!--                           <ref bean="apache/org.apache.commons.jxpath" /> -->
                                <!-- <ref bean="apache/org.apache.commons.jci" /> -->
                                <ref bean="apache/org.apache.commons.compress" />
                                <ref bean="apache/org.apache.commons.lang3" />
@@ -70,7 +71,7 @@
                                <ref bean="com.google.gson" />
 
                                <!-- Eclipse -->
-                               <ref bean="eclipse/org.argeo.tp.jetty" />
+<!--                           <ref bean="eclipse/org.argeo.tp.jetty" /> -->
                                <ref bean="eclipse/org.argeo.tp.equinox" />
                                <ref bean="eclipse/org.argeo.tp.gemini" />
 
                </property>
        </bean>
 
+       <bean id="argeo-tp-rap-e4" class="org.argeo.slc.repo.osgi.ArgeoOsgiDistributionImpl"
+               init-method="init" destroy-method="destroy">
+               <constructor-arg value="org.argeo.tp:argeo-tp-rap-e4:2.1.20-SNAPSHOT" />
+               <property name="modules">
+                       <list>
+                               <ref bean="eclipse/org.argeo.tp.rap.e4" />
+                       </list>
+               </property>
+       </bean>
+
        <!-- Factory -->
        <bean id="osgiFactory" class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
                init-method="init" destroy-method="destroy">
                                                <!-- <value>http://eclipse.mirror.garr.it/mirrors/eclipse</value> -->
                                                <!-- <value>http://mirror.netcologne.de/eclipse</value> -->
                                                <!-- <value>http://mirror.selfnet.de/eclipse</value> -->
-<!--                                           <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value> -->
+                                               <!-- <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value> -->
                                        </list>
                                </entry>
                        </map>
                        <property name="osgiDistribution" ref="argeo-tp" />
                        <property name="osgiFactory" ref="osgiFactory" />
                </bean>
+               <bean class="org.argeo.slc.repo.osgi.ProcessDistribution">
+                       <property name="osgiDistribution" ref="argeo-tp-rap-e4" />
+                       <property name="osgiFactory" ref="osgiFactory" />
+               </bean>
        </flow:flow>
 
        <!-- Security -->