]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/org.argeo.tp.rap.xml
Merge branch 'master' of
[gpl/argeo-tp.git] / META-INF / spring / org.argeo.tp.rap.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
4 xmlns:util="http://www.springframework.org/schema/util" xmlns:flow="http://www.argeo.org/schema/slc-flow"
5 xsi:schemaLocation="
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
8 http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-0.12.xsd">
9
10 <!-- RAP 2.2 -->
11 <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.platform_2.2.0"
12 parent="template.importRapZip">
13 <flow:arg name="rapBranch" value="2.2" />
14 <flow:arg name="rapVersion" value="2.2.0-R-20131204-0942" />
15 </flow:flow>
16
17 <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.platform_2.2.0-M1"
18 parent="template.importRapZip">
19 <flow:arg name="rapBranch" value="2.2" />
20 <flow:arg name="rapVersion" value="2.2.0-M1-20130821-1618" />
21 </flow:flow>
22
23 <!-- RAP ADDONS - experimental: use a zip that has been manually uploaded
24 in the dist repo -->
25 <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.addons_0.2.0"
26 parent="template.importRapAddonsZip">
27 <flow:arg name="rapBranch" value="2.2" />
28 <flow:arg name="rapVersion" value="0.2.0.20131212-1229" />
29 </flow:flow>
30
31 <flow:flow id="template.importRapAddonsZip" spec="rapVersion.spec"
32 abstract="true">
33 <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper">
34 <property name="version" value="@{rapVersion}" />
35 <property name="mavenGroupIndexes" value="true" />
36 <property name="uri"
37 value="http://www.eclipse.org/downloads/rt/rap/@{rapBranch}/rap-addons-@{rapVersion}.zip" />
38 <property name="includes">
39 <map>
40 <entry key="plugins/*.jar" value="org.argeo.tp.rap.addons" />
41 </map>
42 </property>
43 <property name="osgiFactory">
44 <bean class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
45 init-method="init" destroy-method="destroy">
46 <property name="workspace" value="eclipse-rap-@{rapBranch}" />
47
48 <property name="nodeIndexers">
49 <list>
50 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
51 <bean class="org.argeo.slc.repo.JarFileIndexer" />
52 <!-- Works with SLC 1.1.17+ <bean class="org.argeo.slc.repo.ModularDistributionIndexer"
53 /> <bean class="org.argeo.slc.repo.PdeSourcesIndexer" /> -->
54 </list>
55 </property>
56 <property name="javaRepository" ref="javaRepository" />
57 <property name="distRepository" ref="distRepository" />
58 </bean>
59 </property>
60 </bean>
61 </flow:flow>
62
63
64 <!-- RAP 2.1 -->
65 <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.platform_2.1.2"
66 parent="template.importRapZip">
67 <flow:arg name="rapBranch" value="2.1" />
68 <flow:arg name="rapVersion" value="2.1.2-R-20140210-0628" />
69 </flow:flow>
70
71 <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.platform_2.1.0-R"
72 parent="template.importRapZip">
73 <flow:arg name="rapBranch" value="2.1" />
74 <flow:arg name="rapVersion" value="2.1.0-R-20130611-2139" />
75 </flow:flow>
76
77 <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.platform_2.1.0-M1"
78 parent="template.importRapZip">
79 <flow:arg name="rapBranch" value="2.1" />
80 <flow:arg name="rapVersion" value="2.1.0-M1-20130318-2137" />
81 </flow:flow>
82
83 <!-- RAP specs and templates -->
84 <flow:spec id="rapVersion.spec">
85 <flow:primitive name="rapBranch" isParameter="true" />
86 <flow:primitive name="rapVersion" isParameter="true" />
87 </flow:spec>
88
89 <flow:flow id="template.importRapZip" spec="rapVersion.spec"
90 abstract="true">
91 <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper">
92 <property name="version" value="@{rapVersion}" />
93 <property name="mavenGroupIndexes" value="true" />
94 <property name="uri"
95 value="http://www.eclipse.org/downloads/rt/rap/@{rapBranch}/rap-@{rapVersion}.zip" />
96 <property name="includes">
97 <map>
98 <entry key="plugins/*.jar" value="org.argeo.tp.rap.platform" />
99 </map>
100 </property>
101 <property name="osgiFactory">
102 <bean class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
103 init-method="init" destroy-method="destroy">
104 <property name="workspace" value="eclipse-rap-@{rapBranch}" />
105 <property name="mirrors">
106 <map>
107 <entry key="http://www.eclipse.org/downloads">
108 <list>
109 <value>http://mirror.netcologne.de/eclipse</value>
110 <value>http://mirror.selfnet.de/eclipse</value>
111 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value>
112 </list>
113 </entry>
114 </map>
115 </property>
116
117 <property name="nodeIndexers">
118 <list>
119 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
120 <bean class="org.argeo.slc.repo.JarFileIndexer" />
121 <!-- Works with SLC 1.1.17+ <bean class="org.argeo.slc.repo.ModularDistributionIndexer"
122 /> <bean class="org.argeo.slc.repo.PdeSourcesIndexer" /> -->
123 </list>
124 </property>
125 <property name="javaRepository" ref="javaRepository" />
126 <property name="distRepository" ref="distRepository" />
127 </bean>
128 </property>
129 </bean>
130 </flow:flow>
131
132
133
134
135 <!-- WORK IN PROGRESS add bundle from the incubator to the platform <flow:flow
136 id="org.argeo.tp.rap.addons/org.argeo.tp.rap.dropdown_2.2" spec="rapVersion.spec"
137 abstract="true"> <flow:arg name="rapBranch" value="2.2" /> <flow:arg name="rapVersion"
138 value="0.2.0.20131212-1229" /> <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper">
139 <property name="version" value="@{rapVersion}" /> <property name="mavenGroupIndexes"
140 value="true" /> <property name="uri" value="file:///tmp/" /> <property name="includes">
141 <map> <entry key="plugins/*.jar" value="org.argeo.tp.rap.addons" /> </map>
142 </property> <property name="osgiFactory"> <bean class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
143 init-method="init" destroy-method="destroy"> <property name="workspace" value="eclipse-rap-@{rapBranch}"
144 /> <property name="mirrors"> <map> <entry key="http://www.eclipse.org/downloads">
145 <list> <value>http://mirror.netcologne.de/eclipse</value> <value>http://mirror.selfnet.de/eclipse</value>
146 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value>
147 </list> </entry> </map> </property> <property name="nodeIndexers"> <list>
148 <bean class="org.argeo.slc.repo.ArtifactIndexer" /> <bean class="org.argeo.slc.repo.JarFileIndexer"
149 /> <bean class="org.argeo.slc.repo.ModularDistributionIndexer" /> <bean class="org.argeo.slc.repo.PdeSourcesIndexer"
150 /> </list> </property> <property name="javaRepository" ref="javaRepository"
151 /> <property name="distRepository" ref="distRepository" /> </bean> </property>
152 </bean> </flow:flow> -->
153
154 <!-- Import bundles zip -->
155 <!-- <flow:spec id="importZip.spec"> -->
156 <!-- <flow:primitive name="groupId" /> -->
157 <!-- <flow:primitive name="workspace" /> -->
158 <!-- <flow:primitive name="zipFile" value="file:///tmp/" /> -->
159 <!-- </flow:spec> -->
160
161 <!-- <flow:flow id="importZip.template" spec="importZip.spec" -->
162 <!-- abstract="true"> -->
163 <!-- <bean class="org.argeo.slc.repo.osgi.ImportBundlesZip"> -->
164 <!-- <property name="workspace" value="@{workspace}" /> -->
165 <!-- <property name="groupId" value="@{groupId}" /> -->
166 <!-- <property name="zipFile" value="@{zipFile}" /> -->
167 <!-- <property name="repository" ref="javaRepository" /> -->
168 <!-- </bean> -->
169 <!-- </flow:flow> -->
170 </beans>