]> git.argeo.org Git - gpl/argeo-tp.git/blob - META-INF/spring/org.argeo.tp.rap.xml
Working RAP import zip
[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 <bean name="org.argeo.tp.rap/org.argeo.tp.rap.platform_2.1.0-M1"
11 parent="template.importRapZip">
12 <constructor-arg>
13 <map>
14 <entry key="rapBranch" value="2.1" />
15 <entry key="rapVersion" value="2.1.0-M1-20130318-2137" />
16 </map>
17 </constructor-arg>
18 </bean>
19
20 <!-- RAP specs and templates -->
21 <flow:spec id="rapVersion.spec">
22 <flow:primitive name="rapBranch" isParameter="true" />
23 <flow:primitive name="rapVersion" isParameter="true" />
24 </flow:spec>
25
26 <flow:flow id="template.importRapZip" spec="rapVersion.spec"
27 abstract="true">
28 <bean class="org.argeo.slc.repo.osgi.ImportBundlesZip">
29 <property name="workspace" value="org.argeo.tp.rap-@{rapBranch}.x" />
30 <property name="groupId" value="org.argeo.tp.rap.platform" />
31 <property name="zipFile"
32 value="http://mirror.netcologne.de/eclipse//rt/rap/@{rapBranch}/rap-@{rapVersion}.zip" />
33 <property name="repository" ref="javaRepository" />
34 </bean>
35 </flow:flow>
36
37 <!-- Import bundles zip -->
38 <!-- <flow:spec id="importZip.spec"> -->
39 <!-- <flow:primitive name="groupId" /> -->
40 <!-- <flow:primitive name="workspace" /> -->
41 <!-- <flow:primitive name="zipFile" value="file:///tmp/" /> -->
42 <!-- </flow:spec> -->
43
44 <!-- <flow:flow id="importZip.template" spec="importZip.spec" -->
45 <!-- abstract="true"> -->
46 <!-- <bean class="org.argeo.slc.repo.osgi.ImportBundlesZip"> -->
47 <!-- <property name="workspace" value="@{workspace}" /> -->
48 <!-- <property name="groupId" value="@{groupId}" /> -->
49 <!-- <property name="zipFile" value="@{zipFile}" /> -->
50 <!-- <property name="repository" ref="javaRepository" /> -->
51 <!-- </bean> -->
52 <!-- </flow:flow> -->
53 </beans>