Add addons with drop down to test with Rap 2.2
authorbsinou <bsinou@argeo.org>
Tue, 1 Apr 2014 17:25:26 +0000 (19:25 +0200)
committerbsinou <bsinou@argeo.org>
Tue, 1 Apr 2014 17:25:26 +0000 (19:25 +0200)
META-INF/spring/org.argeo.tp.rap.xml

index 9fdc1387b83e4a671652c08799e4a209456e7a58..9b7349396e7b3e7ec725162496e1d7d918dd16ca 100644 (file)
                <flow:arg name="rapVersion" value="2.2.0-M1-20130821-1618" />
        </flow:flow>
 
+       <!-- RAP ADDONS - experimental: use a zip that has been manually uploaded 
+               in the dist repo -->
+       <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.addons_0.2.0"
+               parent="template.importRapAddonsZip">
+               <flow:arg name="rapBranch" value="2.2" />
+               <flow:arg name="rapVersion" value="0.2.0.20131212-1229" />
+       </flow:flow>
+
+       <flow:flow id="template.importRapAddonsZip" spec="rapVersion.spec"
+               abstract="true">
+               <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper">
+                       <property name="version" value="@{rapVersion}" />
+                       <property name="mavenGroupIndexes" value="true" />
+                       <property name="uri"
+                               value="http://www.eclipse.org/downloads/rt/rap/@{rapBranch}/rap-addons-@{rapVersion}.zip" />
+                       <property name="includes">
+                               <map>
+                                       <entry key="plugins/*.jar" value="org.argeo.tp.rap.addons" />
+                               </map>
+                       </property>
+                       <property name="osgiFactory">
+                               <bean class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
+                                       init-method="init" destroy-method="destroy">
+                                       <property name="workspace" value="eclipse-rap-@{rapBranch}" />
+
+                                       <property name="nodeIndexers">
+                                               <list>
+                                                       <bean class="org.argeo.slc.repo.ArtifactIndexer" />
+                                                       <bean class="org.argeo.slc.repo.JarFileIndexer" />
+                                                       <!-- Works with SLC 1.1.17+ <bean class="org.argeo.slc.repo.ModularDistributionIndexer" 
+                                                               /> <bean class="org.argeo.slc.repo.PdeSourcesIndexer" /> -->
+                                               </list>
+                                       </property>
+                                       <property name="javaRepository" ref="javaRepository" />
+                                       <property name="distRepository" ref="distRepository" />
+                               </bean>
+                       </property>
+               </bean>
+       </flow:flow>
+
+
        <!-- RAP 2.1 -->
        <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.platform_2.1.2"
                parent="template.importRapZip">
        </flow:flow>
 
 
+
+
        <!-- WORK IN PROGRESS add bundle from the incubator to the platform <flow:flow 
                id="org.argeo.tp.rap.addons/org.argeo.tp.rap.dropdown_2.2" spec="rapVersion.spec" 
                abstract="true"> <flow:arg name="rapBranch" value="2.2" /> <flow:arg name="rapVersion"