Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'test-apps/service-publication-from-repo-bundles/consumer')
-rw-r--r--test-apps/service-publication-from-repo-bundles/consumer/build.xml9
-rw-r--r--test-apps/service-publication-from-repo-bundles/consumer/ivy.xml22
-rw-r--r--test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/MANIFEST.MF4
-rw-r--r--test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/spring/app-context.xml15
4 files changed, 50 insertions, 0 deletions
diff --git a/test-apps/service-publication-from-repo-bundles/consumer/build.xml b/test-apps/service-publication-from-repo-bundles/consumer/build.xml
new file mode 100644
index 00000000..44b4b153
--- /dev/null
+++ b/test-apps/service-publication-from-repo-bundles/consumer/build.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="consumer">
+
+ <property file="${basedir}/../build.properties"/>
+ <property file="${basedir}/../../../build.versions"/>
+ <property name="jar.output.file" value="${basedir}/../../../org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-publication-from-repo/consumer.jar"/>
+ <import file="${basedir}/../../../spring-build/standard/default.xml"/>
+
+</project>
diff --git a/test-apps/service-publication-from-repo-bundles/consumer/ivy.xml b/test-apps/service-publication-from-repo-bundles/consumer/ivy.xml
new file mode 100644
index 00000000..11bbbc04
--- /dev/null
+++ b/test-apps/service-publication-from-repo-bundles/consumer/ivy.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?xml-stylesheet type="text/xsl" href="http://ivyrep.jayasoft.org/ivy-doc.xsl"?>
+<ivy-module
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd"
+ version="1.3">
+
+ <info organisation="service.publication.from.repo" module="${ant.project.name}">
+ <ivyauthor name="awilkinson"/>
+ </info>
+
+ <configurations>
+ <include file="${spring.build.dir}/common/default-ivy-configurations.xml"/>
+ </configurations>
+
+ <publications>
+ </publications>
+
+ <dependencies>
+ </dependencies>
+
+</ivy-module>
diff --git a/test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/MANIFEST.MF b/test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..1c2ead8a
--- /dev/null
+++ b/test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,4 @@
+Bundle-ManifestVersion: 2
+Manifest-Version: 1.0
+Bundle-SymbolicName: org.eclipse.virgo.server.test.consumer
+Import-Package: org.eclipse.virgo.server.test.publisher
diff --git a/test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/spring/app-context.xml b/test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/spring/app-context.xml
new file mode 100644
index 00000000..6a4393fe
--- /dev/null
+++ b/test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/spring/app-context.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans:beans xmlns:osgi="http://www.springframework.org/schema/osgi"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:beans="http://www.springframework.org/schema/beans"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xsi:schemaLocation="http://www.springframework.org/schema/osgi
+ http://www.springframework.org/schema/osgi/spring-osgi.xsd
+ 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">
+
+ <osgi:reference id="list" interface="java.util.List"/>
+
+</beans:beans>

Back to the top