argeo.server.tomcat.config=conf/default-server-ssl.xml
+# override ports to run the demo as a server
+#argeo.server.port.http=9070
+#argeo.server.port.https=9073
+#argeo.server.port.ajp=9079
+#argeo.ldap.port=19389
+
# anonymous url: http://localhost:7070/ui/public
# authenticated url: http://localhost:7070/ui/node
--- /dev/null
+<?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
+ <!-- Import a zip to a local repository -->\r
+ <flow:flow name="importZip">\r
+ <flow:spec>\r
+ <flow:primitive name="workspace" value="org.argeo.tp-2.1.x" />\r
+ <flow:primitive name="groupId" value="org.argeo.tp" />\r
+ <flow:primitive name="zipFile" value="File:///home/user/dev/libs/extLibrary-1.3.8.zip" />\r
+ </flow:spec>\r
+ <bean class="org.argeo.slc.repo.osgi.ImportBundlesZip">\r
+ <flow:variable proxy-target-class="false" />\r
+ <property name="workspace" value="@{workspace}" />\r
+ <property name="groupId" value="@{groupId}" />\r
+ <property name="zipFile" value="@{zipFile}" />\r
+ <property name="repository" ref="javaRepository" />\r
+ </bean>\r
+ </flow:flow>\r
+</beans>
\ No newline at end of file
\r
<!-- REFERENCES -->\r
<reference id="repositoryFactory" interface="javax.jcr.RepositoryFactory" />\r
+ <!-- TODO inject this in a cleaner way -->\r
+ <reference id="javaRepository" interface="javax.jcr.Repository"\r
+ filter="(argeo.jcr.repository.alias=java)" />\r
</beans:beans>
\ No newline at end of file