]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/org.argeo.tp.rap.xml
Adapt to new features of SLC v1.1.14
[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-M1"
12 parent="template.importRapZip">
13 <flow:arg name="rapBranch" value="2.2" />
14 <flow:arg name="rapVersion" value="2.2.0-M1-20130821-1618" />
15 </flow:flow>
16
17 <!-- RAP 2.1 -->
18 <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.platform_2.1.0-R"
19 parent="template.importRapZip">
20 <flow:arg name="rapBranch" value="2.1" />
21 <flow:arg name="rapVersion" value="2.1.0-R-20130611-2139" />
22 </flow:flow>
23
24 <flow:flow name="org.argeo.tp.rap/org.argeo.tp.rap.platform_2.1.0-M1"
25 parent="template.importRapZip">
26 <flow:arg name="rapBranch" value="2.1" />
27 <flow:arg name="rapVersion" value="2.1.0-M1-20130318-2137" />
28 </flow:flow>
29
30 <!-- RAP specs and templates -->
31 <flow:spec id="rapVersion.spec">
32 <flow:primitive name="rapBranch" isParameter="true" />
33 <flow:primitive name="rapVersion" isParameter="true" />
34 </flow:spec>
35
36 <flow:flow id="template.importRapZip" spec="rapVersion.spec"
37 abstract="true">
38 <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper">
39 <property name="version" value="@{rapVersion}" />
40 <property name="mavenGroupIndexes" value="true" />
41 <property name="uri"
42 value="http://www.eclipse.org/downloads/rt/rap/@{rapBranch}/rap-@{rapVersion}.zip" />
43 <property name="includes">
44 <map>
45 <entry key="plugins/*.jar" value="org.argeo.tp.rap.platform" />
46 </map>
47 </property>
48 <property name="osgiFactory">
49 <bean class="org.argeo.slc.repo.osgi.OsgiFactoryImpl"
50 init-method="init" destroy-method="destroy">
51 <property name="workspace" value="org.argeo.tp.rap-@{rapBranch}.x" />
52 <property name="mirrors">
53 <map>
54 <entry key="http://www.eclipse.org/downloads">
55 <list>
56 <value>http://mirror.netcologne.de/eclipse</value>
57 <value>http://mirror.selfnet.de/eclipse</value>
58 <value><![CDATA[http://www.eclipse.org/downloads/download.php?file=]]></value>
59 </list>
60 </entry>
61 </map>
62 </property>
63
64 <property name="nodeIndexers">
65 <list>
66 <bean class="org.argeo.slc.repo.ArtifactIndexer" />
67 <bean class="org.argeo.slc.repo.JarFileIndexer" />
68 </list>
69 </property>
70 <property name="javaRepository" ref="javaRepository" />
71 <property name="distRepository" ref="distRepository" />
72 </bean>
73 </property>
74 </bean>
75 </flow:flow>
76
77 <!-- Import bundles zip -->
78 <!-- <flow:spec id="importZip.spec"> -->
79 <!-- <flow:primitive name="groupId" /> -->
80 <!-- <flow:primitive name="workspace" /> -->
81 <!-- <flow:primitive name="zipFile" value="file:///tmp/" /> -->
82 <!-- </flow:spec> -->
83
84 <!-- <flow:flow id="importZip.template" spec="importZip.spec" -->
85 <!-- abstract="true"> -->
86 <!-- <bean class="org.argeo.slc.repo.osgi.ImportBundlesZip"> -->
87 <!-- <property name="workspace" value="@{workspace}" /> -->
88 <!-- <property name="groupId" value="@{groupId}" /> -->
89 <!-- <property name="zipFile" value="@{zipFile}" /> -->
90 <!-- <property name="repository" ref="javaRepository" /> -->
91 <!-- </bean> -->
92 <!-- </flow:flow> -->
93 </beans>