Instrument as an SLC execution module
authormbaudier <mbaudier@argeo.org>
Mon, 22 Apr 2013 14:05:15 +0000 (16:05 +0200)
committermbaudier <mbaudier@argeo.org>
Mon, 22 Apr 2013 14:05:15 +0000 (16:05 +0200)
.gitignore
.project
META-INF/.gitignore [new file with mode: 0644]
META-INF/spring/org.argeo.tp.rap.xml [new file with mode: 0644]
META-INF/spring/osgi.xml [new file with mode: 0644]
pom.xml [new file with mode: 0644]

index 0748af67c1acc613ee50a73501d5ac106c8d14dd..d0040d950ba937556b09df73b06d234f6e393f99 100644 (file)
@@ -2,3 +2,4 @@
 /build
 /cache
 
+/target
index ec9c130acdf476433ad18a18f72456bc35e31fd7..03d0b421ec8b5cd8c65ac5cd09f245d26acfab06 100644 (file)
--- a/.project
+++ b/.project
@@ -5,7 +5,18 @@
        <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/META-INF/.gitignore b/META-INF/.gitignore
new file mode 100644 (file)
index 0000000..4854a41
--- /dev/null
@@ -0,0 +1 @@
+/MANIFEST.MF
diff --git a/META-INF/spring/org.argeo.tp.rap.xml b/META-INF/spring/org.argeo.tp.rap.xml
new file mode 100644 (file)
index 0000000..f5354e9
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
+       xmlns:util="http://www.springframework.org/schema/util" xmlns:flow="http://www.argeo.org/schema/slc-flow"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+       http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
+       http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-0.12.xsd">
+
+       <bean id="org.argeo.tp.rap.platform_2.1.0-M1" parent="template.importRapZip">
+               <constructor-arg>
+                       <map>
+                               <entry key="rapBranch" value="2.1" />
+                               <entry key="rapVersion" value="2.1.0-M1-20130318-2137" />
+                       </map>
+               </constructor-arg>
+       </bean>
+
+       <!-- RAP specs and templates -->
+       <flow:spec id="rapVersion.spec">
+               <flow:primitive name="rapBranch" isParameter="true" />
+               <flow:primitive name="rapVersion" isParameter="true" />
+       </flow:spec>
+
+       <flow:flow id="template.importRapZip" spec="rapVersion.spec"
+               abstract="true">
+               <bean class="org.argeo.slc.repo.osgi.ImportBundlesZip">
+                       <property name="workspace" value="org.argeo.tp.rap-@{rapBranch}.x" />
+                       <property name="groupId" value="org.argeo.tp.rap.platform" />
+                       <property name="zipFile"
+                               value="http://mirror.netcologne.de/eclipse//rt/rap/@{rapBranch}/rap-@{rapVersion}.zip" />
+                       <property name="repository" ref="javaRepository" />
+               </bean>
+       </flow:flow>
+
+       <!-- Import bundles zip -->
+       <!-- <flow:spec id="importZip.spec"> -->
+       <!-- <flow:primitive name="groupId" /> -->
+       <!-- <flow:primitive name="workspace" /> -->
+       <!-- <flow:primitive name="zipFile" value="file:///tmp/" /> -->
+       <!-- </flow:spec> -->
+
+       <!-- <flow:flow id="importZip.template" spec="importZip.spec" -->
+       <!-- abstract="true"> -->
+       <!-- <bean class="org.argeo.slc.repo.osgi.ImportBundlesZip"> -->
+       <!-- <property name="workspace" value="@{workspace}" /> -->
+       <!-- <property name="groupId" value="@{groupId}" /> -->
+       <!-- <property name="zipFile" value="@{zipFile}" /> -->
+       <!-- <property name="repository" ref="javaRepository" /> -->
+       <!-- </bean> -->
+       <!-- </flow:flow> -->
+</beans>
\ No newline at end of file
diff --git a/META-INF/spring/osgi.xml b/META-INF/spring/osgi.xml
new file mode 100644 (file)
index 0000000..a15fe03
--- /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
+       <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="javaRepository" interface="javax.jcr.Repository"\r
+               filter="(argeo.jcr.repository.alias=java)" />\r
+</beans:beans>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644 (file)
index 0000000..6534551
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,33 @@
+<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.12</version>
+       </parent>
+       <groupId>org.argeo.tp.slc</groupId>
+       <artifactId>org.argeo.tp.slc.factory</artifactId>
+       <name>Argeo Distribution Factory</name>
+       <build>
+               <resources>
+                       <resource>
+                               <directory>.</directory>
+                               <includes>
+                                       <include>META-INF/**</include>
+                               </includes>
+                       </resource>
+               </resources>
+       </build>
+       <repositories>
+               <repository>
+                       <id>argeo-slc</id>
+                       <url>http://repo.argeo.org/data/public/java/org.argeo.slc-1.1.x</url>
+                       <releases>
+                               <enabled>true</enabled>
+                               <updatePolicy>daily</updatePolicy>
+                               <checksumPolicy>fail</checksumPolicy>
+                       </releases>
+               </repository>
+       </repositories>
+</project>