Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'test-apps/deployer-edge-tests')
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/README.TXT9
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build-par/build.xml13
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.properties6
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.xml18
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/build.xml9
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/ivy.xml20
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/src/main/resources/META-INF/MANIFEST.MF6
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/build.xml9
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/ivy.xml20
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/src/main/resources/META-INF/MANIFEST.MF6
10 files changed, 116 insertions, 0 deletions
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/README.TXT b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/README.TXT
new file mode 100644
index 00000000..d3657df3
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/README.TXT
@@ -0,0 +1,9 @@
+How to build
+------------
+
+ant jar
+
+Output
+------
+
+com.springsource.kernel.deployer.test/src/test/resources/clashing.exports.in.a.scope.par
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build-par/build.xml b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build-par/build.xml
new file mode 100644
index 00000000..deab1607
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build-par/build.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="clashing.exports.in.a.scope">
+
+ <path id="bundles">
+ <pathelement location="../c1"/>
+ <pathelement location="../c2"/>
+ </path>
+
+ <property file="${basedir}/../build.properties"/>
+
+ <import file="${basedir}/../../../../spring-build/par/default.xml"/>
+
+</project>
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.properties b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.properties
new file mode 100644
index 00000000..1dcbd8ce
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.properties
@@ -0,0 +1,6 @@
+version=1.0.0
+release.type=integration
+bucket.basename=springsource.com
+ivy.cache.dir=${basedir}/../../../ivy-cache
+integration.repo.dir=${basedir}/../../../integration-repo
+disable.bundlor=true
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.xml b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.xml
new file mode 100644
index 00000000..8505bea5
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="clashing-exports-in-a-scope" default="jar">
+
+ <path id="bundles">
+ <pathelement location="build-par"/>
+ </path>
+
+ <property name="virgo.kernel.dir" value="${basedir}/../../.."/>
+
+ <import file="${virgo.kernel.dir}/spring-build/multi-bundle/default.xml"/>
+
+ <target name="jar" depends="artifact-multi-bundle.jar">
+ <copy todir="${virgo.kernel.dir}/org.eclipse.virgo.kernel.deployer.test/src/test/resources">
+ <fileset dir="${basedir}/build-par/target/artifacts"/>
+ </copy>
+ </target>
+
+</project>
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/build.xml b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/build.xml
new file mode 100644
index 00000000..31cf3cd2
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/build.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="c1">
+
+ <property file="${basedir}/../build.properties"/>
+ <property file="${basedir}/../../../../build.versions"/>
+
+ <import file="${basedir}/../../../../spring-build/standard/default.xml"/>
+
+</project>
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/ivy.xml b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/ivy.xml
new file mode 100644
index 00000000..ec9164b3
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/ivy.xml
@@ -0,0 +1,20 @@
+<?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="cloning.tests" module="${ant.project.name}">
+ <ivyauthor name="gnormington"/>
+ </info>
+
+ <configurations>
+ <include file="${spring.build.dir}/common/default-ivy-configurations.xml"/>
+ </configurations>
+
+ <publications/>
+
+ <dependencies/>
+
+</ivy-module>
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/src/main/resources/META-INF/MANIFEST.MF b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..d40b9d5b
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: c1
+Export-Package: c.p
+
+
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/build.xml b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/build.xml
new file mode 100644
index 00000000..cc37ab7b
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/build.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="c2">
+
+ <property file="${basedir}/../build.properties"/>
+ <property file="${basedir}/../../../../build.versions"/>
+
+ <import file="${basedir}/../../../../spring-build/standard/default.xml"/>
+
+</project>
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/ivy.xml b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/ivy.xml
new file mode 100644
index 00000000..ec9164b3
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/ivy.xml
@@ -0,0 +1,20 @@
+<?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="cloning.tests" module="${ant.project.name}">
+ <ivyauthor name="gnormington"/>
+ </info>
+
+ <configurations>
+ <include file="${spring.build.dir}/common/default-ivy-configurations.xml"/>
+ </configurations>
+
+ <publications/>
+
+ <dependencies/>
+
+</ivy-module>
diff --git a/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/src/main/resources/META-INF/MANIFEST.MF b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/src/main/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..cddc240b
--- /dev/null
+++ b/test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/src/main/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: c2
+Export-Package: c.p
+
+

Back to the top