Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'test-apps/service-scoping-platform-183')
-rw-r--r--test-apps/service-scoping-platform-183/README.TXT9
-rw-r--r--test-apps/service-scoping-platform-183/build-par/build.xml13
-rw-r--r--test-apps/service-scoping-platform-183/build.properties6
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/.classpath10
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/.project17
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/build.xml9
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/ivy.xml22
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/MANIFEST.MF3
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/spring/module.xml11
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/.classpath10
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/.project17
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/build.xml9
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/ivy.xml22
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/MANIFEST.MF3
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/spring/module.xml18
15 files changed, 179 insertions, 0 deletions
diff --git a/test-apps/service-scoping-platform-183/README.TXT b/test-apps/service-scoping-platform-183/README.TXT
new file mode 100644
index 00000000..30c7a08c
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/README.TXT
@@ -0,0 +1,9 @@
+How to build
+------------
+
+Run ant jar in build-par
+
+Output
+------
+
+com.springsource.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.par
diff --git a/test-apps/service-scoping-platform-183/build-par/build.xml b/test-apps/service-scoping-platform-183/build-par/build.xml
new file mode 100644
index 00000000..1302b10d
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/build-par/build.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="service-scoping-platform-183">
+
+ <path id="bundles">
+ <pathelement location="../scoping.service.module.a"/>
+ <pathelement location="../scoping.service.module.b"/>
+ </path>
+
+ <property file="${basedir}/../build.properties"/>
+ <property name="par.output.file" value="${basedir}/../../../org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.par"/>
+ <import file="${basedir}/../../../spring-build/par/default.xml"/>
+
+</project>
diff --git a/test-apps/service-scoping-platform-183/build.properties b/test-apps/service-scoping-platform-183/build.properties
new file mode 100644
index 00000000..aa48e854
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/build.properties
@@ -0,0 +1,6 @@
+version=1.0.0
+release.type=integration
+bucket.basename=springsource.com
+ivy.cache.dir=${user.dir}/../../ivy-cache
+integration.repo.dir=${user.dir}/../../integration-repo
+disable.bundlor=true
diff --git a/test-apps/service-scoping-platform-183/scoping.service.module.a/.classpath b/test-apps/service-scoping-platform-183/scoping.service.module.a/.classpath
new file mode 100644
index 00000000..adebb12a
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.a/.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-platform-183/scoping.service.module.a/.project b/test-apps/service-scoping-platform-183/scoping.service.module.a/.project
new file mode 100644
index 00000000..020774aa
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.a/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>scoping.service.module.a</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-platform-183/scoping.service.module.a/build.xml b/test-apps/service-scoping-platform-183/scoping.service.module.a/build.xml
new file mode 100644
index 00000000..eb1852a4
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.a/build.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="scoping.service.module.a">
+
+ <property file="${basedir}/../build.properties"/>
+ <property file="${basedir}/../../../build.versions"/>
+
+ <import file="${basedir}/../../../spring-build/standard/default.xml"/>
+
+</project>
diff --git a/test-apps/service-scoping-platform-183/scoping.service.module.a/ivy.xml b/test-apps/service-scoping-platform-183/scoping.service.module.a/ivy.xml
new file mode 100644
index 00000000..c1c1f7b3
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.a/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="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>
+ </dependencies>
+
+</ivy-module>
diff --git a/test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/MANIFEST.MF b/test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..9d371f0b
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: scoping.service.module.a
diff --git a/test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/spring/module.xml b/test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/spring/module.xml
new file mode 100644
index 00000000..9881b443
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/spring/module.xml
@@ -0,0 +1,11 @@
+<?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">
+
+ <reference id="local" interface="java.lang.Appendable"/>
+
+</beans:beans>
diff --git a/test-apps/service-scoping-platform-183/scoping.service.module.b/.classpath b/test-apps/service-scoping-platform-183/scoping.service.module.b/.classpath
new file mode 100644
index 00000000..adebb12a
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.b/.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-platform-183/scoping.service.module.b/.project b/test-apps/service-scoping-platform-183/scoping.service.module.b/.project
new file mode 100644
index 00000000..ff388df0
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.b/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>scoping.service.module.b</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-platform-183/scoping.service.module.b/build.xml b/test-apps/service-scoping-platform-183/scoping.service.module.b/build.xml
new file mode 100644
index 00000000..69ce7e4d
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.b/build.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="scoping.service.module.b">
+
+ <property file="${basedir}/../build.properties"/>
+ <property file="${basedir}/../../../build.versions"/>
+
+ <import file="${basedir}/../../../spring-build/standard/default.xml"/>
+
+</project>
diff --git a/test-apps/service-scoping-platform-183/scoping.service.module.b/ivy.xml b/test-apps/service-scoping-platform-183/scoping.service.module.b/ivy.xml
new file mode 100644
index 00000000..c1c1f7b3
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.b/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="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>
+ </dependencies>
+
+</ivy-module>
diff --git a/test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/MANIFEST.MF b/test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..aa2130a8
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: scoping.service.module.b
diff --git a/test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/spring/module.xml b/test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/spring/module.xml
new file mode 100644
index 00000000..467524de
--- /dev/null
+++ b/test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/spring/module.xml
@@ -0,0 +1,18 @@
+<?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">
+ <interfaces>
+ <beans:value>java.lang.Appendable
+ </beans:value>
+ </interfaces>
+ </service>
+
+ <beans:bean id="appendable" class="java.lang.StringBuilder" />
+
+</beans:beans>

Back to the top