]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.lib.repo/META-INF/spring/main.xml
1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns:
flow=
"http://www.argeo.org/schema/slc-flow" 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"
5 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">
9 <flow:flow name=
"sync">
11 <flow:primitive name=
"sourceRepo"
12 value=
"https://repo.argeo.org/org.argeo.jcr.webapp/remoting/java" />
13 <flow:primitive name=
"sourceWksp" />
14 <flow:primitive name=
"sourceUsername" value=
"${user.name}" />
15 <flow:primitive name=
"sourcePassword" type=
"password"/>
16 <flow:primitive name=
"targetRepo" value=
"vm:///java/" />
18 <bean class=
"org.argeo.slc.repo.RepoSync">
19 <flow:variable proxy-target-class=
"false" />
20 <property name=
"sourceRepo" value=
"@{sourceRepo}" />
21 <property name=
"sourceWksp" value=
"@{sourceWksp}" />
22 <property name=
"sourceUsername" value=
"@{sourceUsername}" />
23 <property name=
"sourcePassword" value=
"@{sourcePassword}" />
24 <property name=
"targetRepo" value=
"@{targetRepo}" />
25 <property name=
"repositoryFactory" ref=
"repositoryFactory" />