Argeo TP v2.1.15
[gpl/argeo-tp.git] / META-INF / spring / eclipse.rap.xml
index 0000d269fbd8eb80ca86e6443214176f9f4dc08b..32bbbbc942e9193b141a02f1d198cb304c130834 100644 (file)
        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
        http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-0.12.xsd">
 
-       <!-- RAP 2.2 -->
-       <flow:flow name="eclipse/org.argeo.tp.rap.platform_2.2.0"
-               parent="template.importRapZip">
-               <flow:arg name="rapBranch" value="2.2" />
-               <flow:arg name="rapVersion" value="2.2.0-R-20131204-0942" />
+       <!-- Eclipse rap platform -->
+       <flow:flow name="eclipse/org.argeo.tp.rap.platform" parent="template.importRap">
+               <flow:arg name="rapRelease" value="3.0" />
+               <flow:arg name="rapTimestamp" value="3.0.2-SR2-20160201-1220" />
        </flow:flow>
 
-       <flow:flow name="eclipse/org.argeo.tp.rap.platform_2.2.0-M1"
-               parent="template.importRapZip">
-               <flow:arg name="rapBranch" value="2.2" />
-               <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="eclipse/org.argeo.tp.rap.addons_0.5.0"
-               parent="template.importRapAddonsZip">
-               <flow:arg name="rapBranch" value="2.2" />
-               <flow:arg name="rapVersion" value="0.5.0.argeo.20141029" />
-       </flow:flow>
-
-       <flow:flow name="eclipse/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" />
-                                                       <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="eclipse/org.argeo.tp.rap.platform_2.1.2"
-               parent="template.importRapZip">
-               <flow:arg name="rapBranch" value="2.1" />
-               <flow:arg name="rapVersion" value="2.1.2-R-20140210-0628" />
-       </flow:flow>
-
-       <flow:flow name="eclipse/org.argeo.tp.rap.platform_2.1.0-R"
-               parent="template.importRapZip">
-               <flow:arg name="rapBranch" value="2.1" />
-               <flow:arg name="rapVersion" value="2.1.0-R-20130611-2139" />
-       </flow:flow>
-
-       <flow:flow name="eclipse/org.argeo.tp.rap.platform_2.1.0-M1"
-               parent="template.importRapZip">
-               <flow:arg name="rapBranch" value="2.1" />
-               <flow:arg name="rapVersion" value="2.1.0-M1-20130318-2137" />
-       </flow:flow>
-
-       <!-- RAP specs and templates -->
+       <!-- Rap specs and templates -->
        <flow:spec id="rapVersion.spec">
-               <flow:primitive name="rapBranch" isParameter="true" />
-               <flow:primitive name="rapVersion" isParameter="true" />
+               <flow:primitive name="rapRelease" isParameter="true" />
+               <flow:primitive name="rapTimestamp" isParameter="true" />
        </flow:spec>
 
-       <flow:flow id="template.importRapZip" spec="rapVersion.spec"
+       <flow:flow id="template.importRap" 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-@{rapVersion}.zip" />
+                               value="http://www.eclipse.org/downloads/rt/rap/@{rapRelease}/rap-@{rapTimestamp}.zip" />
                        <property name="includes">
                                <map>
-                                       <entry key="plugins/*.jar" value="org.argeo.tp.rap.platform" />
+                                       <!-- Eclipse core -->
+                                       <entry key="plugins/org.eclipse.core.*.jar" value="org.argeo.tp.rap.platform" />
+
+                                       <!-- RWT -->
+                                       <entry key="plugins/org.eclipse.rap.rwt_*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.rwt.source_*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.rwt.osgi_*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.rwt.osgi.source_*.jar"
+                                               value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.fileupload_*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.filedialog_*.jar" value="org.argeo.tp.rap.platform" />
+
+                                       <!-- RAP UI with the workbench -->
+                                       <entry key="plugins/org.eclipse.rap.ui.workbench*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.ui_*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.ui.source_*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.ui.views*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.jface*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.rap.ui.forms*.jar" value="org.argeo.tp.rap.platform" />
+                                       <entry key="plugins/org.eclipse.help*.jar" value="org.argeo.tp.rap.platform" />
+
+                                       <!-- Misc -->
+                                       <entry key="plugins/com.ibm.icu.base*.jar" value="org.argeo.tp.rap.platform" />
                                </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="mirrors">
-                                               <map>
-                                                       <entry key="http://www.eclipse.org/downloads">
-                                                               <list>
-                                                                       <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>
-                                                               </list>
-                                                       </entry>
-                                               </map>
-                                       </property>
-
-                                       <property name="nodeIndexers">
-                                               <list>
-                                                       <bean class="org.argeo.slc.repo.ArtifactIndexer" />
-                                                       <bean class="org.argeo.slc.repo.JarFileIndexer" />
-                                                       <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>
+                       <property name="osgiFactory" ref="osgiFactory" />
                </bean>
        </flow:flow>
 
+       <!-- Addons -->
 
+       <!-- The corresponding zip must be manually imported in the dist repo at 
+               path org/eclipse/www/downloads/rt/rap/addons/@{rapRelease}/ -->
 
+       <!-- <flow:flow name="eclipse/org.argeo.tp.rap.addons" parent="template.importRapAddons"> -->
+       <!-- <flow:arg name="rapRelease" value="0.6" /> -->
+       <!-- <flow:arg name="rapTimestamp" value="0.6.0.v20150207" /> -->
+       <!-- </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" 
-               value="0.2.0.20131212-1229" /> <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper"> 
-               <property name="version" value="@{rapVersion}" /> <property name="mavenGroupIndexes" 
-               value="true" /> <property name="uri" value="file:///tmp/" /> <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="mirrors"> <map> <entry key="http://www.eclipse.org/downloads"> 
-               <list> <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> 
-               </list> </entry> </map> </property> <property name="nodeIndexers"> <list> 
-               <bean class="org.argeo.slc.repo.ArtifactIndexer" /> <bean class="org.argeo.slc.repo.JarFileIndexer" 
-               /> <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> -->
-
-       <!-- Import bundles zip -->
-       <!-- <flow:spec id="importZip.spec"> -->
-       <!-- <flow:primitive name="groupId" /> -->
-       <!-- <flow:primitive name="workspace" /> -->
-       <!-- <flow:primitive name="zipFile" value="file:///tmp/" /> -->
-       <!-- </flow:spec> -->
-
-       <!-- <flow:flow id="importZip.template" spec="importZip.spec" -->
+       <!-- <flow:flow id="template.importRapAddons" spec="rapVersion.spec" -->
        <!-- abstract="true"> -->
-       <!-- <bean class="org.argeo.slc.repo.osgi.ImportBundlesZip"> -->
-       <!-- <property name="workspace" value="@{workspace}" /> -->
-       <!-- <property name="groupId" value="@{groupId}" /> -->
-       <!-- <property name="zipFile" value="@{zipFile}" /> -->
-       <!-- <property name="repository" ref="javaRepository" /> -->
+       <!-- <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper"> -->
+       <!-- <property name="uri" -->
+       <!-- value="http://www.eclipse.org/downloads/rt/rap/addons/@{rapRelease}/addons-@{rapTimestamp}.zip" 
+               /> -->
+       <!-- <property name="includes"> -->
+       <!-- <map> -->
+       <!-- <entry key="plugins/org.eclipse.rap.addons.*.jar" value="org.argeo.tp.rap" 
+               /> -->
+       <!-- </map> -->
+       <!-- </property> -->
+       <!-- <property name="osgiFactory" ref="osgiFactory" /> -->
        <!-- </bean> -->
        <!-- </flow:flow> -->
 </beans>
\ No newline at end of file