Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'test-apps/service-scoping/scoping.service.global')
-rw-r--r--test-apps/service-scoping/scoping.service.global/.classpath10
-rw-r--r--test-apps/service-scoping/scoping.service.global/.project17
-rw-r--r--test-apps/service-scoping/scoping.service.global/build.xml9
-rw-r--r--test-apps/service-scoping/scoping.service.global/ivy.xml23
-rw-r--r--test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/MANIFEST.MF3
-rw-r--r--test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/spring/module.xml14
6 files changed, 76 insertions, 0 deletions
diff --git a/test-apps/service-scoping/scoping.service.global/.classpath b/test-apps/service-scoping/scoping.service.global/.classpath
new file mode 100644
index 00000000..adebb12a
--- /dev/null
+++ b/test-apps/service-scoping/scoping.service.global/.classpath
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
+ <classpathentry kind="src" output="target/test-classes" path="src/test/resources"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="KERNEL_IVY_CACHE/org.junit/com.springsource.org.junit/4.7.0/com.springsource.org.junit-4.7.0.jar" sourcepath="/KERNEL_IVY_CACHE/org.junit/com.springsource.org.junit/4.7.0/com.springsource.org.junit-sources-4.7.0.jar"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
diff --git a/test-apps/service-scoping/scoping.service.global/.project b/test-apps/service-scoping/scoping.service.global/.project
new file mode 100644
index 00000000..e283420b
--- /dev/null
+++ b/test-apps/service-scoping/scoping.service.global/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>scoping.service.global</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/test-apps/service-scoping/scoping.service.global/build.xml b/test-apps/service-scoping/scoping.service.global/build.xml
new file mode 100644
index 00000000..a687512f
--- /dev/null
+++ b/test-apps/service-scoping/scoping.service.global/build.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="scoping.service.global">
+
+ <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-scoping/scoping.service.global.jar"/>
+ <import file="${basedir}/../../../spring-build/standard/default.xml"/>
+
+</project>
diff --git a/test-apps/service-scoping/scoping.service.global/ivy.xml b/test-apps/service-scoping/scoping.service.global/ivy.xml
new file mode 100644
index 00000000..1e2b9cb4
--- /dev/null
+++ b/test-apps/service-scoping/scoping.service.global/ivy.xml
@@ -0,0 +1,23 @@
+<?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="scoping.service" module="${ant.project.name}">
+ <ivyauthor name="rharrop"/>
+ </info>
+
+ <configurations>
+ <include file="${spring.build.dir}/common/default-ivy-configurations.xml"/>
+ </configurations>
+
+ <publications>
+ </publications>
+
+ <dependencies>
+ <dependency org="org.junit" name="com.springsource.org.junit" rev="${org.junit}" conf="test->runtime"/>
+ </dependencies>
+
+</ivy-module>
diff --git a/test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/MANIFEST.MF b/test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..303243a0
--- /dev/null
+++ b/test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: scoping.service.global
diff --git a/test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/spring/module.xml b/test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/spring/module.xml
new file mode 100644
index 00000000..6d9b8263
--- /dev/null
+++ b/test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/spring/module.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
+ 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">
+ <service ref="appendable" interface="java.lang.Appendable">
+ <service-properties>
+ <beans:entry key="provider" value="global" />
+ </service-properties>
+ </service>
+ <beans:bean id="appendable" class="java.lang.StringBuilder" />
+</beans:beans>

Back to the top