Make Argeo Distribution multi-modules
[gpl/argeo-tp.git] / org.argeo.tp.factory.core / META-INF / spring / eclipse.equinox.xml
diff --git a/org.argeo.tp.factory.core/META-INF/spring/eclipse.equinox.xml b/org.argeo.tp.factory.core/META-INF/spring/eclipse.equinox.xml
new file mode 100644 (file)
index 0000000..3c86a80
--- /dev/null
@@ -0,0 +1,105 @@
+<?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">
+
+       <flow:flow name="eclipse/org.argeo.tp.equinox" parent="template.importEquinox">
+               <flow:arg name="equinoxRelease" value="4.13" />
+               <flow:arg name="equinoxTimestamp" value="201909161045" />
+       </flow:flow>
+
+       <!-- Equinox specs and templates -->
+       <flow:spec id="equinoxVersion.spec">
+               <flow:primitive name="equinoxRelease" isParameter="true" />
+               <flow:primitive name="equinoxTimestamp" isParameter="true" />
+       </flow:spec>
+
+       <flow:flow id="template.importEquinox" spec="equinoxVersion.spec"
+               abstract="true">
+               <bean class="org.argeo.slc.repo.osgi.ArchiveWrapper">
+                       <property name="uri"
+                               value="http://www.eclipse.org/downloads/equinox/drops/R-@{equinoxRelease}-@{equinoxTimestamp}/equinox-SDK-@{equinoxRelease}.zip" />
+                       <property name="includes">
+                               <map>
+                                       <!-- Core OSGi framework -->
+                                       <entry key="plugins/org.eclipse.osgi_*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.osgi.source_*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.osgi.util*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.osgi.services*.jar" value="org.argeo.tp.equinox" />
+
+                                       <!-- Javax -->
+                                       <entry key="plugins/javax.servlet*.jar" value="org.argeo.tp.javax" />
+                                       <entry key="plugins/javax.el*.jar" value="org.argeo.tp.javax" />
+
+                                       <!-- Jetty -->
+<!--                                   <entry key="plugins/org.eclipse.jetty*.jar" value="org.argeo.tp.jetty" /> -->
+
+                                       <!-- Felix -->
+                                       <entry key="plugins/org.apache.felix.gogo.*.jar" value="org.argeo.tp.apache.felix" />
+                                       <entry key="plugins/org.apache.felix.scr*.jar" value="org.argeo.tp.apache.felix" />
+
+                                       <!-- Apache -->
+                                       <entry key="plugins/org.apache.jasper.*.jar" value="org.argeo.tp.apache" />
+
+                                       <!-- Required by RAP -->
+                                       <entry key="plugins/org.eclipse.equinox.app*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.cm*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.common*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.console_*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.console.source_*.jar"
+                                               value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.ds*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.metatype*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.event*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.http.jetty*.jar"
+                                               value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.http.registry*.jar"
+                                               value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.http.servlet*.jar"
+                                               value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.http.servletbridge*.jar"
+                                               value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.preferences*.jar"
+                                               value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.registry*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.servletbridge*.jar"
+                                               value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.util*.jar" value="org.argeo.tp.equinox" />
+                                       <entry key="plugins/org.eclipse.equinox.jsp.*.jar" value="org.argeo.tp.equinox" />
+                               </map>
+                       </property>
+                       <property name="osgiFactory" ref="osgiFactory" />
+               </bean>
+       </flow:flow>
+
+       <!-- <flow:flow name="eclipse/org.eclipse.jdt.core.compiler.batch" -->
+       <!-- spec="equinoxVersion.spec"> -->
+       <!-- <flow:arg name="equinoxRelease" value="4.4.1" /> -->
+       <!-- <flow:arg name="equinoxTimestamp" value="201409250400" /> -->
+       <!-- <bean id="org.eclipse.jdt.core.compiler.batch" class="org.argeo.slc.repo.osgi.UriWrapper"> -->
+       <!-- <property name="version" value="3.10.0.v20140902-0626" /> -->
+       <!-- <property name="uri" -->
+       <!-- value="http://www.eclipse.org/downloads/eclipse/downloads/drops4/R-@{equinoxRelease}-@{equinoxTimestamp}/ecj-@{equinoxRelease}.jar" 
+               /> -->
+       <!-- <property name="groupId" value="org.argeo.tp.equinox" /> -->
+       <!-- <property name="doNotModify" value="true" /> -->
+       <!-- <property name="license"> -->
+       <!-- <util:constant static-field="org.argeo.slc.repo.FreeLicense.EPL" /> -->
+       <!-- </property> -->
+       <!-- <property name="osgiFactory" ref="osgiFactory" /> -->
+       <!-- <property name="sourcesProvider"> -->
+       <!-- <bean class="org.argeo.slc.repo.osgi.ArchiveSourcesProvider"> -->
+       <!-- <property name="uri" -->
+       <!-- value="http://www.eclipse.org/downloads/eclipse/downloads/drops4/R-@{equinoxRelease}-@{equinoxTimestamp}/ecjsrc-@{equinoxRelease}.jar" 
+               /> -->
+       <!-- <property name="osgiFactory" ref="osgiFactory" /> -->
+       <!-- </bean> -->
+       <!-- </property> -->
+       <!-- </bean> -->
+       <!-- </flow:flow> -->
+
+</beans>
\ No newline at end of file