+ refactor to separate runtime and module project under eclipse plugin.
authorBruno Sinou <bsinou@argeo.org>
Mon, 8 Nov 2010 15:47:56 +0000 (15:47 +0000)
committerBruno Sinou <bsinou@argeo.org>
Mon, 8 Nov 2010 15:47:56 +0000 (15:47 +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@3863 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

eclipse/plugins/modules/org.argeo.slc.client.agent/META-INF/spring/client-osgi.xml [new file with mode: 0644]
eclipse/plugins/modules/org.argeo.slc.client.agent/META-INF/spring/client.xml [new file with mode: 0644]

diff --git a/eclipse/plugins/modules/org.argeo.slc.client.agent/META-INF/spring/client-osgi.xml b/eclipse/plugins/modules/org.argeo.slc.client.agent/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/META-INF/spring/client.xml b/eclipse/plugins/modules/org.argeo.slc.client.agent/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>