+ refactor to separate runtime and module project under eclipse plugin.
authorBruno Sinou <bsinou@argeo.org>
Mon, 8 Nov 2010 15:46:08 +0000 (15:46 +0000)
committerBruno Sinou <bsinou@argeo.org>
Mon, 8 Nov 2010 15:46:08 +0000 (15:46 +0000)
+ add some pom to prepare the deployment
+ clean client rcp & ui project (change src & target folder)

git-svn-id: https://svn.argeo.org/slc/trunk@3860 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

eclipse/plugins/modules/org.argeo.slc.client.agent/.project [new file with mode: 0644]
eclipse/plugins/modules/org.argeo.slc.client.agent/build.properties [new file with mode: 0644]
eclipse/plugins/modules/org.argeo.slc.client.agent/pom.xml [new file with mode: 0644]
eclipse/plugins/modules/org.argeo.slc.client.agent/target/classes/META-INF/MANIFEST.MF [new file with mode: 0644]
eclipse/plugins/modules/org.argeo.slc.client.agent/target/classes/META-INF/spring/client-osgi.xml [new file with mode: 0644]
eclipse/plugins/modules/org.argeo.slc.client.agent/target/classes/META-INF/spring/client.xml [new file with mode: 0644]
eclipse/plugins/modules/org.argeo.slc.client.agent/target/maven-archiver/pom.properties [new file with mode: 0644]
eclipse/plugins/modules/org.argeo.slc.client.agent/target/org.argeo.slc.client.agent-0.13.0-SNAPSHOT-sources.jar [new file with mode: 0644]
eclipse/plugins/modules/org.argeo.slc.client.agent/target/org.argeo.slc.client.agent-0.13.0-SNAPSHOT.jar [new file with mode: 0644]

diff --git a/eclipse/plugins/modules/org.argeo.slc.client.agent/.project b/eclipse/plugins/modules/org.argeo.slc.client.agent/.project
new file mode 100644 (file)
index 0000000..ea10bad
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.slc.client.agent</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/eclipse/plugins/modules/org.argeo.slc.client.agent/build.properties b/eclipse/plugins/modules/org.argeo.slc.client.agent/build.properties
new file mode 100644 (file)
index 0000000..5f22cdd
--- /dev/null
@@ -0,0 +1 @@
+bin.includes = META-INF/
diff --git a/eclipse/plugins/modules/org.argeo.slc.client.agent/pom.xml b/eclipse/plugins/modules/org.argeo.slc.client.agent/pom.xml
new file mode 100644 (file)
index 0000000..014dd7b
--- /dev/null
@@ -0,0 +1,39 @@
+<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.eclipse</groupId>
+               <artifactId>plugins</artifactId>
+               <version>0.13.0-SNAPSHOT</version>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.slc.client.agent</artifactId>
+       <name>SLC Client Agent</name>
+       <packaging>jar</packaging>
+       <dependencies>
+               <!-- SLC -->
+               <dependency>
+                       <groupId>org.argeo.slc.eclipse</groupId>
+                       <artifactId>org.argeo.slc.client.ui</artifactId>
+                       <version>${project.version}</version>
+               </dependency>
+               <!-- Eclipse -->
+               <dependency>
+                       <groupId>org.eclipse.ui</groupId>
+                       <artifactId>org.eclipse.ui</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.eclipse.core</groupId>
+                       <artifactId>org.eclipse.core.runtime</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.eclipse.swt</groupId>
+                       <artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.eclipse.swt</groupId>
+                       <artifactId>org.eclipse.swt.gtk.linux.x86</artifactId>
+               </dependency>
+
+       </dependencies>
+</project>
diff --git a/eclipse/plugins/modules/org.argeo.slc.client.agent/target/classes/META-INF/MANIFEST.MF b/eclipse/plugins/modules/org.argeo.slc.client.agent/target/classes/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..68a86a0
--- /dev/null
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Agent
+Bundle-SymbolicName: org.argeo.slc.client.agent
+Bundle-Version: 1.0.0.qualifier
+Import-Package: org.argeo.slc.core.runtime,
+ org.argeo.slc.execution;version="0.13.0.SNAPSHOT-r3770",
+ org.argeo.slc.runtime;version="0.13.0.SNAPSHOT-r3770"
diff --git a/eclipse/plugins/modules/org.argeo.slc.client.agent/target/classes/META-INF/spring/client-osgi.xml b/eclipse/plugins/modules/org.argeo.slc.client.agent/target/classes/META-INF/spring/client-osgi.xml
new file mode 100644 (file)
index 0000000..37c9091
--- /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
+       <reference id="modulesManager"\r
+               interface="org.argeo.slc.execution.ExecutionModulesManager" />\r
+\r
+       <service ref="slcAgentFactory" interface="org.argeo.slc.runtime.SlcAgentFactory" />\r
+       <service ref="slcAgent" interface="org.argeo.slc.runtime.SlcAgent" />\r
+\r
+</beans:beans>
\ No newline at end of file
diff --git a/eclipse/plugins/modules/org.argeo.slc.client.agent/target/classes/META-INF/spring/client.xml b/eclipse/plugins/modules/org.argeo.slc.client.agent/target/classes/META-INF/spring/client.xml
new file mode 100644 (file)
index 0000000..ab0f408
--- /dev/null
@@ -0,0 +1,20 @@
+<?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"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
+        http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+
+       <!-- Temporary -->
+       <bean id="slcAgentFactory" class="org.argeo.slc.core.runtime.SimpleAgentFactory">
+               <property name="agents">
+                       <list>
+                       <ref bean="slcAgent"/>
+                       </list>
+               </property>
+       </bean>
+
+       <bean id="slcAgent" class="org.argeo.slc.core.runtime.DefaultAgent"
+               p:modulesManager-ref="modulesManager" />
+
+</beans>
diff --git a/eclipse/plugins/modules/org.argeo.slc.client.agent/target/maven-archiver/pom.properties b/eclipse/plugins/modules/org.argeo.slc.client.agent/target/maven-archiver/pom.properties
new file mode 100644 (file)
index 0000000..17528d7
--- /dev/null
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Mon Nov 08 13:40:30 CET 2010
+version=0.13.0-SNAPSHOT
+groupId=org.argeo.slc.eclipse
+artifactId=org.argeo.slc.client.agent
diff --git a/eclipse/plugins/modules/org.argeo.slc.client.agent/target/org.argeo.slc.client.agent-0.13.0-SNAPSHOT-sources.jar b/eclipse/plugins/modules/org.argeo.slc.client.agent/target/org.argeo.slc.client.agent-0.13.0-SNAPSHOT-sources.jar
new file mode 100644 (file)
index 0000000..21805d9
Binary files /dev/null and b/eclipse/plugins/modules/org.argeo.slc.client.agent/target/org.argeo.slc.client.agent-0.13.0-SNAPSHOT-sources.jar differ
diff --git a/eclipse/plugins/modules/org.argeo.slc.client.agent/target/org.argeo.slc.client.agent-0.13.0-SNAPSHOT.jar b/eclipse/plugins/modules/org.argeo.slc.client.agent/target/org.argeo.slc.client.agent-0.13.0-SNAPSHOT.jar
new file mode 100644 (file)
index 0000000..04ba274
Binary files /dev/null and b/eclipse/plugins/modules/org.argeo.slc.client.agent/target/org.argeo.slc.client.agent-0.13.0-SNAPSHOT.jar differ