Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2010-05-11 12:15:08 +0000
committerGlyn Normington2010-05-11 12:15:08 +0000
commit5dfdbe75bdf1ba2476fe2e60e62e3454a3565de7 (patch)
tree5522099ce269769cdd39fe31fbe2d20afd416a1c /org.eclipse.virgo.kernel.deployer.test/src/test/resources
parentb99bf75af622c030c6c9b479c1639925bd1ea872 (diff)
downloadorg.eclipse.virgo.kernel-5dfdbe75bdf1ba2476fe2e60e62e3454a3565de7.tar.gz
org.eclipse.virgo.kernel-5dfdbe75bdf1ba2476fe2e60e62e3454a3565de7.tar.xz
org.eclipse.virgo.kernel-5dfdbe75bdf1ba2476fe2e60e62e3454a3565de7.zip
initial checkin from dm Server kernel commit dffbc217a919cefba04886160ba820f2c6cf5f57 omitting build-kernel/bin/service
Diffstat (limited to 'org.eclipse.virgo.kernel.deployer.test/src/test/resources')
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/BundlesAndConfig.parbin0 -> 1243 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ExporterC.jarbin0 -> 713 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ImportPromotion.parbin0 -> 3196 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ImportPromotionViaLibrary.parbin0 -> 3189 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/LibraryC.libd2
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/MANIFEST.MF29
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/spring256.test.config.properties62
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/test.config.properties65
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ParRefreshPar.parbin0 -> 1083 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/activator-tccl.jarbin0 -> 1775 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/app0.parbin0 -> 1338 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/app4.parbin0 -> 1925 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/app4clash.parbin0 -> 1814 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/app5.parbin0 -> 2035 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/app6.parbin0 -> 2281 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/app7.parbin0 -> 2230 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-activation-policy.parbin0 -> 2558 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporter.jarbin0 -> 1274 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporterv2.jarbin0 -> 1819 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporterv3.jarbin0 -> 2387 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshImporter.jarbin0 -> 4046 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/clashing.exports.in.a.scope.parbin0 -> 1648 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/clashinguses.parbin0 -> 710 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/classpath-scanning.parbin0 -> 2857 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.brits.parbin0 -> 76877 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.platform.deployer.testbundle.jarbin0 -> 1144 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.platform.test.commons-dbcp.jarbin0 -> 1518 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/config-admin-test.jarbin0 -> 1828 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.kernel.properties5
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.kernel.userregion.properties92
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.medic.properties6
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.repository.properties39
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/serviceability.xml52
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/configTimeout/org.eclipse.virgo.kernel.properties9
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/configuration.deployment/empty.properties1
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/configuration.deployment/t.properties2
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployedArtifactJmxBeanTests/test.plan11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/ClassNotFoundException.jarbin0 -> 949 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/malformed-application-context.parbin0 -> 942 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-bundle.parbin0 -> 715 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-library.parbin0 -> 720 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-package.parbin0 -> 719 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummy-library.libd3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummy.jarbin0 -> 848 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummymodified.jarbin0 -> 852 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/fragment.plan12
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/bundle.jarbin0 -> 369 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/bundle/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/test.properties1
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/LibraryImportingP1.libd3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/LibraryImportingP2.libd3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestImportP1P2.jar/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestImportP1P2ViaLibraries.jar/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestP1.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestP2.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/initial-artifact-plan/com.springsource.kernel.deployer.test.userregion.springdm.plan10
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/jpa-ltw-sample-update.parbin0 -> 606244 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/library-deployment-test.parbin0 -> 973 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/manual-context.jarbin0 -> 1834 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/failure/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/failure/META-INF/spring/context.xml11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/nondm/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/success/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/success/META-INF/spring/context.xml11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/nomanifest.jarbin0 -> 1016 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/nomanifest.parbin0 -> 1016 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/nometainf.jarbin0 -> 920 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/nometainf.parbin0 -> 920 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/bundle.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/started-failure.par/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/started-failure.par/bundle.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/org.aspectj-library.libd6
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/osgi_test.jarbin0 -> 865 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/osgi_test2.jarbin0 -> 965 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/child.jarbin0 -> 388 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/com.foo.bar.properties3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/global.jarbin0 -> 389 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/parent.jarbin0 -> 422 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/one.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/some-config.properties0
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/three.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/two.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.bundle.one.jarbin0 -> 591 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.bundle.two.jarbin0 -> 591 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.fragment.one.jarbin0 -> 640 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/properties.plan13
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/properties/bundle/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.a.jarbin0 -> 3578 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.b.jarbin0 -> 3579 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.same1.jarbin0 -> 3614 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.same2.jarbin0 -> 3612 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/bundle-refresh.par/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/bundle-refresh.par/initial.jar/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/initial.jar/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-entry.jar/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-entry.jar/one/foo.txt0
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-export.jar/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-export.jar/one/foo.txt0
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-name.jar/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-version.jar/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/no-bsn-no-version.jar/META-INF/MANIFEST.MF1
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/parent-test.plan11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/test.plan11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/config-refresh.par/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/config-refresh.par/test.properties1
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test-refresh.properties1
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test.plan11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test.properties1
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-par-refresh/refresh.par/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-plan-refresh/test.plan10
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-plan-refresh/test.properties0
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/bad/simple.module.jarbin0 -> 607 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/good/simple.module.jarbin0 -> 588 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/good/simple2.module.jarbin0 -> 613 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/refresh-import-bundle.parbin0 -> 4404 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/refresh.parbin0 -> 6818 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/requirebundle/bundles/parWithInternalRequireBundle.parbin0 -> 1055 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/requirebundle/bundles/parrequirebundlethree.jarbin0 -> 362 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/scoped-test-with-par.plan11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-publication-from-repo/consumer.jarbin0 -> 1103 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-publication-from-repo/publisher.jarbin0 -> 1117 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/spring/context.xml12
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/service-scoping-nested.plan11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/spring/context.xml10
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/scoping.service.global.jarbin0 -> 1150 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-engine-1265.parbin0 -> 3393 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.parbin0 -> 2533 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.parbin0 -> 4819 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.plan12
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring.256A.sample.jarbin0 -> 2404 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring.libd5
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring_instrumented.libd5
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/tccltest.parbin0 -> 3667 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/test-refresh.properties1
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/test-with-par.plan11
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/test.plan13
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/test.properties1
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/testunscopednonatomic.plan13
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/trace-config/app.jarbin0 -> 431 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/trace-config/app.parbin0 -> 882 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmA.jarbin0 -> 527 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmB.jarbin0 -> 360 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmC.jarbin0 -> 356 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmD.jarbin0 -> 352 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/twoBundlesThatImportTheSameLibrary.parbin0 -> 1114 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/resources/waralientokernel.war0
149 files changed, 698 insertions, 0 deletions
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/BundlesAndConfig.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/BundlesAndConfig.par
new file mode 100644
index 00000000..c5a61d9a
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/BundlesAndConfig.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ExporterC.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ExporterC.jar
new file mode 100644
index 00000000..0073386d
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ExporterC.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ImportPromotion.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ImportPromotion.par
new file mode 100644
index 00000000..ec7e53de
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ImportPromotion.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ImportPromotionViaLibrary.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ImportPromotionViaLibrary.par
new file mode 100644
index 00000000..e1f0fd46
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ImportPromotionViaLibrary.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/LibraryC.libd b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/LibraryC.libd
new file mode 100644
index 00000000..6b740b4e
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/LibraryC.libd
@@ -0,0 +1,2 @@
+Library-SymbolicName: LibraryC
+Import-Bundle: ExporterC;import-scope:=application
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..1274b8a2
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/MANIFEST.MF
@@ -0,0 +1,29 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: org.eclipse.virgo.kernel.deployer.test
+Export-Package: org.eclipse.virgo.kernel.deployer.test
+Import-Package: org.eclipse.virgo.kernel.core,
+ org.eclipse.virgo.kernel.deployer.core,
+ org.eclipse.virgo.kernel.deployer.core.event,
+ org.eclipse.virgo.kernel.install.artifact,
+ org.eclipse.virgo.kernel.install.environment,
+ org.eclipse.virgo.kernel.model,
+ org.eclipse.virgo.kernel.model.management,
+ org.eclipse.virgo.kernel.module,
+ org.eclipse.virgo.kernel.osgi.common,
+ org.eclipse.virgo.kernel.osgi.framework,
+ org.eclipse.virgo.kernel.services.work,
+ org.eclipse.virgo.util.io,
+ org.eclipse.virgo.util.math,
+ javax.management,
+ org.eclipse.osgi.service.resolver,
+ org.junit,
+ org.osgi.framework,
+ org.osgi.service.cm,
+ org.osgi.service.framework,
+ org.osgi.service.packageadmin,
+ org.springframework.context,
+ org.springframework.osgi.context,
+ org.springframework.osgi.context.event,
+ org.springframework.util,
+ org.hsqldb
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/spring256.test.config.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/spring256.test.config.properties
new file mode 100644
index 00000000..fda2c59b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/spring256.test.config.properties
@@ -0,0 +1,62 @@
+launcher.bundles =\
+ file:../ivy-cache/repository/org.slf4j/com.springsource.slf4j.api/${org.slf4j}/com.springsource.slf4j.api-${org.slf4j}.jar@start,\
+ file:../ivy-cache/repository/org.slf4j/com.springsource.slf4j.org.apache.commons.logging/${org.slf4j}/com.springsource.slf4j.org.apache.commons.logging-${org.slf4j}.jar@start,\
+ file:../ivy-cache/repository/org.aspectj/com.springsource.org.aspectj.weaver/${org.aspectj}/com.springsource.org.aspectj.weaver-${org.aspectj}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.medic/org.eclipse.virgo.medic/${org.eclipse.virgo.medic}/org.eclipse.virgo.medic-${org.eclipse.virgo.medic}.jar@start,\
+ file:../ivy-cache/repository/org.apache.felix/org.apache.felix.configadmin/${org.apache.felix}/org.apache.felix.configadmin-${org.apache.felix}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.medic/org.eclipse.virgo.medic.core/${org.eclipse.virgo.medic}/org.eclipse.virgo.medic.core-${org.eclipse.virgo.medic}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.osgi/${org.eclipse.virgo.util}/org.eclipse.virgo.util.osgi-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.apache.felix/org.apache.felix.eventadmin/${org.apache.felix.eventadmin}/org.apache.felix.eventadmin-${org.apache.felix.eventadmin}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.common/${org.eclipse.virgo.util}/org.eclipse.virgo.util.common-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.io/${org.eclipse.virgo.util}/org.eclipse.virgo.util.io-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.jmx/${org.eclipse.virgo.util}/org.eclipse.virgo.util.jmx-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.math/${org.eclipse.virgo.util}/org.eclipse.virgo.util.math-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.parser.manifest/${org.eclipse.virgo.util}/org.eclipse.virgo.util.parser.manifest-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.codec/1.3.0/com.springsource.org.apache.commons.codec-1.3.0.jar@start,\
+ file:../ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.httpclient/3.1.0/com.springsource.org.apache.commons.httpclient-3.1.0.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.repository/org.eclipse.virgo.repository/${org.eclipse.virgo.repository}/org.eclipse.virgo.repository-${org.eclipse.virgo.repository}.jar@start,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.aop/3.0.0.RELEASE/org.springframework.aop-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.asm/3.0.0.RELEASE/org.springframework.asm-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.expression/3.0.0.RELEASE/org.springframework.expression-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.beans/3.0.0.RELEASE/org.springframework.beans-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.core/3.0.0.RELEASE/org.springframework.core-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.context/3.0.0.RELEASE/org.springframework.context-3.0.0.RELEASE.jar,\
+ file:../org.eclipse.virgo.kernel.core/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.agent.dm/target/classes@start,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.core/1.2.1/org.springframework.osgi.core-1.2.1.jar,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.extender/1.2.1/org.springframework.osgi.extender-1.2.1.jar@start,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.io/1.2.1/org.springframework.osgi.io-1.2.1.jar,\
+ file:../ivy-cache/repository/org.aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar,\
+ file:../org.eclipse.virgo.kernel.artifact/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.services/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.osgi/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.deployer/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.dm/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.model/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.kerneldmfragment/target/classes
+
+org.eclipse.virgo.test.properties.include=file:../build.versions,file:../build.properties
+
+#Equinox Configuration
+osgi.parentClassloader=fwk
+osgi.context.bootdelegation=false
+osgi.compatibility.bootdelegation=false
+osgi.clean=true
+osgi.configuration.area=target
+
+osgi.console=2401
+
+org.apache.felix.eventadmin.Timeout=0
+
+osgi.java.profile=file:../build-kernel/lib/java6-server.profile
+osgi.java.profile.bootdelegation=override
+osgi.hook.configurators.include=org.eclipse.virgo.osgi.extensions.equinox.hooks.ExtensionsHookConfigurator
+
+org.eclipse.virgo.kernel.deployer.disableRecovery=true
+
+org.eclipse.virgo.kernel.home=target
+org.eclipse.virgo.kernel.domain=org.eclipse.virgo.kernel
+# Paths are relative to the current working directory
+org.eclipse.virgo.kernel.config=src/test/resources/config
+
+org.eclipse.virgo.medic.log.config.path=src/test/resources/config/serviceability.xml
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/test.config.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/test.config.properties
new file mode 100644
index 00000000..2c27962c
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/META-INF/test.config.properties
@@ -0,0 +1,65 @@
+launcher.bundles =\
+ file:../ivy-cache/repository/org.slf4j/com.springsource.slf4j.api/${org.slf4j}/com.springsource.slf4j.api-${org.slf4j}.jar@start,\
+ file:../ivy-cache/repository/org.slf4j/com.springsource.slf4j.org.apache.commons.logging/${org.slf4j}/com.springsource.slf4j.org.apache.commons.logging-${org.slf4j}.jar@start,\
+ file:../ivy-cache/repository/org.aspectj/com.springsource.org.aspectj.weaver/${org.aspectj}/com.springsource.org.aspectj.weaver-${org.aspectj}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.medic/org.eclipse.virgo.medic/${org.eclipse.virgo.medic}/org.eclipse.virgo.medic-${org.eclipse.virgo.medic}.jar@start,\
+ file:../ivy-cache/repository/org.apache.felix/org.apache.felix.configadmin/${org.apache.felix}/org.apache.felix.configadmin-${org.apache.felix}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.medic/org.eclipse.virgo.medic.core/${org.eclipse.virgo.medic}/org.eclipse.virgo.medic.core-${org.eclipse.virgo.medic}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.osgi/${org.eclipse.virgo.util}/org.eclipse.virgo.util.osgi-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.apache.felix/org.apache.felix.eventadmin/${org.apache.felix.eventadmin}/org.apache.felix.eventadmin-${org.apache.felix.eventadmin}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.common/${org.eclipse.virgo.util}/org.eclipse.virgo.util.common-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.io/${org.eclipse.virgo.util}/org.eclipse.virgo.util.io-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.jmx/${org.eclipse.virgo.util}/org.eclipse.virgo.util.jmx-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.math/${org.eclipse.virgo.util}/org.eclipse.virgo.util.math-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.util/org.eclipse.virgo.util.parser.manifest/${org.eclipse.virgo.util}/org.eclipse.virgo.util.parser.manifest-${org.eclipse.virgo.util}.jar@start,\
+ file:../ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.codec/1.3.0/com.springsource.org.apache.commons.codec-1.3.0.jar@start,\
+ file:../ivy-cache/repository/org.apache.commons/com.springsource.org.apache.commons.httpclient/3.1.0/com.springsource.org.apache.commons.httpclient-3.1.0.jar@start,\
+ file:../ivy-cache/repository/org.eclipse.virgo.repository/org.eclipse.virgo.repository/${org.eclipse.virgo.repository}/org.eclipse.virgo.repository-${org.eclipse.virgo.repository}.jar@start,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.aop/3.0.0.RELEASE/org.springframework.aop-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.asm/3.0.0.RELEASE/org.springframework.asm-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.expression/3.0.0.RELEASE/org.springframework.expression-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.beans/3.0.0.RELEASE/org.springframework.beans-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.core/3.0.0.RELEASE/org.springframework.core-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.context/3.0.0.RELEASE/org.springframework.context-3.0.0.RELEASE.jar,\
+ file:../org.eclipse.virgo.kernel.core/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.agent.dm/target/classes@start,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.core/1.2.1/org.springframework.osgi.core-1.2.1.jar,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.extender/1.2.1/org.springframework.osgi.extender-1.2.1.jar@start,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.io/1.2.1/org.springframework.osgi.io-1.2.1.jar,\
+ file:../ivy-cache/repository/org.aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar,\
+ file:../org.eclipse.virgo.kernel.artifact/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.services/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.osgi/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.deployer/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.dm/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.model/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.kerneldmfragment/target/classes
+
+org.eclipse.virgo.test.properties.include=file:../build.versions,file:../build.properties
+
+#Equinox Configuration
+osgi.parentClassloader=fwk
+osgi.context.bootdelegation=false
+osgi.compatibility.bootdelegation=false
+osgi.clean=true
+osgi.configuration.area=target
+
+osgi.console=2401
+
+org.apache.felix.eventadmin.Timeout=0
+
+osgi.java.profile=file:../build-kernel/lib/java6-server.profile
+osgi.java.profile.bootdelegation=override
+osgi.hook.configurators.include=org.eclipse.virgo.osgi.extensions.equinox.hooks.ExtensionsHookConfigurator
+
+org.eclipse.virgo.kernel.deployer.disableRecovery=true
+
+org.eclipse.virgo.kernel.home=target
+org.eclipse.virgo.kernel.domain=org.eclipse.virgo.kernel
+# Paths are relative to the current working directory
+org.eclipse.virgo.kernel.config=src/test/resources/config
+
+org.eclipse.virgo.medic.log.config.path=src/test/resources/config/serviceability.xml
+
+eclipse.bundle.setTCCL=false
+eclipse.enableStateSaver=false
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ParRefreshPar.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ParRefreshPar.par
new file mode 100644
index 00000000..a705b3e8
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ParRefreshPar.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/activator-tccl.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/activator-tccl.jar
new file mode 100644
index 00000000..a714f924
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/activator-tccl.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app0.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app0.par
new file mode 100644
index 00000000..88dcc1d4
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app0.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app4.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app4.par
new file mode 100644
index 00000000..7655dcb1
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app4.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app4clash.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app4clash.par
new file mode 100644
index 00000000..66c6868a
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app4clash.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app5.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app5.par
new file mode 100644
index 00000000..c7cac15c
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app5.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app6.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app6.par
new file mode 100644
index 00000000..6ddb7da5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app6.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app7.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app7.par
new file mode 100644
index 00000000..7db14c7b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/app7.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-activation-policy.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-activation-policy.par
new file mode 100644
index 00000000..c2391ade
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-activation-policy.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporter.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporter.jar
new file mode 100644
index 00000000..4c3efd83
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporter.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporterv2.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporterv2.jar
new file mode 100644
index 00000000..f943c5b0
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporterv2.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporterv3.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporterv3.jar
new file mode 100644
index 00000000..3bff1309
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshExporterv3.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshImporter.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshImporter.jar
new file mode 100644
index 00000000..9d01457a
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/bundle-refresh/RefreshImporter.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/clashing.exports.in.a.scope.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/clashing.exports.in.a.scope.par
new file mode 100644
index 00000000..aba4ae83
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/clashing.exports.in.a.scope.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/clashinguses.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/clashinguses.par
new file mode 100644
index 00000000..820748d5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/clashinguses.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/classpath-scanning.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/classpath-scanning.par
new file mode 100644
index 00000000..a1e3d144
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/classpath-scanning.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.brits.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.brits.par
new file mode 100644
index 00000000..40e9089e
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.brits.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.platform.deployer.testbundle.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.platform.deployer.testbundle.jar
new file mode 100644
index 00000000..a8f61bc5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.platform.deployer.testbundle.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.platform.test.commons-dbcp.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.platform.test.commons-dbcp.jar
new file mode 100644
index 00000000..2a44ee61
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/com.springsource.platform.test.commons-dbcp.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config-admin-test.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config-admin-test.jar
new file mode 100644
index 00000000..0044a85f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config-admin-test.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.kernel.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.kernel.properties
new file mode 100644
index 00000000..ef6d516f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.kernel.properties
@@ -0,0 +1,5 @@
+deployer.timeout= 300
+deployer.pickupDirectory= target/pickup
+deployer.systemArtifacts=
+shell.enabled= true
+shell.port= 2401
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.kernel.userregion.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.kernel.userregion.properties
new file mode 100644
index 00000000..9a27a7ad
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.kernel.userregion.properties
@@ -0,0 +1,92 @@
+baseBundles =\
+ file:../ivy-cache/repository/org.springframework/org.springframework.aop/3.0.0.RELEASE/org.springframework.aop-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.asm/3.0.0.RELEASE/org.springframework.asm-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.expression/3.0.0.RELEASE/org.springframework.expression-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.beans/3.0.0.RELEASE/org.springframework.beans-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.core/3.0.0.RELEASE/org.springframework.core-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.context/3.0.0.RELEASE/org.springframework.context-3.0.0.RELEASE.jar,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.core/1.2.1/org.springframework.osgi.core-1.2.1.jar,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.extender/1.2.1/org.springframework.osgi.extender-1.2.1.jar@start,\
+ file:../ivy-cache/repository/org.springframework.osgi/org.springframework.osgi.io/1.2.1/org.springframework.osgi.io-1.2.1.jar,\
+ file:../ivy-cache/repository/org.aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar,\
+ file:../org.eclipse.virgo.kernel.agent.dm/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.deployer.dm/target/classes@start,\
+ file:../org.eclipse.virgo.kernel.dmfragment/target/classes,\
+ file:../org.eclipse.virgo.kernel.userregion/target/classes@start,\
+ file:../ivy-cache/repository/org.hsqldb/com.springsource.org.hsqldb/1.8.0.9/com.springsource.org.hsqldb-1.8.0.9.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.orm/3.0.0.RELEASE/org.springframework.orm-3.0.0.RELEASE.jar@start,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.transaction/3.0.0.RELEASE/org.springframework.transaction-3.0.0.RELEASE.jar@start,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.jdbc/3.0.0.RELEASE/org.springframework.jdbc-3.0.0.RELEASE.jar@start,\
+ file:../ivy-cache/repository/javax.persistence/com.springsource.javax.persistence/1.0.0/com.springsource.javax.persistence-1.0.0.jar,\
+ file:../ivy-cache/repository/org.springframework/org.springframework.orm/3.0.0.RELEASE/org.springframework.orm-3.0.0.RELEASE.jar@start,\
+ file:../ivy-cache/repository/com.oracle.toplink.essentials/com.springsource.oracle.toplink.essentials/2.0.0.b41-beta2/com.springsource.oracle.toplink.essentials-2.0.0.b41-beta2.jar
+
+packageImports =\
+ org.eclipse.virgo.kernel.artifact.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.core;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.deployer.core;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.deployer.core.event;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.install.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.osgi.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.model;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.model.management;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.module;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.serviceability;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.serviceability.dump;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.serviceability.enforcement;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.services.work;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.shim.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.medic.*;version="[1.0,2)",\
+ org.eclipse.virgo.repository;version="[2.0,3)",\
+ org.eclipse.virgo.util.*;version="[2.0,3)",\
+ org.apache.commons.logging;version="[1.0.0,2.0.0)",\
+ org.aspectj.*;version="[1.6.5.RELEASE,2.0.0)",\
+ org.junit;version="[4.7.0,5.0.0)",\
+ org.junit.runner;version="[4.7.0,5.0.0)",\
+ org.osgi.service.cm;version="0",\
+ org.osgi.service.event;version="0",\
+ org.slf4j;version="[1.5.10,2)"
+
+serviceImports =\
+ org.eclipse.virgo.kernel.deployer.core.ApplicationDeployer,\
+ org.eclipse.virgo.kernel.deployer.core.DeployUriNormaliser,\
+ org.eclipse.virgo.kernel.install.artifact.ScopeServiceRepository,\
+ org.eclipse.virgo.kernel.services.work.WorkArea,\
+ org.eclipse.virgo.repository.ArtifactBridge,\
+ org.eclipse.virgo.kernel.shell.state.StateService,\
+ org.eclipse.virgo.repository.RepositoryFactory,\
+ org.eclipse.virgo.medic.eventlog.EventLoggerFactory,\
+ org.eclipse.virgo.repository.Repository,\
+ org.eclipse.virgo.kernel.core.Shutdown,\
+ org.osgi.service.cm.ConfigurationAdmin,\
+ org.osgi.service.event.EventAdmin,\
+ org.eclipse.virgo.medic.dump.DumpGenerator,\
+ org.eclipse.virgo.kernel.shim.scope.ScopeFactory,\
+ org.eclipse.virgo.kernel.shim.serviceability.TracingService,\
+ org.eclipse.virgo.kernel.model.RuntimeArtifactRepository
+
+serviceExports =\
+ org.eclipse.virgo.kernel.install.artifact.InstallArtifactLifecycleListener,\
+ org.eclipse.virgo.kernel.install.artifact.ArtifactTypeDeterminer,\
+ org.eclipse.virgo.kernel.install.pipeline.stage.transform.Transformer,\
+ org.eclipse.virgo.medic.dump.DumpContributor,\
+ org.eclipse.virgo.kernel.osgi.quasi.QuasiFrameworkFactory,\
+ org.eclipse.virgo.kernel.osgi.framework.OsgiFramework,\
+ org.eclipse.virgo.kernel.osgi.framework.ImportExpander,\
+ org.eclipse.virgo.kernel.osgi.framework.PackageAdminUtil,\
+ org.osgi.service.event.EventHandler,\
+ org.osgi.service.cm.ConfigurationListener,\
+ org.osgi.service.cm.ManagedService,\
+ org.osgi.service.cm.ManagedServiceFactory
+
+inheritedFrameworkProperties =\
+ eclipse.bundle.setTCCL,\
+ eclipse.enableStateSaver,\
+ osgi.java.profile,\
+ osgi.parentClassloader,\
+ osgi.context.bootdelegation,\
+ osgi.compatibility.bootdelegation,\
+ osgi.java.profile.bootdelegation,\
+ osgi.hook.configurators.include
+
+ osgi.console=2402
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.medic.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.medic.properties
new file mode 100644
index 00000000..1f0972d1
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.medic.properties
@@ -0,0 +1,6 @@
+dump.root.directory=target/serviceability/dump
+log.wrapSysOut=false
+log.wrapSysErr=true
+log.dump.level=DEBUG
+log.dump.bufferSize=10000
+log.dump.pattern=[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread %-64.64logger{64} %X{medic.eventCode} %msg %ex%n
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.repository.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.repository.properties
new file mode 100644
index 00000000..0f7502d3
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/org.eclipse.virgo.repository.properties
@@ -0,0 +1,39 @@
+bundles.type=external
+bundles.searchPattern=../{bundle}/target/classes
+
+ivy-cache-bundles.type=external
+ivy-cache-bundles.searchPattern=../${ivy.cache::ivy-cache}/repository/{org}/{name}/{version}/{bundle}.jar
+
+ivy-cache-libraries.type=external
+ivy-cache-libraries.searchPattern=../${ivy.cache::ivy-cache}/repository/{org}/{name}/{version}/{library}.libd
+
+target-watched.type=watched
+target-watched.watchDirectory=target/watched
+target-watched.watchInterval=1
+
+src-test-resources-1.type=external
+src-test-resources-1.searchPattern=src/test/resources/importMergeDiagnostics/*.libd
+
+src-test-resources-2.type=external
+src-test-resources-2.searchPattern=src/test/resources/ExporterC.jar
+
+src-test-resources-3.type=external
+src-test-resources-3.searchPattern=src/test/resources/LibraryC.libd
+
+src-test-resources-4.type=external
+src-test-resources-4.searchPattern=src/test/resources/service-publication-from-repo/*.jar
+
+src-test-resources-5.type=external
+src-test-resources-5.searchPattern=src/test/resources/requirebundle/bundles/parrequirebundlethree.jar
+
+src-test-resources-6.type=external
+src-test-resources-6.searchPattern=src/test/resources/plan-deployment/*
+
+src-test-resources-7.type=external
+src-test-resources-7.searchPattern=src/test/resources/properties/*
+
+src-test-resources-8.type=external
+src-test-resources-8.searchPattern=src/test/resources/service-scoping/repository/*
+
+
+chain=target-watched,bundles,ivy-cache-bundles,ivy-cache-libraries,src-test-resources-1,src-test-resources-2,src-test-resources-3,src-test-resources-4,src-test-resources-5,src-test-resources-6,src-test-resources-7,src-test-resources-8
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/serviceability.xml b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/serviceability.xml
new file mode 100644
index 00000000..e576b75f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/config/serviceability.xml
@@ -0,0 +1,52 @@
+<configuration>
+
+ <appender name="LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>target/serviceability/log/log.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>target/serviceability/log/log_%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>4</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="EVENT_LOG_STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="EVENT_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>target/serviceability/eventlog/eventlog.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>target/serviceability/eventlog/eventlog_%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>4</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-24.24thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <logger level="INFO" additivity="false" name="org.eclipse.virgo.medic.eventlog.localized">
+ <appender-ref ref="EVENT_LOG_STDOUT" />
+ <appender-ref ref="EVENT_LOG_FILE" />
+ </logger>
+
+ <logger level="INFO" additivity="false" name="org.eclipse.virgo.medic.eventlog.default">
+ <appender-ref ref="LOG_FILE" />
+ </logger>
+
+ <root level="WARN">
+ <appender-ref ref="LOG_FILE" />
+ </root>
+
+</configuration>
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/configTimeout/org.eclipse.virgo.kernel.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/configTimeout/org.eclipse.virgo.kernel.properties
new file mode 100644
index 00000000..6d752a49
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/configTimeout/org.eclipse.virgo.kernel.properties
@@ -0,0 +1,9 @@
+deployer.timeout= 0
+deployer.pickupDirectory= target/pickup
+io.workDirectory= target/work
+io.dumpDirectory= target/serviceability/dump
+shell.enabled= false
+shell.port= 2401
+profile.name = deployer integration tests
+profile.subsystems=
+profile.optionalSubsystems=
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/configuration.deployment/empty.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/configuration.deployment/empty.properties
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/configuration.deployment/empty.properties
@@ -0,0 +1 @@
+
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/configuration.deployment/t.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/configuration.deployment/t.properties
new file mode 100644
index 00000000..20c0243a
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/configuration.deployment/t.properties
@@ -0,0 +1,2 @@
+a=b
+c=d
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployedArtifactJmxBeanTests/test.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployedArtifactJmxBeanTests/test.plan
new file mode 100644
index 00000000..42376609
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployedArtifactJmxBeanTests/test.plan
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="test.plan" version="1.0.0" scoped="false" atomic="false"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="simple.bundle.one" version="[1, 2)"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/ClassNotFoundException.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/ClassNotFoundException.jar
new file mode 100644
index 00000000..e780bd20
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/ClassNotFoundException.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/malformed-application-context.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/malformed-application-context.par
new file mode 100644
index 00000000..4cad753d
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/malformed-application-context.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-bundle.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-bundle.par
new file mode 100644
index 00000000..73ef21e1
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-bundle.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-library.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-library.par
new file mode 100644
index 00000000..b8b363e6
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-library.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-package.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-package.par
new file mode 100644
index 00000000..86090ab7
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/deployer-log-message-tests/missing-package.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummy-library.libd b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummy-library.libd
new file mode 100644
index 00000000..c8ff357a
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummy-library.libd
@@ -0,0 +1,3 @@
+Library-SymbolicName: dummy
+Library-Version: 1.0
+Import-Bundle: com.springsource.javax.el;version="[1.0,2.0)" \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummy.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummy.jar
new file mode 100644
index 00000000..aebcad34
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummy.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummymodified.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummymodified.jar
new file mode 100644
index 00000000..1ed12a9a
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/dummymodified.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/fragment.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/fragment.plan
new file mode 100644
index 00000000..aa9a11ce
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/fragment.plan
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="fragment" version="1.0.0" scoped="false" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="simple.bundle.one" version="[1, 2)"/>
+ <artifact type="bundle" name="simple.fragment.one" version="[1, 2)"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/bundle.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/bundle.jar
new file mode 100644
index 00000000..145a8521
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/bundle.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/bundle/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/bundle/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..27d8924e
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/bundle/META-INF/MANIFEST.MF
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: test
+Bundle-Version: 1.0
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/test.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/test.properties
new file mode 100644
index 00000000..74d0a43f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/hot-deployment-tests/test.properties
@@ -0,0 +1 @@
+foo=bar
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/LibraryImportingP1.libd b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/LibraryImportingP1.libd
new file mode 100644
index 00000000..1a04edac
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/LibraryImportingP1.libd
@@ -0,0 +1,3 @@
+Library-SymbolicName: LibraryImportingP1
+Library-Version: 1.0
+Import-Bundle: TestP1 \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/LibraryImportingP2.libd b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/LibraryImportingP2.libd
new file mode 100644
index 00000000..1d4220a7
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/LibraryImportingP2.libd
@@ -0,0 +1,3 @@
+Library-SymbolicName: LibraryImportingP2
+Library-Version: 1.0
+Import-Bundle: TestP2 \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestImportP1P2.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestImportP1P2.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..52d335fa
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestImportP1P2.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,4 @@
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: TestImportP1P2
+Import-Bundle: TestP1,TestP2
+
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestImportP1P2ViaLibraries.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestImportP1P2ViaLibraries.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..da527550
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestImportP1P2ViaLibraries.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,4 @@
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: TestImportP1P2ViaLibraries
+Import-Library: LibraryImportingP1,LibraryImportingP2
+
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestP1.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestP1.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..823733b7
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestP1.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: TestP1
+Export-Package: p
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestP2.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestP2.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..9f980dab
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/importMergeDiagnostics/TestP2.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: TestP2
+Export-Package: p
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/initial-artifact-plan/com.springsource.kernel.deployer.test.userregion.springdm.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/initial-artifact-plan/com.springsource.kernel.deployer.test.userregion.springdm.plan
new file mode 100644
index 00000000..85230043
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/initial-artifact-plan/com.springsource.kernel.deployer.test.userregion.springdm.plan
@@ -0,0 +1,10 @@
+<plan name="org.eclipse.virgo.kernel.deployer.test.userregion.springdm" version="2.0" scoped="false" atomic="false"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="com.springsource.kernel.agent.dm" version="[2.0, 2.1)"/>
+ <artifact type="bundle" name="org.eclipse.virgo.kernel.deployer.dm" version="[2.0, 2.1)"/>
+</plan>
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/jpa-ltw-sample-update.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/jpa-ltw-sample-update.par
new file mode 100644
index 00000000..8e473222
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/jpa-ltw-sample-update.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/library-deployment-test.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/library-deployment-test.par
new file mode 100644
index 00000000..313c7456
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/library-deployment-test.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/manual-context.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/manual-context.jar
new file mode 100644
index 00000000..650e457c
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/manual-context.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/failure/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/failure/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..0f930257
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/failure/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: monitor.failure
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/failure/META-INF/spring/context.xml b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/failure/META-INF/spring/context.xml
new file mode 100644
index 00000000..ce29a3fe
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/failure/META-INF/spring/context.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">
+
+ <ba
+</beans:beans>
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/nondm/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/nondm/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..c3b9ee11
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/nondm/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: monitor.nondm
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/success/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/success/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..199421b5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/success/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: monitor.success
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/success/META-INF/spring/context.xml b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/success/META-INF/spring/context.xml
new file mode 100644
index 00000000..e6eb8448
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/monitor/success/META-INF/spring/context.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">
+
+
+</beans:beans>
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nomanifest.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nomanifest.jar
new file mode 100644
index 00000000..a5de4a73
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nomanifest.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nomanifest.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nomanifest.par
new file mode 100644
index 00000000..a5de4a73
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nomanifest.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nometainf.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nometainf.jar
new file mode 100644
index 00000000..47a74266
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nometainf.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nometainf.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nometainf.par
new file mode 100644
index 00000000..47a74266
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/nometainf.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/bundle.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/bundle.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..564b943f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/bundle.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-SymbolicName: bundle
+Bundle-Version: 1
+Bundle-ManifestVersion: 2
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/started-failure.par/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/started-failure.par/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..4ce10b67
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/started-failure.par/META-INF/MANIFEST.MF
@@ -0,0 +1,2 @@
+Application-SymbolicName: onstarted-failure
+Application-Version: 1
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/started-failure.par/bundle.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/started-failure.par/bundle.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..564b943f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/onstarted-failure-tests/started-failure.par/bundle.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-SymbolicName: bundle
+Bundle-Version: 1
+Bundle-ManifestVersion: 2
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/org.aspectj-library.libd b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/org.aspectj-library.libd
new file mode 100644
index 00000000..4540c2c5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/org.aspectj-library.libd
@@ -0,0 +1,6 @@
+Library-SymbolicName: org.aspectj
+Library-Version: 1.6.1
+Library-Name: AspectJ
+Import-Bundle:
+ com.springsource.org.aspectj.runtime;version="[1.6.1 ,1.6.1]",
+ com.springsource.org.aspectj.weaver;version="[1.6.1, 1.6.1]"
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/osgi_test.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/osgi_test.jar
new file mode 100644
index 00000000..fa427006
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/osgi_test.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/osgi_test2.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/osgi_test2.jar
new file mode 100644
index 00000000..d1968015
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/osgi_test2.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/child.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/child.jar
new file mode 100644
index 00000000..9c67dc85
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/child.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/com.foo.bar.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/com.foo.bar.properties
new file mode 100644
index 00000000..094a8ed3
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/com.foo.bar.properties
@@ -0,0 +1,3 @@
+a=alpha
+b=bravo
+c=charlie
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/global.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/global.jar
new file mode 100644
index 00000000..12817392
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/global.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/parent.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/parent.jar
new file mode 100644
index 00000000..7333a5cc
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/parent.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..58224752
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/META-INF/MANIFEST.MF
@@ -0,0 +1,2 @@
+Application-SymbolicName: par-deployed-by-plan
+Application-Version: 1
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/one.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/one.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..74e806df
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/one.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-SymbolicName: one
+Bundle-Version: 1
+Bundle-ManifestVersion: 2
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/some-config.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/some-config.properties
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/some-config.properties
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/three.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/three.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..25aab648
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/three.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-SymbolicName: three
+Bundle-Version: 1
+Bundle-ManifestVersion: 2
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/two.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/two.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..908c5494
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/plan-deployment.par/two.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-SymbolicName: two
+Bundle-Version: 1
+Bundle-ManifestVersion: 2
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.bundle.one.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.bundle.one.jar
new file mode 100644
index 00000000..35e868e7
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.bundle.one.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.bundle.two.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.bundle.two.jar
new file mode 100644
index 00000000..74946ea3
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.bundle.two.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.fragment.one.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.fragment.one.jar
new file mode 100644
index 00000000..a1903253
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/plan-deployment/simple.fragment.one.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/properties.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/properties.plan
new file mode 100644
index 00000000..95963fb9
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/properties.plan
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="properties.plan" version="1.0.0" scoped="false" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="bundle.properties" version="[1, 2)">
+ <property name="header:Test-Header" value="foo"/>
+ </artifact>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/properties/bundle/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/properties/bundle/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..f6110942
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/properties/bundle/META-INF/MANIFEST.MF
@@ -0,0 +1,4 @@
+Manifest-Version: 1
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: bundle.properties
+Bundle-Version: 1
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.a.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.a.jar
new file mode 100644
index 00000000..66580c66
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.a.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.b.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.b.jar
new file mode 100644
index 00000000..05cf362f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.b.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.same1.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.same1.jar
new file mode 100644
index 00000000..b015cd5f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.same1.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.same2.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.same2.jar
new file mode 100644
index 00000000..3ad58801
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/quartz/quartz.bundle.same2.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/bundle-refresh.par/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/bundle-refresh.par/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..4ebd135c
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/bundle-refresh.par/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Application-SymbolicName: bundle-refresh
+Application-Version: 1.0
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/bundle-refresh.par/initial.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/bundle-refresh.par/initial.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..b94c70a2
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/bundle-refresh.par/initial.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1
+Bundle-SymbolicName: refresh
+Bundle-Version: 1.0
+Bundle-ManifestVersion: 2
+Export-Package: one
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/initial.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/initial.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..b94c70a2
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/initial.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1
+Bundle-SymbolicName: refresh
+Bundle-Version: 1.0
+Bundle-ManifestVersion: 2
+Export-Package: one
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-entry.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-entry.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..b94c70a2
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-entry.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1
+Bundle-SymbolicName: refresh
+Bundle-Version: 1.0
+Bundle-ManifestVersion: 2
+Export-Package: one
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-entry.jar/one/foo.txt b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-entry.jar/one/foo.txt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-entry.jar/one/foo.txt
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-export.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-export.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..a6445335
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-export.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1
+Bundle-SymbolicName: refresh
+Bundle-Version: 1.0
+Bundle-ManifestVersion: 2
+Export-Package: one,two
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-export.jar/one/foo.txt b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-export.jar/one/foo.txt
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-export.jar/one/foo.txt
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-name.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-name.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..cebf0076
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-name.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1
+Bundle-SymbolicName: different
+Bundle-Version: 1.0
+Bundle-ManifestVersion: 2
+Export-Package: one
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-version.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-version.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..a2d3cfef
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/new-version.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1
+Bundle-SymbolicName: refresh
+Bundle-Version: 2.0
+Bundle-ManifestVersion: 2
+Export-Package: one
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/no-bsn-no-version.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/no-bsn-no-version.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..e550bfa5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/no-bsn-no-version.jar/META-INF/MANIFEST.MF
@@ -0,0 +1 @@
+Manifest-Version: 1
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/parent-test.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/parent-test.plan
new file mode 100644
index 00000000..e52f0c09
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/parent-test.plan
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="bundle-refresh" version="1.0.0" scoped="true" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="plan" name="unscoped-bundle-refresh" version="[1,1]"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/test.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/test.plan
new file mode 100644
index 00000000..35ae2e34
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-bundle-refresh/test.plan
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="unscoped-bundle-refresh" version="1.0.0" scoped="false" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="refresh" version="[1,1]"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/config-refresh.par/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/config-refresh.par/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..dd054240
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/config-refresh.par/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Application-SymbolicName: config-refresh
+Application-Version: 1.0
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/config-refresh.par/test.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/config-refresh.par/test.properties
new file mode 100644
index 00000000..74d0a43f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/config-refresh.par/test.properties
@@ -0,0 +1 @@
+foo=bar
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test-refresh.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test-refresh.properties
new file mode 100644
index 00000000..011da3c9
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test-refresh.properties
@@ -0,0 +1 @@
+alpha=bravo
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test.plan
new file mode 100644
index 00000000..ee806c8c
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test.plan
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="config-refresh" version="1.0.0" scoped="true" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="configuration" name="test" version="[0,0]"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test.properties
new file mode 100644
index 00000000..74d0a43f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-config-refresh/test.properties
@@ -0,0 +1 @@
+foo=bar
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-par-refresh/refresh.par/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-par-refresh/refresh.par/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..6f9bc6ce
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-par-refresh/refresh.par/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Application-SymbolicName: refresh
+Application-Version: 1.0
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-plan-refresh/test.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-plan-refresh/test.plan
new file mode 100644
index 00000000..979e4eaa
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-plan-refresh/test.plan
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="refresh" version="1.0.0" scoped="false" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="configuration" name="test" version="[0,0]"/>
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-plan-refresh/test.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-plan-refresh/test.properties
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/ram-plan-refresh/test.properties
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/bad/simple.module.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/bad/simple.module.jar
new file mode 100644
index 00000000..0065505a
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/bad/simple.module.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/good/simple.module.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/good/simple.module.jar
new file mode 100644
index 00000000..af96e7ce
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/good/simple.module.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/good/simple2.module.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/good/simple2.module.jar
new file mode 100644
index 00000000..ce66b3a9
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/redeploy-refresh/good/simple2.module.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/refresh-import-bundle.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/refresh-import-bundle.par
new file mode 100644
index 00000000..14fe0a4d
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/refresh-import-bundle.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/refresh.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/refresh.par
new file mode 100644
index 00000000..8e7cac47
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/refresh.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/requirebundle/bundles/parWithInternalRequireBundle.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/requirebundle/bundles/parWithInternalRequireBundle.par
new file mode 100644
index 00000000..b38120c8
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/requirebundle/bundles/parWithInternalRequireBundle.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/requirebundle/bundles/parrequirebundlethree.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/requirebundle/bundles/parrequirebundlethree.jar
new file mode 100644
index 00000000..1dea9d27
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/requirebundle/bundles/parrequirebundlethree.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/scoped-test-with-par.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/scoped-test-with-par.plan
new file mode 100644
index 00000000..415387d3
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/scoped-test-with-par.plan
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="test.plan" version="1.0.0" scoped="true" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="par" name="par-deployed-by-plan" version="[1, 2)"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-publication-from-repo/consumer.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-publication-from-repo/consumer.jar
new file mode 100644
index 00000000..9120fb70
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-publication-from-repo/consumer.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-publication-from-repo/publisher.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-publication-from-repo/publisher.jar
new file mode 100644
index 00000000..a6778453
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-publication-from-repo/publisher.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..61bdbb0b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-SymbolicName: service.scoping.one
+Bundle-ManifestVersion: 2
+Bundle-Version: 1
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/spring/context.xml b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/spring/context.xml
new file mode 100644
index 00000000..84bb0dbf
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/one.jar/META-INF/spring/context.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:osgi="http://www.springframework.org/schema/osgi"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
+
+ <osgi:service interface="java.util.List">
+ <bean class="java.util.ArrayList"/>
+ </osgi:service>
+
+</beans>
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/service-scoping-nested.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/service-scoping-nested.plan
new file mode 100644
index 00000000..82003238
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/service-scoping-nested.plan
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="service-scoping-nested" version="1.0.0" scoped="false" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="service.scoping.two" version="[1, 2)"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/MANIFEST.MF b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/MANIFEST.MF
new file mode 100644
index 00000000..34404bf3
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/MANIFEST.MF
@@ -0,0 +1,3 @@
+Bundle-SymbolicName: service.scoping.two
+Bundle-ManifestVersion: 2
+Bundle-Version: 1
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/spring/context.xml b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/spring/context.xml
new file mode 100644
index 00000000..66d2b1c4
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/repository/two.jar/META-INF/spring/context.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:osgi="http://www.springframework.org/schema/osgi"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd">
+
+ <osgi:reference id="testList" interface="java.util.List"/>
+
+</beans>
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/scoping.service.global.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/scoping.service.global.jar
new file mode 100644
index 00000000..44663fc5
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/scoping.service.global.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-engine-1265.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-engine-1265.par
new file mode 100644
index 00000000..03f8c0d4
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-engine-1265.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.par
new file mode 100644
index 00000000..fc8c1ade
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping-platform-183.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.par
new file mode 100644
index 00000000..e243fe96
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.plan
new file mode 100644
index 00000000..468a7469
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/service-scoping/service-scoping.plan
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="service-scoping" version="1.0.0" scoped="true" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="plan" name="service-scoping-nested" version="[1, 2)"/>
+ <artifact type="bundle" name="service.scoping.one" version="[1, 2)"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring.256A.sample.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring.256A.sample.jar
new file mode 100644
index 00000000..e466b724
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring.256A.sample.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring.libd b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring.libd
new file mode 100644
index 00000000..42ef2e9e
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring.libd
@@ -0,0 +1,5 @@
+Library-SymbolicName: org.springframework
+Library-Version: 2.5.3
+Import-Bundle: org.springframework.core;version="[2.5.3,3.0.0)",
+ org.springframework.beans;version="[2.5.3,3.0.0)"
+ \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring_instrumented.libd b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring_instrumented.libd
new file mode 100644
index 00000000..7fc9d1ba
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/spring_instrumented.libd
@@ -0,0 +1,5 @@
+Library-SymbolicName: org.springframework
+Library-Version: 2.5.3
+Import-Bundle: org.springframework.core.instrumented;version="[2.5.3,3.0.0)",
+ org.springframework.beans.instrumented;version="[2.5.3,3.0.0)"
+ \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/tccltest.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/tccltest.par
new file mode 100644
index 00000000..b40ef5c3
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/tccltest.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test-refresh.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test-refresh.properties
new file mode 100644
index 00000000..011da3c9
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test-refresh.properties
@@ -0,0 +1 @@
+alpha=bravo
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test-with-par.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test-with-par.plan
new file mode 100644
index 00000000..1972dc47
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test-with-par.plan
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="test.plan" version="1.0.0" scoped="false" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="par" name="par-deployed-by-plan" version="[1, 2)"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test.plan
new file mode 100644
index 00000000..b9a4208c
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test.plan
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="test.plan" version="1.0.0" scoped="true" atomic="true"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="simple.bundle.one" version="[1, 2)"/>
+ <artifact type="bundle" name="simple.bundle.two" version="[1, 2)"/>
+ <artifact type="configuration" name="com.foo.bar" version="[0,0]"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test.properties b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test.properties
new file mode 100644
index 00000000..74d0a43f
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/test.properties
@@ -0,0 +1 @@
+foo=bar
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/testunscopednonatomic.plan b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/testunscopednonatomic.plan
new file mode 100644
index 00000000..d863fcaf
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/testunscopednonatomic.plan
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plan name="test.plan" version="1.0.0" scoped="false" atomic="false"
+ xmlns="http://www.springsource.org/schema/dm-server/plan"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="
+ http://www.springsource.org/schema/dm-server/plan
+ http://www.springsource.org/schema/dm-server/plan/springsource-dm-server-plan.xsd">
+
+ <artifact type="bundle" name="simple.bundle.one" version="[1, 2)"/>
+ <artifact type="bundle" name="simple.bundle.two" version="[1, 2)"/>
+ <artifact type="configuration" name="com.foo.bar" version="[0,0]"/>
+
+</plan> \ No newline at end of file
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/trace-config/app.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/trace-config/app.jar
new file mode 100644
index 00000000..a3126249
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/trace-config/app.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/trace-config/app.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/trace-config/app.par
new file mode 100644
index 00000000..ebd483db
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/trace-config/app.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmA.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmA.jar
new file mode 100644
index 00000000..55fe9332
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmA.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmB.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmB.jar
new file mode 100644
index 00000000..0ad7b28b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmB.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmC.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmC.jar
new file mode 100644
index 00000000..aaf6e54a
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmC.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmD.jar b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmD.jar
new file mode 100644
index 00000000..b269ce32
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/transitiveconstraint/tmD.jar
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/twoBundlesThatImportTheSameLibrary.par b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/twoBundlesThatImportTheSameLibrary.par
new file mode 100644
index 00000000..dc67c380
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/twoBundlesThatImportTheSameLibrary.par
Binary files differ
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/resources/waralientokernel.war b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/waralientokernel.war
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/resources/waralientokernel.war

Back to the top