Introduce RPM Factory Lib
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 26 May 2013 14:33:49 +0000 (14:33 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 26 May 2013 14:33:49 +0000 (14:33 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@6304 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

lib/org.argeo.slc.lib.rpmfactory/.project [new file with mode: 0644]
lib/org.argeo.slc.lib.rpmfactory/META-INF/spring/helloworld.xml [new file with mode: 0644]
lib/org.argeo.slc.lib.rpmfactory/META-INF/spring/osgi.xml [new file with mode: 0644]
lib/org.argeo.slc.lib.rpmfactory/build.properties [new file with mode: 0644]
lib/org.argeo.slc.lib.rpmfactory/pom.xml [new file with mode: 0644]
lib/pom.xml

diff --git a/lib/org.argeo.slc.lib.rpmfactory/.project b/lib/org.argeo.slc.lib.rpmfactory/.project
new file mode 100644 (file)
index 0000000..7f04d4c
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.slc.lib.rpmfactoryo</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.PluginNature</nature>
+       </natures>
+</projectDescription>
diff --git a/lib/org.argeo.slc.lib.rpmfactory/META-INF/spring/helloworld.xml b/lib/org.argeo.slc.lib.rpmfactory/META-INF/spring/helloworld.xml
new file mode 100644 (file)
index 0000000..8e04d7e
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans xmlns:flow="http://www.argeo.org/schema/slc-flow" xmlns="http://www.springframework.org/schema/beans"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"\r
+       xsi:schemaLocation="\r
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
+       http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-1.2.xsd">\r
+\r
+       <!-- Hello world -->\r
+       <flow:flow name="hello">\r
+               <description>Print Hello World!</description>\r
+               <bean p:message="Hello World!" class="org.argeo.slc.core.execution.tasks.Echo" />\r
+       </flow:flow>\r
+\r
+\r
+       <flow:flow name="hello-with-var">\r
+               <description>Print Hello World! with variable</description>\r
+               <flow:spec>\r
+                       <flow:primitive name="testKey" value="777" />\r
+               </flow:spec>\r
+               <bean p:message="Hello World! @{testKey}" class="org.argeo.slc.core.execution.tasks.Echo">\r
+                       <flow:variable proxy-target-class="false" />\r
+               </bean>\r
+       </flow:flow>\r
+\r
+</beans>
\ No newline at end of file
diff --git a/lib/org.argeo.slc.lib.rpmfactory/META-INF/spring/osgi.xml b/lib/org.argeo.slc.lib.rpmfactory/META-INF/spring/osgi.xml
new file mode 100644 (file)
index 0000000..1b2b5bb
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
+       xsi:schemaLocation="http://www.springframework.org/schema/osgi  \r
+       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
+       http://www.springframework.org/schema/beans   \r
+       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
+\r
+       <!-- IMPORTS -->\r
+       <beans:import resource="classpath:org/argeo/slc/core/execution/spring.xml" />\r
+       <beans:import resource="classpath:org/argeo/slc/osgi/execution.xml" />\r
+\r
+       <!-- REFERENCES -->\r
+       <reference id="repositoryFactory" interface="javax.jcr.RepositoryFactory" />\r
+</beans:beans>
\ No newline at end of file
diff --git a/lib/org.argeo.slc.lib.rpmfactory/build.properties b/lib/org.argeo.slc.lib.rpmfactory/build.properties
new file mode 100644 (file)
index 0000000..5f22cdd
--- /dev/null
@@ -0,0 +1 @@
+bin.includes = META-INF/
diff --git a/lib/org.argeo.slc.lib.rpmfactory/pom.xml b/lib/org.argeo.slc.lib.rpmfactory/pom.xml
new file mode 100644 (file)
index 0000000..46e301f
--- /dev/null
@@ -0,0 +1,12 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.slc</groupId>
+               <artifactId>lib</artifactId>
+               <version>1.1.13-SNAPSHOT</version>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.slc.lib.rpmfactory</artifactId>
+       <name>SLC Lib - RPM Factory Utilities</name>
+       <description>Utilities related to RPM Factory</description>
+</project>
index 4751d24570d41da76b280c6c0e1638c83bcca182..627bd912193a22b03a7af0bf4d54b0bcecc6a624 100644 (file)
@@ -13,6 +13,7 @@
        <modules>
                <module>org.argeo.slc.lib.jcr</module>
                <module>org.argeo.slc.lib.repo</module>
+               <module>org.argeo.slc.lib.rpmfactory</module>
        </modules>
        <properties>
                <additionalImports.slc-lib>