Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--build-kernel/bin/checkJava.bat17
-rwxr-xr-xbuild-kernel/bin/checkJava.sh12
-rwxr-xr-xbuild-kernel/bin/dmk.bat239
-rwxr-xr-xbuild-kernel/bin/dmk.sh228
-rw-r--r--build-kernel/bin/jconsole.bat54
-rwxr-xr-xbuild-kernel/bin/jconsole.sh53
-rw-r--r--build-kernel/bin/jmxPermissions.vbs70
-rw-r--r--build-kernel/bin/setupClasspath.bat20
-rwxr-xr-xbuild-kernel/bin/setupClasspath.sh19
-rw-r--r--build-kernel/bin/setupVars.bat31
-rw-r--r--build-kernel/bin/shutdown.bat8
-rwxr-xr-xbuild-kernel/bin/shutdown.sh20
-rw-r--r--build-kernel/bin/startup.bat8
-rwxr-xr-xbuild-kernel/bin/startup.sh20
-rw-r--r--build-kernel/build.xml185
-rw-r--r--build-kernel/config/keystorebin0 -> 1206 bytes
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.authentication.config3
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.jmxremote.access.properties1
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.properties12
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.userregion.properties74
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.users.properties10
-rw-r--r--build-kernel/config/org.eclipse.virgo.medic.properties6
-rw-r--r--build-kernel/config/org.eclipse.virgo.repository.properties7
-rw-r--r--build-kernel/config/serviceability.xml77
-rw-r--r--build-kernel/kernel-ivy.xml39
-rw-r--r--build-kernel/lib-ivy.xml22
-rw-r--r--build-kernel/lib/java6-server.profile207
-rw-r--r--build-kernel/lib/org.eclipse.virgo.kernel.launch.properties54
-rw-r--r--build-kernel/repository/ext/org.eclipse.virgo.kernel.userregion.springdm.plan13
-rw-r--r--build-kernel/test-package.xml30
-rw-r--r--build.properties17
-rw-r--r--build.versions36
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/.classpath45
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/.project42
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/.settings/org.eclipse.jdt.core.prefs70
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/.springBeans20
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/ivy.xml37
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/ContextPropagatingTaskExecutor.java122
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/internal/AgentActivator.java94
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/internal/AgentLogEvents.java52
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/internal/BlueprintEventPostingOsgiBundleApplicationContextListener.java255
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/src/main/java/org/eclipse/virgo/kernel/agent/dm/internal/DeployerFailureListener.java62
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/src/main/resources/EventLogMessages.properties2
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/src/test/java/com/springsource/kernel/agent/internal/BlueprintEventPostingOsgiBundleApplicationContextListenerTests.java233
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.agent.dm/template.mf17
-rw-r--r--org.eclipse.virgo.kernel.artifact/.classpath37
-rw-r--r--org.eclipse.virgo.kernel.artifact/.project35
-rw-r--r--org.eclipse.virgo.kernel.artifact/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.artifact/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.artifact/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.artifact/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.artifact/ivy.xml30
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/ArtifactSpecification.java64
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridge.java221
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/ArtifactFS.java41
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/ArtifactFSEntry.java91
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/ArtifactFSFactory.java20
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/StandardArtifactFSFactory.java32
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/internal/DirectoryArtifactFS.java53
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/internal/FileArtifactFS.java61
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/fs/internal/FileArtifactFSEntry.java124
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/internal/BundleManifestUtils.java110
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/library/LibraryBridge.java233
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/library/LibraryDefinition.java86
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/library/internal/ArtifactDescriptorLibraryDefinition.java115
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/par/ParBridge.java132
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/plan/PlanBridge.java110
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/plan/PlanDescriptor.java60
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/plan/PlanReader.java162
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/plan/internal/PlanReaderEntityResolver.java39
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/plan/internal/PlanReaderErrorHandler.java39
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/java/org/eclipse/virgo/kernel/artifact/properties/PropertiesBridge.java81
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/main/resources/org/eclipse/virgo/kernel/artifact/plan/springsource-dm-server-plan.xsd111
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/ArtifactSpecificationTests.java47
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/StubHashGenerator.java25
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/BundleBridgeTests.java192
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/StubBundleArtefactBridge.java82
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/bundle/StubRepositoryAwareArtifactDescriptor.java79
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/fs/internal/DirectoryArtifactFSTests.java31
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/fs/internal/FileArtifactFSEntryTests.java41
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/fs/internal/FileArtifactFSTests.java41
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/library/LibraryBridgeTests.java57
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/par/ParBridgeTests.java117
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/plan/PlanBridgeTests.java89
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/plan/PlanReaderTests.java106
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/java/org/eclipse/virgo/kernel/artifact/properties/PropertiesBridgeTests.java52
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/artefacts/exploded/META-INF/MANIFEST.MF0
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/artefacts/exploded/META-INF/web/index.jsp12
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/artefacts/exploded/somefile.txt1
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/artifacts/simple.jarbin0 -> 576 bytes
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/bundle.jar/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/directories/y.different-1.2.3/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/libraries/invalid.libd3
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/libraries/test.libd4
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/pars/basic.par/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/pars/illegal-asn.par/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/pars/illegal-version.par/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/pars/no-asn.par/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/pars/no-description.par/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/pars/no-manifest.par/META-INF/dummy.txt1
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/pars/no-name.par/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/pars/no-version.par/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/plans/attributes.plan15
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/plans/malformed.plan9
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/plans/multi-artifact.plan13
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/plans/properties.plan13
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/plans/single-artifact.plan11
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/properties/foo.properties1
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/wars/test.warbin0 -> 730 bytes
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/wars/testbad01.warbin0 -> 436 bytes
-rw-r--r--org.eclipse.virgo.kernel.artifact/src/test/resources/wars/testbad02.war1
-rw-r--r--org.eclipse.virgo.kernel.artifact/template.mf16
-rw-r--r--org.eclipse.virgo.kernel.authentication/.classpath10
-rw-r--r--org.eclipse.virgo.kernel.authentication/.project23
-rw-r--r--org.eclipse.virgo.kernel.authentication/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.authentication/ivy.xml20
-rw-r--r--org.eclipse.virgo.kernel.authentication/src/main/java/org/eclipse/virgo/kernel/authentication/CredentialStore.java32
-rw-r--r--org.eclipse.virgo.kernel.authentication/src/main/java/org/eclipse/virgo/kernel/authentication/KernelLoginModule.java137
-rw-r--r--org.eclipse.virgo.kernel.authentication/src/main/java/org/eclipse/virgo/kernel/authentication/PropertiesFileCredentialStoreFactory.java96
-rw-r--r--org.eclipse.virgo.kernel.authentication/src/main/java/org/eclipse/virgo/kernel/authentication/Role.java72
-rw-r--r--org.eclipse.virgo.kernel.authentication/src/main/java/org/eclipse/virgo/kernel/authentication/User.java145
-rw-r--r--org.eclipse.virgo.kernel.authentication/src/main/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.authentication/src/test/java/org/eclipse/virgo/kernel/authentication/KernelLoginModuleTests.java142
-rw-r--r--org.eclipse.virgo.kernel.authentication/src/test/java/org/eclipse/virgo/kernel/authentication/PropertiesFileCredentialStoreFactoryTests.java91
-rw-r--r--org.eclipse.virgo.kernel.authentication/src/test/resources/user.properties0
-rw-r--r--org.eclipse.virgo.kernel.authentication/template.mf8
-rw-r--r--org.eclipse.virgo.kernel.core/.classpath50
-rw-r--r--org.eclipse.virgo.kernel.core/.project42
-rw-r--r--org.eclipse.virgo.kernel.core/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.core/.settings/org.eclipse.jdt.core.prefs70
-rw-r--r--org.eclipse.virgo.kernel.core/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.core/.springBeans20
-rw-r--r--org.eclipse.virgo.kernel.core/build.xml9
-rw-r--r--org.eclipse.virgo.kernel.core/findbugs-exclude.xml9
-rw-r--r--org.eclipse.virgo.kernel.core/ivy.xml37
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/ConfigurationAdminConfigurationInfo.java63
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/ConfigurationAdminDumpContributor.java101
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/ConfigurationAdminExporter.java133
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/ConfigurationInfo.java24
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/ConfigurationInitialiser.java94
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/ConfigurationPublisher.java82
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/KernelConfiguration.java116
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/KernelConfigurationPropertiesSource.java60
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/PropertiesSource.java41
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/UserConfigurationPropertiesSource.java113
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/commandline/CommandLinePropertiesSource.java151
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/ovf/OvfEnvironmentPropertiesReader.java85
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/ovf/OvfParseException.java30
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/config/internal/ovf/OvfPropertiesSource.java167
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/BlockingSignal.java65
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/BundleStarter.java54
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/BundleUtils.java54
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/FailureSignalledException.java39
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/FatalKernelException.java48
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/KernelException.java46
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/Shutdown.java37
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/Signal.java38
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/AsyncShutdownDecorator.java61
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/BundleStartTracker.java282
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/CoreBundleActivator.java238
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/KernelStatus.java30
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/KernelStatusMBean.java21
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/ShutdownManager.java136
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/StandardBundleStarter.java82
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/StartupTracker.java236
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/blueprint/ApplicationContextDependencyMonitor.java304
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/blueprint/StandardTicker.java255
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/blueprint/Ticker.java52
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/diagnostics/KernelLogEvents.java65
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/serviceability/Assert.java255
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/serviceability/FatalServerException.java44
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/serviceability/LogEventDelegate.java40
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/serviceability/NonNull.java35
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/serviceability/dump/DumpCoordinator.aj74
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/serviceability/dump/FFDCExceptionState.java65
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/serviceability/enforcement/NonNullAssertionEnforcer.aj73
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/shim/scope/Scope.java61
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/shim/scope/ScopeFactory.java67
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/shim/scope/internal/StandardScopeFactory.java289
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/shim/serviceability/TracingService.java45
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/shim/serviceability/internal/Slf4jTracingService.java30
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/resources/EventLogMessages.properties15
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/StubConfiguration.java58
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/StubConfigurationAdmin.java51
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/config/internal/ConfigurationPublisherTests.java140
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/config/internal/KernelConfigurationPropertiesSourceTests.java48
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/config/internal/KernelConfigurationTests.java61
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/config/internal/UserConfigurationPropertiesSourceTests.java45
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/config/internal/commandline/CommandLinePropertiesSourceTests.java126
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/config/internal/ovf/OvfEnvironmentPropertiesReaderTests.java37
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/config/internal/ovf/OvfPropertiesSourceTests.java84
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/core/internal/BundleStartTrackerTests.java292
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/core/internal/CoreBundleActivatorTests.java79
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/core/internal/ShutdownManagerTests.java103
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/core/internal/StartupTrackerTests.java192
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/core/internal/blueprint/ApplicationContextDependencyMonitorTests.java268
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/core/internal/blueprint/TickerTests.java44
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/serviceability/AssertTests.java175
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/serviceability/dump/FFDCExceptionStateTests.java80
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/org/eclipse/virgo/kernel/serviceability/enforcement/NonNullAssertionEnforcerTests.java74
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/java/test/AssertingService.java48
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/ConfigBundleTests/config_tests_badprops/noprops.properties2
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/ConfigBundleTests/config_tests_noprops/noise.config11
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/ConfigBundleTests/config_tests_noprops/noise2.config11
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/ConfigBundleTests/config_tests_props1/dup.properties3
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/ConfigBundleTests/config_tests_props2/dup.properties6
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/UserConfigurationPropertiesSourceTests/one.properties1
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/UserConfigurationPropertiesSourceTests/two.properties1
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/ovf/environment.xml26
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/ovf/invalid.xml25
-rw-r--r--org.eclipse.virgo.kernel.core/src/test/resources/ovf/valid.xml28
-rw-r--r--org.eclipse.virgo.kernel.core/template.mf21
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/.classpath47
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/.project42
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/ivy.xml37
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/src/main/java/org/eclipse/virgo/kernel/deployer/app/spring/ApplicationBundleUtils.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/src/main/java/org/eclipse/virgo/kernel/deployer/app/spring/ModuleContextWrapper.java101
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/src/main/java/org/eclipse/virgo/kernel/deployer/app/spring/UserRegionModuleContextAccessor.java71
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/src/main/resources/META-INF/spring/deployer-dm-context.xml16
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/src/test/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/src/test/java/org/eclipse/virgo/kernel/deployer/app/spring/UserRegionModuleContextAccessorTests.java142
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.deployer.dm/template.mf13
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/.classpath46
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/.project41
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/.settings/org.springframework.ide.eclipse.core.prefs68
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/ivy.xml68
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/main/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/main/java/META-INF/MANIFEST.MF7
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/AbstractDeployerIntegrationTest.java125
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/AbstractParTests.java84
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/AbstractRAMIntegrationTests.java45
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ActivatorTcclTests.java34
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ApplicationContextUtils.java61
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/BundleActivationPolicyTests.java68
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/BundleDeployerIntegrationTests.java50
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/BundleLifecycleTests.java155
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/BundleRefreshTests.java155
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ClasspathScanningTests.java70
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/CommonsDbcpTests.java50
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ConfigurationDeploymentTests.java234
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/DeployerEdgeTests.java272
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/DeployerLogMessageTests.java123
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/HotDeploymentTests.java100
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ImportMergeDiagnosticsTests.java68
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ImportPromotionTests.java44
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/InterdependentBundleDeploymentTests.java66
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/JpaLtwParTests.java47
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/LibraryScopingTests.java32
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/LoadableClasses.java20
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ManualSpringContextTests.java33
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/MissingImportLibraryTests.java29
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/MultiBundleApplicationDeploymentTests.java260
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/NestedPlanIntegrationTests.java802
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/OnStartedFailureTests.java110
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ParDeploymentTests.java79
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ParRefreshTests.java363
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/PipelinedDeployerIntegrationTests.java214
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/PipelinedDeployerTimeOutTests.java90
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/PlanDeploymentTests.java179
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/PropertiesArtifactMBeanTests.java100
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/QuartzSchedulerTests.java81
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/RAMBundleRefreshTests.java270
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/RAMConfigurationRefreshTests.java135
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/RAMDeploymentIntegrationTests.java97
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/RAMParRefreshTests.java44
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/RAMPlanRefreshTests.java43
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/RedeployRefreshTests.java110
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/RefreshTests.java263
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/RepositoryDeploymentTests.java33
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ServicePublishingFromRepoTests.java26
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ServiceScopingTests.java205
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/SimpleBundleApplicationDeploymentTests.java48
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/Spring256ABundleTests.java87
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/StubInstallArtifactLifecycleListener.java138
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ThreadContextClassLoaderTests.java36
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/TransitiveConstraintFailureDiagnosisTests.java131
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/modules/TesterModule.java132
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/modules/TesterModuleExport.java156
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/modules/TesterModuleImport.java105
-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
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/template.mf9
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/.classpath25
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/.project41
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/ivy.xml19
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/src/main/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/src/main/resources/META-INF/spring/deployer-testbundle-context.xml10
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/src/test/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.deployer.testbundle/template.mf5
-rw-r--r--org.eclipse.virgo.kernel.deployer/.classpath59
-rw-r--r--org.eclipse.virgo.kernel.deployer/.project42
-rw-r--r--org.eclipse.virgo.kernel.deployer/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.deployer/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.deployer/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.deployer/.settings/org.springframework.ide.eclipse.beans.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.deployer/.settings/org.springframework.ide.eclipse.core.prefs67
-rw-r--r--org.eclipse.virgo.kernel.deployer/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.deployer/build.xml9
-rw-r--r--org.eclipse.virgo.kernel.deployer/findbugs-exclude.xml8
-rw-r--r--org.eclipse.virgo.kernel.deployer/ivy.xml63
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/ArtifactIdentity.java75
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/DeployedArtefactInfo.java60
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/Deployer.java230
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/RecoveryMonitor.java39
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/ApplicationDeployer.java307
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/DeployUriNormaliser.java39
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/DeployerConfiguration.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/DeployerLogEvents.java104
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/DeploymentException.java89
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/DeploymentIdentity.java48
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/FatalDeploymentException.java47
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/ServerApplicationInfo.java64
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/ServerModuleInfo.java47
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationBundleDeployed.java41
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationBundleDeploying.java41
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationBundleDeploymentEvent.java61
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationBundleStarted.java41
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationBundleStarting.java41
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationBundleStopped.java41
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationBundleStopping.java41
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationBundleUndeployed.java41
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationBundleUndeploying.java41
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationDeployed.java38
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationDeploying.java38
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationDeploymentEvent.java68
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationDeploymentEventNotifier.java81
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationUndeployed.java38
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/ApplicationUndeploying.java38
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/event/DeploymentListener.java43
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/ApplicationRecoverer.java41
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/ArtefactNotFoundException.java36
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/BlockingSignal.java121
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/BundleDeploymentPropertiesTransformer.java88
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/DescopingBundleManifest.java255
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/DescopingBundleSymbolicName.java125
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/ImportExpandingTransformer.java119
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/ManifestUpgrader.java118
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/PipelinedApplicationDeployer.java532
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/PlanResolver.java115
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/Plumber.java164
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/RegionAwarePackageAdminAccessor.java25
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/SignalJunction.java140
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/StandardDeployerConfiguration.java65
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/StandardDeploymentIdentity.java109
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/StateCleanupInstallArtifactLifecycleListener.java57
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/TreeUtils.java61
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/event/DeploymentListener.java36
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/recovery/DeployerRecoveryLog.java270
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/recovery/DeployerRecoveryLogDeploymentListener.java58
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/recovery/RecoveryAgent.java106
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/uri/CompoundDeployUriNormaliser.java53
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/uri/FileDeployUriNormaliser.java42
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/core/internal/uri/RepositoryDeployUriNormaliser.java112
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/hot/HotDeployer.java133
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/hot/HotDeployerLogEvents.java47
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/hot/HotDeploymentFileSystemListener.java199
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/hot/WatchTask.java64
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/management/StandardDeployer.java133
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/management/StandardRecoveryMonitor.java100
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/model/DuplicateDeploymentIdentityException.java26
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/model/DuplicateFileNameException.java26
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/model/DuplicateLocationException.java26
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/model/RuntimeArtifactModel.java91
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/deployer/model/internal/StandardRuntimeArtifactModel.java199
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/ArtifactIdentity.java130
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/ArtifactIdentityDeterminer.java45
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/ArtifactState.java145
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/BundleInstallArtifact.java88
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/InstallArtifact.java178
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/InstallArtifactLifecycleListener.java181
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/InstallArtifactLifecycleListenerSupport.java123
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/InstallArtifactTreeFactory.java45
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/InstallArtifactTreeInclosure.java85
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/PlanInstallArtifact.java70
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/ScopeServiceRepository.java29
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/AbstractInstallArtifact.java456
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/ArtifactStateMonitor.java324
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/ArtifactStorage.java31
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/ArtifactStorageFactory.java52
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/AtomicInstallArtifactLifecycleListener.java189
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/ConfigInstallArtifact.java90
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/ConfigInstallArtifactTreeFactory.java73
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/ConfigLifecycleEngine.java91
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/DelegatingServiceRegistryBackedArtifactIdentityDeterminer.java70
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/InstallArtifactRefreshHandler.java37
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/LoggingInstallArtifactLifecycleListener.java160
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/ParPlanInstallArtifact.java279
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/ParPlanInstallArtifactFactory.java78
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/PlanInstallArtifactTreeFactory.java131
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/PlanMemberCollector.java83
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/PlanScoper.java159
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/RefreshEngine.java22
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/RefreshException.java28
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/ServiceScoper.java194
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/SpringConfigServiceModelScanner.java222
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StandardArtifactIdentityDeterminer.java119
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StandardArtifactStorage.java125
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StandardArtifactStorageFactory.java72
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StandardInstallArtifactRefreshHandler.java58
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StandardInstallArtifactTreeInclosure.java205
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StandardPlanInstallArtifact.java226
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StandardScopeServiceRepository.java162
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StartEngine.java21
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StartException.java28
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StopEngine.java21
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/StopException.java28
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/TreeRestrictingInstallArtifactLifecycleListener.java107
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/BundleDriver.java105
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/BundleDriverBundleListener.java108
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/BundleDriverFactory.java58
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/BundleDriverManifestTransformer.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/BundleInstallArtifactFactory.java119
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/BundleInstallArtifactTreeFactory.java83
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/BundleThreadContextManager.java130
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/StandardBundleDriver.java308
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/StandardBundleInstallArtifact.java519
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/scoping/ArtifactIdentityScoper.java64
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/scoping/ScopeNameFactory.java42
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/artifact/internal/scoping/Scoper.java403
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/environment/InstallEnvironment.java51
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/environment/InstallEnvironmentFactory.java35
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/environment/InstallLog.java49
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/environment/internal/StandardInstallEnvironment.java64
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/environment/internal/StandardInstallEnvironmentFactory.java48
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/environment/internal/StandardInstallLog.java106
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/Pipeline.java48
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/PipelineFactory.java42
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/internal/CompensatingPipeline.java98
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/internal/StandardPipeline.java72
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/internal/StandardPipelineFactory.java43
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/AbstractPipelineStage.java85
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/Operator.java39
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/PipelineStage.java43
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/resolve/internal/CommitStage.java45
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/resolve/internal/QuasiInstallStage.java85
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/resolve/internal/QuasiResolveStage.java50
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/resolve/internal/ResolveStage.java102
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/Transformer.java36
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/internal/BundleInstallArtifactGatheringTreeVisitor.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/internal/ScopedPlanIdentifyingTreeVisitor.java47
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/internal/ScopedPlanInstallArtifactProcessor.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/internal/ScopingTransformer.java53
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/internal/SyntheticContextBundleCreatingTransformer.java164
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/internal/TransformationStage.java59
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/internal/UserInstalledTaggingTransformer.java42
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/visit/Visitor.java34
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/install/pipeline/stage/visit/internal/VisitationStage.java69
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/ManagementExporter.java101
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/SystemDump.java34
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/StandardSystemDump.java42
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/AbstractMultiBeanSystemManagementExporter.java66
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/AbstractSystemManagementExporter.java66
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/ClassLoadingSystemManagementExporter.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/EnvironmentVariablesSystemManagementExporter.java96
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/GarbageCollectorSystemManagementExporter.java49
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/JmxSystemExporter.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/MemoryPoolSystemManagementExporter.java48
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/MemorySystemManagementExporter.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/OperatingSystemManagementExporter.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/RuntimeSystemManagementExporter.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/SystemManagementExporter.java28
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/management/internal/system/ThreadingSystemManagementExporter.java40
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/BundleDelegatingClassLoaderFactory.java36
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/Component.java53
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/ComponentClassLoadingException.java45
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/ComponentException.java46
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/InvalidComponentPropertyException.java46
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/ModuleContext.java56
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/ModuleContextAccessor.java32
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/ModuleContextEvent.java57
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/ModuleContextEventListener.java31
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/ModuleContextEventPublisher.java25
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/ModuleContextFailedEvent.java44
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/NoSuchComponentException.java32
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/PropertyTypeMismatchException.java57
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/ServiceProxyInspector.java33
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/java/org/eclipse/virgo/kernel/module/internal/StandardModuleContextEventPublisher.java128
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/EventLogMessages.properties61
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/api-context.xml9
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/configuration-context.xml16
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/core-context.xml10
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/deployer-context.xml313
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/deployer-hot-context.xml24
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/internal-osgi-context.xml58
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/management-context.xml25
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/serviceability-context.xml9
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/ArtifactIdentityTests.java38
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/DeploymentOptionsTests.java65
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/StubInstallArtifactLifecycleListener.java262
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/internal/BundleDeploymentPropertiesTransformerTests.java92
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/internal/DeployerBlockingSignalTests.java142
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/internal/DescopingBundleManifestTests.java275
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/internal/ImportExpandingTransformerTests.java178
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/internal/ManifestUpgraderTests.java166
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/internal/SignalJunctionTests.java164
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/internal/recovery/DeployerRecoveryLogTests.java85
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/core/internal/uri/RepositoryDeployUriNormalizerTests.java231
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/hot/HotDeployerFileSystemListenerTests.java105
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/hot/HotDeployerTests.java123
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/deployer/management/RecoveryMonitorTests.java69
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/AbstractInstallArtifactTests.java127
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/ArtifactStateMonitorTests.java150
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/AtomicInstallArtifactLifecycleListenerTests.java380
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/PlanMemberCollectorTests.java105
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/ScopeServiceRepositoryTests.java84
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/SpringConfigServiceModelScannerTests.java63
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/StandardArtifactIdentityDeterminerTests.java109
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/StandardInstallArtifactTreeInclosureTests.java243
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/StubArtifactBridge.java93
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/StubEventLogger.java32
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/StubInstallArtifactRefreshHandler.java55
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/TreeRestrictingInstallArtifactLifecycleListenerTests.java79
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/artifact/internal/bundle/StandardBundleInstallArtifactTests.java143
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/environment/internal/StandardInstallEnvironmentTests.java43
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/pipeline/AbstractPipelineStageTests.java102
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/pipeline/internal/CompensatingPipelineTests.java358
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/pipeline/internal/StandardPipelineTests.java269
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/TransformationStageTests.java102
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/internal/SyntheticContextBundleCreatingTransformerTests.java198
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/java/org/eclipse/virgo/kernel/install/pipeline/stage/transform/internal/UserInstalledTaggingTransformerTests.java49
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artefacts/exploded/META-INF/MANIFEST.MF0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artefacts/exploded/META-INF/web/index.jsp12
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artefacts/exploded/somefile.txt1
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artefacts/exploded/somefolder/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artifacts/malformed-application-context.jarbin0 -> 713 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artifacts/nobsn.jarbin0 -> 545 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artifacts/rawfile1
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artifacts/simple.jarbin0 -> 576 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artifacts/simple/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artifacts/simple/test/rawfile1
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/artifacts/test.properties1
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/but/but.B.after.jarbin0 -> 1589 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/but/but.B.before.jarbin0 -> 1331 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/but/but.C.jarbin0 -> 1641 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/cloning/app/1.0/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/cloning/hibernate/3.2.5/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/cloning/hibernate/3.2.6/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/cloning/spring/2.5.3/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/config/BundleUpdateTests/repository.properties7
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/dat/one/bundle/META-INF/MANIFEST.MF1
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/dat/two/bundle/META-INF/MANIFEST.MF1
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/debug.options4
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/different-hash-test/jar1.jarbin0 -> 456 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/different-hash-test/jar2.jarbin0 -> 456 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/different-hash-test/jar2a.jarbin0 -> 456 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/dummy/other/ignore.txt0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/dummy/other/jar2.jarbin0 -> 715 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/exploded/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/export-same-package/root-a/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/export-same-package/root-b/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/faulty/imp/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/file-system-searcher/a/1/a1.txt0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/file-system-searcher/a/1/z/a1z.txt0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/file-system-searcher/a/1/z/file.wont.be.found0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/file-system-searcher/b/1/b1.txt0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/file-system-searcher/b/1/file.wont.be.found0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/file-system-searcher/c/1/c1.txt0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/file-system-searcher/c/c.txt0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/invalid/bundle/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/jars/dummy.jarbin0 -> 774 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/jars/mockbundle.jarbin0 -> 419 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/libraries/exploded/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/libraries/exploded/bundle.jarbin0 -> 673 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/libraries/spring-instrumented.libd4
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/libraries/spring.libd5
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/manifests/invalid-import-package.MF11
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/multi-bundle-application-tests/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/multi-bundle-application-tests/one.jarbin0 -> 374 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/multi-bundle-application-tests/two.jarbin0 -> 374 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/multi-root/root-a/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/multi-root/root-b/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/org/eclipse/virgo/kernel/install/artifact/internal/sbiat-bundle/META-INF/MANIFEST.MF1
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-configuration/duplicate-repository-in-chain.properties7
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-configuration/missing-chain.properties2
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-configuration/missing-repositories.properties1
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-configuration/repository.properties12
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-populator-tests/corrupt-jar-test/a.jarbin0 -> 391 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-populator-tests/corrupt-jar-test/b.jar0
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-populator-tests/corrupt-jar-test/c.jarbin0 -> 391 bytes
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-populator-tests/malformed-manifest-test/a/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-populator-tests/malformed-manifest-test/b/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/repository-populator-tests/malformed-manifest-test/c/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/scoping/complexService.xml18
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/scoping/simpleService.xml12
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/test/dummy.txt1
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/test/resources/unit.test.subsystem/subsystem.xml4
-rw-r--r--org.eclipse.virgo.kernel.deployer/template.mf31
-rw-r--r--org.eclipse.virgo.kernel.dm/.classpath50
-rw-r--r--org.eclipse.virgo.kernel.dm/.project42
-rw-r--r--org.eclipse.virgo.kernel.dm/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.dm/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.dm/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.dm/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.dm/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.dm/ivy.xml42
-rw-r--r--org.eclipse.virgo.kernel.dm/src/main/java/org/eclipse/virgo/kernel/dm/internal/StandardBundleDelegatingClassLoaderFactory.java43
-rw-r--r--org.eclipse.virgo.kernel.dm/src/main/java/org/eclipse/virgo/kernel/dm/internal/StandardServiceProxyInspector.java33
-rw-r--r--org.eclipse.virgo.kernel.dm/src/main/resources/META-INF/spring/kernel-dm-context.xml25
-rw-r--r--org.eclipse.virgo.kernel.dm/src/test/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.dm/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.dm/template.mf18
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/.classpath43
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/.project42
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/.settings/org.springframework.ide.eclipse.beans.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/.springBeans14
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/ivy.xml40
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/ModuleBeanFactoryPostProcessor.java26
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/ApplicationContextShutdownBean.java58
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/ApplicationContextShutdownBeanPostProcessor.java31
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/ContextClassLoaderPostProcessor.java68
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/KernelAnnotationMBeanExporter.java39
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/KernelExtensionConfiguringOsgiPostProcessor.java49
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/KernelLoadTimeWeaver.java97
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/KernelMBeanExporter.java40
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/KernelModelMBean.java50
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/LoadTimeWeaverPostProcessor.java38
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/MBeanExporterPostProcessor.java61
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/java/org/eclipse/virgo/kernel/dmfragment/internal/ServiceProxyRetryDisablingBundleListener.java63
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/main/resources/META-INF/spring/extender/kernel-dmfragment-context.xml39
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/test/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.dmfragment/template.mf21
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/.classpath41
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/.project41
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/.settings/org.springframework.ide.eclipse.beans.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/.springBeans14
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/bin/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/build.xml9
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/ivy.xml20
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/src/main/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/src/main/resources/META-INF/spring/extender/kernel-dmfragment-context.xml18
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/src/test/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.kerneldmfragment/template.mf9
-rw-r--r--org.eclipse.virgo.kernel.model/.classpath46
-rw-r--r--org.eclipse.virgo.kernel.model/.project42
-rw-r--r--org.eclipse.virgo.kernel.model/.settings/com.cenqua.clover.core.prefs21
-rw-r--r--org.eclipse.virgo.kernel.model/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.model/.settings/org.eclipse.jdt.core.prefs70
-rw-r--r--org.eclipse.virgo.kernel.model/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.model/.settings/org.springframework.ide.eclipse.beans.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.model/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.model/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.model/ivy.xml37
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/Artifact.java96
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/ArtifactState.java35
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/BundleArtifact.java42
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/CompositeArtifact.java41
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/RuntimeArtifactRepository.java68
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/AbstractArtifact.java158
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/ArtifactRepositoryListener.java41
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/DependencyDeterminer.java42
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/NotifyingRuntimeArtifactRepository.java113
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/bundle/BundleArtifact.java130
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/bundle/BundleDependencyDeterminer.java81
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/bundle/ModelBundleListener.java77
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/bundle/ModelBundleListenerInitializer.java85
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/configurationadmin/ConfigurationArtifact.java92
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/configurationadmin/ModelConfigurationListener.java83
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/configurationadmin/ModelConfigurationListenerInitializer.java92
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/deployer/DeployerArtifact.java148
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/deployer/DeployerBundleArtifact.java40
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/deployer/DeployerCompositeArtifact.java60
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/deployer/DeployerCompositeArtifactDependencyDeterminer.java63
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/deployer/ModelInstallArtifactLifecycleListener.java117
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/internal/deployer/ModelInstallArtifactLifecycleListenerInitializer.java94
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/InstallException.java35
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/Installer.java38
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/ManageableArtifact.java98
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/ManageableBundleArtifact.java45
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/ManageableCompositeArtifact.java44
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/RuntimeArtifactModelObjectNameCreator.java102
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/internal/DefaultRuntimeArtifactModelObjectNameCreator.java121
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/internal/DelegatingInstaller.java58
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/internal/DelegatingManageableArtifact.java131
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/internal/DelegatingManageableBundleArtifact.java49
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/internal/DelegatingManageableCompositeArtifact.java54
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/java/org/eclipse/virgo/kernel/model/management/internal/JmxArtifactRepositoryListener.java108
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/resources/META-INF/spring/module-context.xml75
-rw-r--r--org.eclipse.virgo.kernel.model/src/main/resources/META-INF/spring/osgi-context.xml48
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/StubArtifactRepository.java45
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/StubCompositeArtifact.java72
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/AbztractArtifactTests.java151
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/NotifyingArtifactRepositoryTests.java104
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/bundle/BundleArtifactTests.java117
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/bundle/BundleDependencyDeterminerTests.java66
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/bundle/ModelBundleListenerInitializerTests.java84
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/bundle/ModelBundleListenerTests.java89
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/configurationadmin/ConfgurationArtifactTests.java86
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/configurationadmin/ModelConfigurationListenerInitializerTests.java76
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/configurationadmin/ModelConfigurationListenerTests.java100
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/deployer/DeployerArtifactTests.java117
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/deployer/DeployerCompositeArtifactDependencyDeterminerTests.java65
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/deployer/DeployerCompositeArtifactTests.java62
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/deployer/ModelInstallArtifactLifecycleListenerInitializerTests.java115
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/internal/deployer/ModelInstallArtifactLifecycleListenerTests.java103
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/management/internal/DefaultArtifactObjectNameCreatorTests.java40
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/management/internal/DelegatingManageableArtifactTests.java94
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/management/internal/DelegatingManageableCompositeArtifactTests.java59
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/java/org/eclipse/virgo/kernel/model/management/internal/JmxArtifactRepositoryListenerTests.java71
-rw-r--r--org.eclipse.virgo.kernel.model/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.model/template.mf19
-rw-r--r--org.eclipse.virgo.kernel.osgi/.classpath49
-rw-r--r--org.eclipse.virgo.kernel.osgi/.project36
-rw-r--r--org.eclipse.virgo.kernel.osgi/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.osgi/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.osgi/.settings/org.springframework.ide.eclipse.core.prefs67
-rw-r--r--org.eclipse.virgo.kernel.osgi/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.osgi/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.osgi/ivy.xml40
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/common/Version.java126
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/BundleClassLoaderUnavailableException.java45
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/ExtendedClassNotFoundException.java37
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/ExtendedNoClassDefFoundError.java38
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/ImportExpander.java45
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/ImportMergeException.java62
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/InstrumentableClassLoader.java58
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/ManifestTransformer.java35
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/OsgiConfiguration.java38
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/OsgiFramework.java100
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/OsgiFrameworkException.java61
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/OsgiFrameworkLogEvents.java57
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/OsgiFrameworkUtils.java200
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/OsgiServiceHolder.java34
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/PackageAdminUtil.java32
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/UnableToSatisfyBundleDependenciesException.java77
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/UnableToSatisfyDependenciesException.java94
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/UnableToSatisfyLibraryDependenciesException.java40
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/UnableToSatisfyPlanDependenciesException.java35
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/support/AbstractOsgiFramework.java76
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/framework/support/ImmutableOsgiConfiguration.java53
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiBundle.java129
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiExportPackage.java53
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiFramework.java106
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiFrameworkFactory.java42
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiImportPackage.java64
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiPackageResolutionFailure.java36
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiPackageUsesResolutionFailure.java26
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiParameterised.java41
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiRequiredBundle.java62
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/quasi/QuasiResolutionFailure.java40
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/region/PackageImportWildcardExpander.java141
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/region/Region.java40
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/region/RegionManager.java361
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/region/RegionManagerParserLogger.java42
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/java/org/eclipse/virgo/kernel/osgi/region/eventlog/RegionAwareEventLoggerServiceFactory.java55
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/resources/EventLogMessages.properties7
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/resources/META-INF/spring/configuration-context.xml16
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/resources/META-INF/spring/internal-osgi-context.xml33
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/main/resources/META-INF/spring/osgi-framework-context.xml18
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/java/org/eclipse/virgo/kernel/osgi/common/VersionTests.java66
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/java/org/eclipse/virgo/kernel/osgi/region/PackageImportWildcardExpanderTests.java76
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/java/org/eclipse/virgo/kernel/osgi/region/RegionManagerTests.java86
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/IMPORTBUNDLE.MF3
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/IMPORTLIBRARY.MF1
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/IMPORTPACKAGE.MF1
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/IMPORTSYSTEMPACKAGES.MF4
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/IMPORTSYSTEMPACKAGESJAVA6.MF1
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/REQUIREBUNDLE.MF2
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/SATISFIABLEANDUNSATISFIABLE.MF2
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/UNSATISFIABLEIMPORTBUNDLE.MF1
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/UNSATISFIABLEIMPORTLIBRARY.MF1
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/UNSATISFIABLEIMPORTPACKAGE.MF1
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/UNSATISFIABLEREQUIREBUNDLE.MF1
-rw-r--r--org.eclipse.virgo.kernel.osgi/src/test/resources/com/springsource/kernel/osgi/provisioning/tools/org.springframework_spring_2.5.3.libd5
-rw-r--r--org.eclipse.virgo.kernel.osgi/template.mf23
-rw-r--r--org.eclipse.virgo.kernel.services/.classpath52
-rw-r--r--org.eclipse.virgo.kernel.services/.project42
-rw-r--r--org.eclipse.virgo.kernel.services/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.services/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.services/.settings/org.springframework.ide.eclipse.core.prefs67
-rw-r--r--org.eclipse.virgo.kernel.services/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.services/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.services/bin/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.services/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.services/ivy.xml45
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/ExecutorServiceDelegate.java151
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/ExecutorServiceInfo.java78
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/ExecutorServiceStatistics.java76
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/KernelExecutorService.java27
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/KernelScheduledExecutorService.java27
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/KernelScheduledThreadPoolExecutor.java101
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/KernelThreadPoolExecutor.java111
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/NamedThreadFactory.java47
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/PersistentThreadLocal.java24
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/ThreadPoolUtils.java31
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/diagnostics/ConcurrentLogEvents.java54
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/management/ExecutorServiceExporter.java28
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/management/JmxExecutorServiceExporter.java79
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/management/StandardExecutorServiceInfo.java106
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/monitor/DeadlockAnalyser.java234
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/concurrent/monitor/DeadlockMonitor.java130
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/internal/KernelServicesLogEvents.java54
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/repository/internal/EmptyRepository.java93
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/repository/internal/RepositoryFactoryBean.java109
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/work/StandardWorkArea.java65
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/work/WorkArea.java40
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/java/org/eclipse/virgo/kernel/services/work/WorkAreaServiceFactory.java46
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/resources/EventLogMessages.properties4
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/resources/META-INF/spring/concurrent-context.xml33
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/resources/META-INF/spring/configuration-context.xml16
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/resources/META-INF/spring/io-context.xml20
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/resources/META-INF/spring/repository-context.xml62
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/concurrent/AbstractExecutorTests.java78
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/concurrent/KernelScheduledThreadPoolExecutorTests.java51
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/concurrent/KernelThreadPoolExecutorTests.java128
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/concurrent/management/JmxExecutorServiceExporterTests.java110
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/concurrent/monitor/DeadlockAnalyserTests.java60
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/concurrent/monitor/DeadlockCreator.java124
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/concurrent/monitor/DeadlockCreatorMBean.java19
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/repository/internal/EmptyRepositoryTests.java32
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/repository/internal/RepositoryFactoryBeanTests.java91
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/work/StandardWorkAreaTests.java55
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/java/org/eclipse/virgo/kernel/services/work/WorkAreaServiceFactoryTests.java41
-rw-r--r--org.eclipse.virgo.kernel.services/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.services/template.mf20
-rw-r--r--org.eclipse.virgo.kernel.shell/.classpath53
-rw-r--r--org.eclipse.virgo.kernel.shell/.project42
-rw-r--r--org.eclipse.virgo.kernel.shell/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.shell/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.shell/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.shell/.settings/org.springframework.ide.eclipse.beans.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.shell/.springBeans24
-rw-r--r--org.eclipse.virgo.kernel.shell/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.shell/ivy.xml52
-rw-r--r--org.eclipse.virgo.kernel.shell/key.serbin0 -> 1201 bytes
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/Command.java47
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/CommandCompleter.java49
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/Converter.java88
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/AnnotationBasedCommandResolver.java75
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CommandDescriptor.java63
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CommandInvoker.java39
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CommandNotFoundException.java32
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CommandProcessor.java52
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CommandProviderResolver.java32
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CommandRegistry.java114
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CommandRegistryCommandInvoker.java174
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CommandResolver.java38
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CommandSession.java41
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/CompoundCommandResolver.java49
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/ExitCallback.java33
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/JLineLocalShell.java224
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/LocalInputOutputManager.java123
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/LocalShell.java33
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/LocalShellFactory.java40
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/ParametersMismatchException.java40
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/RemoteShellsManager.java230
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/ServicePropertyCommandResolver.java98
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/ServiceRegistryCommandProviderResolver.java43
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/ServiceUtils.java84
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/ShellLauncher.java137
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/ShellLogEvents.java57
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/SshdShell.java129
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/StandardCommandProcessor.java44
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/StandardCommandSession.java81
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/StandardLocalShellFactory.java59
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/AbstractInstallArtifactBasedCommands.java172
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/BundleCommands.java155
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/ConfigCommands.java94
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/ExitCommand.java39
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/HelpCommand.java116
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/InstallCommand.java69
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/PackageCommands.java77
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/ParCommands.java27
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/PlanCommands.java28
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/ServiceCommands.java49
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/commands/ShutdownCommand.java66
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/AbstractInstallArtifactCompleter.java98
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/BundleCompleter.java24
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/CommandCompleterRegistry.java36
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/CommandRegistryBackedJLineCompletor.java121
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/ConfigCompleter.java95
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/DelegatingJLineCompletor.java124
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/HelpCommandCompleter.java58
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/InstallCompleter.java182
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/PackageCompleter.java87
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/ParCompleter.java24
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/PlanCompleter.java24
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/completers/ServiceRegistryCommandCompleterRegistry.java122
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/converters/ConverterRegistry.java35
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/converters/LongConverter.java76
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/converters/ServiceRegistryConverterRegistry.java124
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/converters/StringConverter.java53
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/formatting/AbstractInstallArtifactCommandFormatter.java79
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/formatting/BundleInstallArtifactCommandFormatter.java435
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/formatting/CompositeInstallArtifactCommandFormatter.java41
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/formatting/ConfigInstallArtifactCommandFormatter.java83
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/formatting/InstallArtifactCommandFormatter.java24
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/formatting/PackageCommandFormatter.java142
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/formatting/PropertyFormatter.java111
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/formatting/ServiceCommandFormatter.java151
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/help/HelpAccessor.java47
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/help/SimpleFileHelpAccessor.java156
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/parsing/ParsedCommand.java80
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/parsing/ParsingUtils.java76
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/internal/util/ArtifactRetriever.java84
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/model/helper/ArtifactAccessor.java64
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/model/helper/ArtifactAccessorPointer.java47
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/model/helper/RamAccessorHelper.java101
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/model/helper/StandardArtifactAccessor.java136
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/model/helper/StandardArtifactAccessorPointer.java126
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/model/helper/StandardRamAccessorHelper.java244
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/state/QuasiLiveBundle.java52
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/state/QuasiLiveService.java58
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/state/QuasiPackage.java55
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/state/StateService.java109
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/state/internal/StandardQuasiLiveBundle.java194
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/state/internal/StandardQuasiLiveFramework.java123
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/state/internal/StandardQuasiLiveService.java137
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/state/internal/StandardQuasiPackage.java71
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/java/org/eclipse/virgo/kernel/shell/state/internal/StandardStateService.java204
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/EventLogMessages.properties2
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/META-INF/spring/module-context.xml140
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/META-INF/spring/osgi-context.xml137
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.BundleCommands.help19
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.ConfigCommands.help18
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.ExitCommand.help6
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.HelpCommand.help5
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.InstallCommand.help4
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.PackageCommands.help5
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.ParCommands.help10
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.PlanCommands.help10
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.ServiceCommands.help5
-rw-r--r--org.eclipse.virgo.kernel.shell/src/main/resources/com.springsource.kernel.shell.internal.commands.ShutdownCommand.help4
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/AnnotationBasedCommandResolverTests.java84
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/DelegatingCompletorTests.java71
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/RemoteShellsManagerTests.java218
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/ServiceRegistryCommandProviderResolverTests.java64
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/StandardCommandProcessorTests.java47
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/StandardCommandSessionTests.java50
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/StubLocalShell.java42
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/StubLocalShellFactory.java33
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/commands/AbztractCompositeInstallArtifactBasedCommandsTests.java103
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/commands/ConfigCommandsTests.java74
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/commands/InstallCommandTests.java137
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/commands/StubAbstractCompositeInstallArtifactBasedCommands.java23
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/commands/StubInstallArtifactCommandFormatter.java30
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/commands/StubRuntimeArtifactModelObjectNameCreator.java71
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/completers/AbztractInstallArtifactCompleterTests.java99
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/completers/ConfigCompleterTests.java85
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/completers/InstallCompleterTests.java105
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/converters/LongConverterTests.java69
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/converters/StringConverterTests.java84
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/formatting/AbztractInstallArtifactCommandFormatterTests.java44
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/formatting/CompositeInstallArtifactCommandFormatterTests.java31
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/formatting/ConfigInstallArtifactCommandFormatterTests.java92
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/formatting/PropertyFormatterTests.java53
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/formatting/ServiceCommandFormatterTests.java72
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/formatting/StubManageableCompositeArtifact.java182
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/formatting/TestOutputComparator.java48
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/internal/help/SimpleFileHelpAccessorTests.java91
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/model/helper/DummyManagableArtifact.java80
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/model/helper/StandardArtifactAccessorPointerTests.java123
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/model/helper/StandardArtifactAccessorTests.java109
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/model/helper/StandardRamAccessorHelperTests.java200
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/state/internal/StandardQuasiLiveBundleTests.java185
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/state/internal/StandardQuasiLiveServiceTests.java109
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/state/internal/StandardQuasiPackageTests.java81
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/state/internal/StandardStateServiceTests.java108
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/stubs/StubQuasiExportPackage.java79
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/stubs/StubQuasiFramework.java85
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/stubs/StubQuasiFrameworkFactory.java31
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/stubs/StubQuasiImportPackage.java83
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/stubs/StubQuasiLiveBundle.java104
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/stubs/StubQuasiLiveService.java63
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/stubs/StubQuasiPackage.java53
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/java/org/eclipse/virgo/kernel/shell/stubs/StubStateService.java73
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/resources/helpAccessorTests.help7
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/resources/org/eclipse/virgo/kernel/shell/internal/formatting/abstract-list.txt2
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/resources/org/eclipse/virgo/kernel/shell/internal/formatting/composite-examine.txt7
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/resources/org/eclipse/virgo/kernel/shell/internal/formatting/config-examine.txt13
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/resources/org/eclipse/virgo/kernel/shell/internal/formatting/service-examine.txt8
-rw-r--r--org.eclipse.virgo.kernel.shell/src/test/resources/org/eclipse/virgo/kernel/shell/internal/formatting/service-list.txt3
-rw-r--r--org.eclipse.virgo.kernel.shell/template.mf30
-rw-r--r--org.eclipse.virgo.kernel.shutdown/.classpath10
-rw-r--r--org.eclipse.virgo.kernel.shutdown/.project23
-rw-r--r--org.eclipse.virgo.kernel.shutdown/build.xml9
-rw-r--r--org.eclipse.virgo.kernel.shutdown/ivy.xml20
-rw-r--r--org.eclipse.virgo.kernel.shutdown/src/main/java/org/eclipse/virgo/kernel/shutdown/ShutdownClient.java114
-rw-r--r--org.eclipse.virgo.kernel.shutdown/src/main/java/org/eclipse/virgo/kernel/shutdown/ShutdownCommand.java82
-rw-r--r--org.eclipse.virgo.kernel.shutdown/src/main/java/org/eclipse/virgo/kernel/shutdown/ShutdownCommandParser.java80
-rw-r--r--org.eclipse.virgo.kernel.shutdown/src/main/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.shutdown/src/test/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.shutdown/src/test/java/org/eclipse/virgo/kernel/shutdown/Shutdown.java22
-rw-r--r--org.eclipse.virgo.kernel.shutdown/src/test/java/org/eclipse/virgo/kernel/shutdown/ShutdownClientTests.java309
-rw-r--r--org.eclipse.virgo.kernel.shutdown/src/test/java/org/eclipse/virgo/kernel/shutdown/ShutdownCommandParserTests.java107
-rw-r--r--org.eclipse.virgo.kernel.shutdown/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.smoketest/.classpath10
-rw-r--r--org.eclipse.virgo.kernel.smoketest/.project17
-rw-r--r--org.eclipse.virgo.kernel.smoketest/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.smoketest/build.xml9
-rw-r--r--org.eclipse.virgo.kernel.smoketest/ivy.xml25
-rw-r--r--org.eclipse.virgo.kernel.smoketest/src/main/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.smoketest/src/main/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.smoketest/src/test/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.smoketest/src/test/java/org/eclipse/virgo/kernel/smoketest/AbstractKernelTests.java300
-rw-r--r--org.eclipse.virgo.kernel.smoketest/src/test/java/org/eclipse/virgo/kernel/smoketest/KernelStartupAndShutdownTests.java32
-rw-r--r--org.eclipse.virgo.kernel.smoketest/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.stubs/.classpath32
-rw-r--r--org.eclipse.virgo.kernel.stubs/.project34
-rw-r--r--org.eclipse.virgo.kernel.stubs/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.stubs/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.stubs/.settings/org.eclipse.wst.common.project.facet.core.xml3
-rw-r--r--org.eclipse.virgo.kernel.stubs/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.stubs/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.stubs/ivy.xml24
-rw-r--r--org.eclipse.virgo.kernel.stubs/src/main/java/org/eclipse/virgo/kernel/stubs/StubArtifactFS.java66
-rw-r--r--org.eclipse.virgo.kernel.stubs/src/main/java/org/eclipse/virgo/kernel/stubs/StubBundleInstallArtifact.java91
-rw-r--r--org.eclipse.virgo.kernel.stubs/src/main/java/org/eclipse/virgo/kernel/stubs/StubInstallArtifact.java151
-rw-r--r--org.eclipse.virgo.kernel.stubs/src/main/java/org/eclipse/virgo/kernel/stubs/StubPlanInstallArtifact.java46
-rw-r--r--org.eclipse.virgo.kernel.stubs/src/main/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.stubs/src/test/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.stubs/src/test/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.stubs/template.mf9
-rw-r--r--org.eclipse.virgo.kernel.test/.classpath25
-rw-r--r--org.eclipse.virgo.kernel.test/.project41
-rw-r--r--org.eclipse.virgo.kernel.test/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.test/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--org.eclipse.virgo.kernel.test/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.test/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.test/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.test/ivy.xml46
-rw-r--r--org.eclipse.virgo.kernel.test/src/main/java/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.test/src/main/resources/.gitignore0
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/concurrent/test/ApplicationContextDependencyMonitorIntegrationTests.java111
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/dm/test/ModuleBeanFactoryPostProcessorTests.java79
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/ffdc/test/FFDCServiceAspectTests.java53
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/osgi/test/QuasiFrameworkIntegrationTests.java298
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/osgi/test/QuasiFrameworkStateDumpIntegrationTests.java160
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/osgi/test/RegionTests.java45
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/test/AbstractKernelIntegrationTest.java61
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/test/ManifestUtils.java94
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/test/StandardBundleStarterSignallingTests.java297
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/test/StandardBundleStarterTests.java79
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/test/StandardKernelIntegrationTests.java30
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/java/org/eclipse/virgo/kernel/test/TestSignal.java56
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/META-INF/MANIFEST.MF26
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/META-INF/test.config.properties60
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/QuickConsumer.jarbin0 -> 1304 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/SlowService.jarbin0 -> 1864 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.properties5
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.kernel.userregion.properties80
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.medic.properties6
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/org.eclipse.virgo.repository.properties14
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/config/serviceability.xml55
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/initial-artifact-plan/com.springsource.kernel.test.userregion.springdm.plan10
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/META-INF/spring/delay-context.xml15
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/delay/delay/Bean.classbin0 -> 317 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/failure/META-INF/spring/context.xml11
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/nondm/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/monitor/success/META-INF/spring/context.xml11
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/post-processors/inbuilt/META-INF/spring/context.xml19
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleexporter.jarbin0 -> 571 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/quasi/simpleimporter.jarbin0 -> 571 bytes
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-config/kernel.properties9
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-config/repository.properties13
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-config/serviceability.xml55
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/one/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/subsystem-1.0.0.xml4
-rw-r--r--org.eclipse.virgo.kernel.test/src/test/resources/sit-repo/two/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.test/template.mf20
-rw-r--r--org.eclipse.virgo.kernel.userregion/.classpath48
-rw-r--r--org.eclipse.virgo.kernel.userregion/.project36
-rw-r--r--org.eclipse.virgo.kernel.userregion/.settings/com.springsource.server.ide.bundlor.core.prefs3
-rw-r--r--org.eclipse.virgo.kernel.userregion/.settings/org.eclipse.wst.common.project.facet.core.xml4
-rw-r--r--org.eclipse.virgo.kernel.userregion/.settings/org.springframework.ide.eclipse.core.prefs67
-rw-r--r--org.eclipse.virgo.kernel.userregion/.springBeans13
-rw-r--r--org.eclipse.virgo.kernel.userregion/build.xml8
-rw-r--r--org.eclipse.virgo.kernel.userregion/ivy.xml39
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/Activator.java293
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/EmptyModuleContextAccessor.java23
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/InitialArtifactDeployer.java175
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/KernelStartedAwaiter.java48
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/ServiceScopingRegistryHook.java55
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/ServiceScopingStrategy.java190
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/UserRegionLogEvents.java51
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/EquinoxBootDelegationHelper.java101
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/EquinoxConsoleManager.java105
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/EquinoxHookRegistrar.java53
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/EquinoxOsgiFramework.java138
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/EquinoxUtils.java139
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/KernelBundleClassLoader.java449
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/KernelClassLoaderCreator.java47
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/ResolutionDumpContributor.java64
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/ResolutionStateDumper.java102
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/StandardPackageAdminUtil.java45
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/StandardStateWriter.java44
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/StandardSystemStateAccessor.java41
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/StateWriter.java40
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/SystemStateAccessor.java34
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/TransformedManifestProvidingBundleFileWrapper.java297
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/equinox/UsesAnalyser.java394
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/AbstractTrackedPackageImports.java376
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/AdditionalTrackedPackageImports.java54
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/BundleManifestProcessor.java282
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/BundleTrackedPackageImports.java78
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/CollectingTrackedPackageImports.java36
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/ContainingTrackedPackageImports.java62
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/EmptyTrackedPackageImports.java35
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/ImportExpansionHandler.java562
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/StandardImportPromotionVector.java85
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/StandardTrackedPackageImportsFactory.java68
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/TrackedPackageImports.java92
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/TrackedPackageImportsFactory.java83
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/BundleDescriptionComparator.java32
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/DependencyCalculator.java376
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/GenericQuasiResolutionFailure.java42
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/PackageQuasiResolutionFailure.java63
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/PackageUsesQuasiResolutionFailure.java35
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/ResolutionFailureDetective.java40
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiBundle.java293
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiExportPackage.java162
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiFramework.java415
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiFrameworkFactory.java160
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiImportPackage.java169
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiParameterised.java125
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiRequiredBundle.java111
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardResolutionFailureDetective.java392
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/main/resources/EventLogMessages.properties5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/InitialArtifactDeployerTests.java156
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/ServiceScopingStrategyTests.java259
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/AbstractOsgiFrameworkLaunchingTests.java196
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/BundleInstallationTests.java199
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/BundleUpdateTests.java75
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/EquinoxBootDelegationHelperTests.java48
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/EquinoxOsgiFrameworkTests.java103
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/KernelBundleClassLoaderTests.java111
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/LoadTimeWeavingTests.java131
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/ManifestUtils.java94
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/ResolutionStateDumperTests.java116
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/StubHashGenerator.java25
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/TestUtils.java32
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/equinox/UsesAnalyserTests.java162
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/ImportExpansionHandlerTests.java751
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/importexpansion/TrackedPackageImportsTests.java405
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/BundleDescriptionComparatorTests.java208
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiBundleTests.java152
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiExportPackageTests.java88
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiImportPackageTests.java120
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StandardQuasiRequiredBundleTests.java107
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StubBaseDescription.java57
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StubBundleDescription.java348
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StubBundleSpecification.java103
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StubExportPackageDescription.java75
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StubImportPackageSpecification.java109
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StubParameterised.java41
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/java/org/eclipse/virgo/kernel/userregion/internal/quasi/StubStateHelper.java118
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/EquinoxOsgiFrameworkTests/faulty/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/KernelBundleClassLoaderTests/dependant.jarbin0 -> 871 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/KernelBundleClassLoaderTests/depender.jarbin0 -> 737 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/eight/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/error/missingimport/bundle/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/five/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/four/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/fragments/unresolvable/bundle/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/fragments/unresolvable/fragment/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/multi/a/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/multi/b/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/multi/bundle/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/nine/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/one/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/optional/notsatindep/bundle/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/optional/notsatindep/dep/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/optional/notsatisfied/bundle/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/outsiderepo/bundle/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/seven/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/six/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/three/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/two/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/uses/bundle/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/uses/hibernate325/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/uses/hibernate326/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/uses/spring/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/x/high/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/install/x/low/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/bit/standalone/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/config/BundleInstallationTests/repository.properties43
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/config/BundleUpdateTests/repository.properties43
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/config/EquinoxOsgiFrameworkTests/repository.properties4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/config/ImportExpansionHandlerTests/repository.properties13
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/config/InstallFromLocationTests/repository.properties4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/config/KernelBundleClassLoaderTests/repository.properties13
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/config/LoadTimeWeavingTests/repository.properties4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/config/ResolutionStateDumperTests/repository.properties4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/config/UsesAnalyserTests/repository.properties4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/dependency-locator/config/repository.properties7
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/dependency-locator/lib/java5-server.profile152
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/dependency-locator/lib/java6-server.profile216
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/dependency-locator/lib/org.eclipse.osgi-3.4.0.v20080529-1200.jarbin0 -> 994119 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/dependency-locator/lib/server.profile146
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/fail/child/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/fail/parent/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/frag/child/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/frag/host/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/iflt/bundles/four/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/iflt/bundles/one/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/iflt/bundles/three/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/iflt/bundles/two/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/jars/dummy.jarbin0 -> 774 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/jars/mockbundle.jarbin0 -> 450 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/ltw/ltw-domain.jarbin0 -> 801 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/ltw/ltw-em.jarbin0 -> 801 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/ltw/ltw-include.jarbin0 -> 1704 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/platform170/simpleosgiapp-1.0.0.jarbin0 -> 59309 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/platform170/simpleosgiapp-2.0.0.jarbin0 -> 59542 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/platform170/simpleosgiservice-1.0.0.jarbin0 -> 4710 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/platform170/simpleosgiservice-2.0.0.jarbin0 -> 5142 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/rfd-other/other/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/rfd/a/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/rfd/app/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/rfd/b/META-INF/MANIFEST.MF7
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/rfd/c/META-INF/MANIFEST.MF7
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/rfd/hibernate/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/rfd/hibernate2/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/rfd/spring/META-INF/MANIFEST.MF7
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/rfd/web/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/bundles/fragmentOne/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/bundles/fragmentTwo/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/bundles/fragmentwithnoexports/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/bundles/host/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/bundles/multi-version-export/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/bundles/noexports/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/bundles/overlapper/META-INF/MANIFEST.MF4
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/libraries/com.foo.libd3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/libraries/missing.optional.bundle.libd3
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/silht/libraries/spring.libd5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/dependent/bundles/p/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/dependent/bundles/q/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/dependent/bundles/r1/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/dependent/bundles/r2/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/dependent/bundles/s1/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/dependent/bundles/s2/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/install/bundles/p/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/install/bundles/q/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/install/bundles/r1/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/install/bundles/r2/META-INF/MANIFEST.MF6
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/install/bundles/s1/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/install/bundles/s2/META-INF/MANIFEST.MF5
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/transitiveconstraint/tmA.jarbin0 -> 527 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/transitiveconstraint/tmB.jarbin0 -> 360 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/transitiveconstraint/tmC.jarbin0 -> 356 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/src/test/resources/uat/transitiveconstraint/tmD.jarbin0 -> 352 bytes
-rw-r--r--org.eclipse.virgo.kernel.userregion/template.mf23
-rw-r--r--org.eclipse.virgo.kernel/build.xml8
-rw-r--r--org.eclipse.virgo.kernel/ivy.xml31
-rwxr-xr-xscripts/CoverageOverview.groovy67
-rwxr-xr-xscripts/update-dependency.sh3
-rw-r--r--test-apps/activator-tccl/build.properties6
-rw-r--r--test-apps/activator-tccl/build.xml9
-rw-r--r--test-apps/activator-tccl/ivy.xml22
-rw-r--r--test-apps/activator-tccl/src/main/java/eg/Activator.java40
-rw-r--r--test-apps/activator-tccl/src/main/resources/META-INF/MANIFEST.MF8
-rw-r--r--test-apps/bundle-activation-policy/README.TXT9
-rw-r--r--test-apps/bundle-activation-policy/build-par/build.xml14
-rw-r--r--test-apps/bundle-activation-policy/build.properties6
-rw-r--r--test-apps/bundle-activation-policy/bundle.activation.policy.module.a/build.xml9
-rw-r--r--test-apps/bundle-activation-policy/bundle.activation.policy.module.a/ivy.xml26
-rw-r--r--test-apps/bundle-activation-policy/bundle.activation.policy.module.a/src/main/java/a/UseBundleB.java24
-rw-r--r--test-apps/bundle-activation-policy/bundle.activation.policy.module.a/src/main/resources/META-INF/MANIFEST.MF5
-rw-r--r--test-apps/bundle-activation-policy/bundle.activation.policy.module.b/build.xml9
-rw-r--r--test-apps/bundle-activation-policy/bundle.activation.policy.module.b/ivy.xml25
-rw-r--r--test-apps/bundle-activation-policy/bundle.activation.policy.module.b/src/main/java/b/ClassInBundleB.java17
-rw-r--r--test-apps/bundle-activation-policy/bundle.activation.policy.module.b/src/main/resources/META-INF/MANIFEST.MF5
-rw-r--r--test-apps/bundle-update/class.load.after.update/README.TXT11
-rw-r--r--test-apps/bundle-update/class.load.after.update/build.properties6
-rw-r--r--test-apps/bundle-update/class.load.after.update/build.xml31
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.after/.classpath6
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.after/.project17
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.after/build.xml9
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.after/ivy.xml25
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.after/src/main/java/but/but/A.java16
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.after/src/main/java/but/but/B.java22
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.after/src/main/java/but/but/I.java17
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.after/src/main/resources/META-INF/MANIFEST.MF6
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.before/.classpath6
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.before/.project17
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.before/build.xml9
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.before/ivy.xml25
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.before/src/main/java/but/but/A.java16
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.before/src/main/java/but/but/B.java16
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.B.before/src/main/resources/META-INF/MANIFEST.MF6
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.C/.classpath8
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.C/.project17
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.C/build.xml9
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.C/ivy.xml26
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.C/src/main/java/but/c/C.java46
-rw-r--r--test-apps/bundle-update/class.load.after.update/but.C/src/main/resources/META-INF/MANIFEST.MF7
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/README.TXT9
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build-par/build.xml13
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.properties6
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/build.xml18
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/build.xml9
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/ivy.xml20
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c1/src/main/resources/META-INF/MANIFEST.MF6
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/build.xml9
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/ivy.xml20
-rw-r--r--test-apps/deployer-edge-tests/clashing-exports-in-a-scope/c2/src/main/resources/META-INF/MANIFEST.MF6
-rw-r--r--test-apps/manual-context/build.properties6
-rw-r--r--test-apps/manual-context/build.xml9
-rw-r--r--test-apps/manual-context/ivy.xml28
-rw-r--r--test-apps/manual-context/src/main/java/eg/Activator.java28
-rw-r--r--test-apps/manual-context/src/main/java/eg/context.xml7
-rw-r--r--test-apps/manual-context/src/main/resources/META-INF/MANIFEST.MF8
-rw-r--r--test-apps/plan-deployment/build.properties6
-rw-r--r--test-apps/plan-deployment/simple.bundle.one/.classpath10
-rw-r--r--test-apps/plan-deployment/simple.bundle.one/.project17
-rw-r--r--test-apps/plan-deployment/simple.bundle.one/build.xml9
-rw-r--r--test-apps/plan-deployment/simple.bundle.one/ivy.xml22
-rw-r--r--test-apps/plan-deployment/simple.bundle.one/src/main/resources/META-INF/MANIFEST.MF4
-rw-r--r--test-apps/plan-deployment/simple.bundle.two/.classpath10
-rw-r--r--test-apps/plan-deployment/simple.bundle.two/.project17
-rw-r--r--test-apps/plan-deployment/simple.bundle.two/build.xml9
-rw-r--r--test-apps/plan-deployment/simple.bundle.two/ivy.xml22
-rw-r--r--test-apps/plan-deployment/simple.bundle.two/src/main/resources/META-INF/MANIFEST.MF4
-rw-r--r--test-apps/quartz-scheduler/README.TXT21
-rw-r--r--test-apps/quartz-scheduler/build.properties7
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.a/.classpath14
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.a/.project17
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.a/build.xml9
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.a/ivy.xml31
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.a/src/main/java/quartz/bundle/a/Service.java28
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.a/src/main/java/quartz/bundle/a/internal/StandardService.java47
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.a/src/main/resources/META-INF/MANIFEST.MF7
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.a/src/main/resources/META-INF/spring/module-context.xml28
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.a/src/main/resources/META-INF/spring/osgi-context.xml12
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.b/.classpath14
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.b/.project17
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.b/build.xml9
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.b/ivy.xml31
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.b/src/main/java/quartz/bundle/b/Service.java28
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.b/src/main/java/quartz/bundle/b/internal/StandardService.java47
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.b/src/main/resources/META-INF/MANIFEST.MF7
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.b/src/main/resources/META-INF/spring/module-context.xml28
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.b/src/main/resources/META-INF/spring/osgi-context.xml12
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same1/.classpath14
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same1/.project15
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same1/build.xml9
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same1/ivy.xml31
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same1/src/main/java/quartz/bundle/same1/Service.java28
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same1/src/main/java/quartz/bundle/same1/internal/StandardService.java47
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same1/src/main/resources/META-INF/MANIFEST.MF7
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same1/src/main/resources/META-INF/spring/module-context.xml27
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same1/src/main/resources/META-INF/spring/osgi-context.xml12
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same2/.classpath14
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same2/.project15
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same2/build.xml9
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same2/ivy.xml31
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same2/src/main/java/quartz/bundle/same2/Service.java28
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same2/src/main/java/quartz/bundle/same2/internal/StandardService.java47
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same2/src/main/resources/META-INF/MANIFEST.MF7
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same2/src/main/resources/META-INF/spring/module-context.xml27
-rw-r--r--test-apps/quartz-scheduler/quartz.bundle.same2/src/main/resources/META-INF/spring/osgi-context.xml12
-rw-r--r--test-apps/redeploy-refresh/README.TXT11
-rw-r--r--test-apps/redeploy-refresh/build.properties6
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.bad/.classpath10
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.bad/.project17
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.bad/build.xml9
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.bad/ivy.xml22
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.bad/src/main/resources/META-INF/MANIFEST.MF6
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.ok/.classpath10
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.ok/.project17
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.ok/build.xml9
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.ok/ivy.xml22
-rw-r--r--test-apps/redeploy-refresh/simple.bundle.ok/src/main/resources/META-INF/MANIFEST.MF4
-rw-r--r--test-apps/refresh/README.TXT13
-rw-r--r--test-apps/refresh/refresh-import-bundle/.classpath10
-rw-r--r--test-apps/refresh/refresh-import-bundle/.project17
-rw-r--r--test-apps/refresh/refresh-import-bundle/build-par/build.xml16
-rw-r--r--test-apps/refresh/refresh-import-bundle/build.properties6
-rw-r--r--test-apps/refresh/refresh-import-bundle/exporter/build.xml7
-rw-r--r--test-apps/refresh/refresh-import-bundle/exporter/ivy.xml22
-rw-r--r--test-apps/refresh/refresh-import-bundle/exporter/src/main/java/refresh/exporter/b1/B11.java17
-rw-r--r--test-apps/refresh/refresh-import-bundle/exporter/src/main/resources/META-INF/MANIFEST.MF8
-rw-r--r--test-apps/refresh/refresh-import-bundle/importer/build.xml10
-rw-r--r--test-apps/refresh/refresh-import-bundle/importer/ivy.xml24
-rw-r--r--test-apps/refresh/refresh-import-bundle/importer/src/main/java/org/eclipse/virgo/kernel/deployer/test/LoadableClasses.java20
-rw-r--r--test-apps/refresh/refresh-import-bundle/importer/src/main/java/refresh/importer/Importer.java53
-rw-r--r--test-apps/refresh/refresh-import-bundle/importer/src/main/resources/META-INF/MANIFEST.MF11
-rw-r--r--test-apps/refresh/refresh-import-bundle/importer/src/main/resources/META-INF/spring/importer-context.xml20
-rw-r--r--test-apps/refresh/refresh-import-bundle/src/main/resources/META-INF/MANIFEST.MF3
-rw-r--r--test-apps/refresh/refresh/build-par/build.xml37
-rw-r--r--test-apps/refresh/refresh/build.properties6
-rw-r--r--test-apps/refresh/refresh/exporter/build.xml9
-rw-r--r--test-apps/refresh/refresh/exporter/ivy.xml21
-rw-r--r--test-apps/refresh/refresh/exporter/src/main/java/refresh/exporter/b1/B11.java17
-rw-r--r--test-apps/refresh/refresh/exporter/src/main/resources/META-INF/MANIFEST.MF8
-rw-r--r--test-apps/refresh/refresh/exporter2/build.xml9
-rw-r--r--test-apps/refresh/refresh/exporter2/ivy.xml21
-rw-r--r--test-apps/refresh/refresh/exporter2/src/main/java/exporter/b1/B11.java17
-rw-r--r--test-apps/refresh/refresh/exporter2/src/main/java/exporter/b1/B12.java17
-rw-r--r--test-apps/refresh/refresh/exporter2/src/main/resources/META-INF/MANIFEST.MF8
-rw-r--r--test-apps/refresh/refresh/exporter3/build.xml9
-rw-r--r--test-apps/refresh/refresh/exporter3/ivy.xml21
-rw-r--r--test-apps/refresh/refresh/exporter3/src/main/java/exporter/b1/B11.java17
-rw-r--r--test-apps/refresh/refresh/exporter3/src/main/java/exporter/b1/B12.java17
-rw-r--r--test-apps/refresh/refresh/exporter3/src/main/java/exporter/b2/B21.java17
-rw-r--r--test-apps/refresh/refresh/exporter3/src/main/resources/META-INF/MANIFEST.MF8
-rw-r--r--test-apps/refresh/refresh/importer/build.xml9
-rw-r--r--test-apps/refresh/refresh/importer/ivy.xml25
-rw-r--r--test-apps/refresh/refresh/importer/src/main/java/org/eclipse/virgo/kernel/deployer/test/LoadableClasses.java20
-rw-r--r--test-apps/refresh/refresh/importer/src/main/java/refresh/importer/Importer.java53
-rw-r--r--test-apps/refresh/refresh/importer/src/main/resources/META-INF/MANIFEST.MF12
-rw-r--r--test-apps/refresh/refresh/importer/src/main/resources/META-INF/spring/importer-context.xml20
-rw-r--r--test-apps/service-publication-from-repo-bundles/README.TXT13
-rw-r--r--test-apps/service-publication-from-repo-bundles/build.properties6
-rw-r--r--test-apps/service-publication-from-repo-bundles/consumer/build.xml9
-rw-r--r--test-apps/service-publication-from-repo-bundles/consumer/ivy.xml22
-rw-r--r--test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/MANIFEST.MF4
-rw-r--r--test-apps/service-publication-from-repo-bundles/consumer/src/main/resources/META-INF/spring/app-context.xml15
-rw-r--r--test-apps/service-publication-from-repo-bundles/publisher/build.xml9
-rw-r--r--test-apps/service-publication-from-repo-bundles/publisher/ivy.xml22
-rw-r--r--test-apps/service-publication-from-repo-bundles/publisher/src/main/resources/META-INF/MANIFEST.MF4
-rw-r--r--test-apps/service-publication-from-repo-bundles/publisher/src/main/resources/META-INF/spring/app-context.xml16
-rw-r--r--test-apps/service-scoping-engine-1265/README.TXT9
-rw-r--r--test-apps/service-scoping-engine-1265/build-par/build.xml13
-rw-r--r--test-apps/service-scoping-engine-1265/build.properties6
-rw-r--r--test-apps/service-scoping-engine-1265/dependent/build.xml9
-rw-r--r--test-apps/service-scoping-engine-1265/dependent/ivy.xml22
-rw-r--r--test-apps/service-scoping-engine-1265/dependent/src/main/resources/META-INF/MANIFEST.MF5
-rw-r--r--test-apps/service-scoping-engine-1265/dependent/src/main/resources/META-INF/spring/bundle-context.xml13
-rw-r--r--test-apps/service-scoping-engine-1265/dependent/src/main/resources/META-INF/spring/osgi-context.xml16
-rw-r--r--test-apps/service-scoping-engine-1265/master/build.xml9
-rw-r--r--test-apps/service-scoping-engine-1265/master/ivy.xml22
-rw-r--r--test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/MANIFEST.MF5
-rw-r--r--test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/bundle-context.xml26
-rw-r--r--test-apps/service-scoping-engine-1265/master/src/main/resources/META-INF/spring/osgi-context.xml22
-rw-r--r--test-apps/service-scoping-platform-183/README.TXT9
-rw-r--r--test-apps/service-scoping-platform-183/build-par/build.xml13
-rw-r--r--test-apps/service-scoping-platform-183/build.properties6
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/.classpath10
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/.project17
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/build.xml9
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/ivy.xml22
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/MANIFEST.MF3
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.a/src/main/resources/META-INF/spring/module.xml11
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/.classpath10
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/.project17
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/build.xml9
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/ivy.xml22
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/MANIFEST.MF3
-rw-r--r--test-apps/service-scoping-platform-183/scoping.service.module.b/src/main/resources/META-INF/spring/module.xml18
-rw-r--r--test-apps/service-scoping/README.TXT13
-rw-r--r--test-apps/service-scoping/build-par/build.xml13
-rw-r--r--test-apps/service-scoping/build.properties6
-rw-r--r--test-apps/service-scoping/scoping.service.global/.classpath10
-rw-r--r--test-apps/service-scoping/scoping.service.global/.project17
-rw-r--r--test-apps/service-scoping/scoping.service.global/build.xml9
-rw-r--r--test-apps/service-scoping/scoping.service.global/ivy.xml23
-rw-r--r--test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/MANIFEST.MF3
-rw-r--r--test-apps/service-scoping/scoping.service.global/src/main/resources/META-INF/spring/module.xml14
-rw-r--r--test-apps/service-scoping/scoping.service.module.a/.classpath10
-rw-r--r--test-apps/service-scoping/scoping.service.module.a/.project17
-rw-r--r--test-apps/service-scoping/scoping.service.module.a/build.xml9
-rw-r--r--test-apps/service-scoping/scoping.service.module.a/ivy.xml25
-rw-r--r--test-apps/service-scoping/scoping.service.module.a/src/main/resources/META-INF/MANIFEST.MF3
-rw-r--r--test-apps/service-scoping/scoping.service.module.a/src/main/resources/META-INF/spring/module.xml13
-rw-r--r--test-apps/service-scoping/scoping.service.module.b/.classpath11
-rw-r--r--test-apps/service-scoping/scoping.service.module.b/.project17
-rw-r--r--test-apps/service-scoping/scoping.service.module.b/build.xml9
-rw-r--r--test-apps/service-scoping/scoping.service.module.b/ivy.xml26
-rw-r--r--test-apps/service-scoping/scoping.service.module.b/src/main/java/scoping/Activator.java40
-rw-r--r--test-apps/service-scoping/scoping.service.module.b/src/main/java/scoping/Listener.java48
-rw-r--r--test-apps/service-scoping/scoping.service.module.b/src/main/java/scoping/ListenerMBean.java20
-rw-r--r--test-apps/service-scoping/scoping.service.module.b/src/main/resources/META-INF/MANIFEST.MF5
-rw-r--r--test-apps/service-scoping/scoping.service.module.b/src/main/resources/META-INF/spring/module.xml44
-rw-r--r--test-apps/spring-2.5.6.A-sample/.classpath12
-rw-r--r--test-apps/spring-2.5.6.A-sample/.project30
-rw-r--r--test-apps/spring-2.5.6.A-sample/.springBeans13
-rw-r--r--test-apps/spring-2.5.6.A-sample/build.properties6
-rw-r--r--test-apps/spring-2.5.6.A-sample/build.xml7
-rw-r--r--test-apps/spring-2.5.6.A-sample/ivy.xml22
-rw-r--r--test-apps/spring-2.5.6.A-sample/src/main/java/spring/sample/SampleBean.java46
-rw-r--r--test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/MANIFEST.MF8
-rw-r--r--test-apps/spring-2.5.6.A-sample/src/main/resources/META-INF/spring/applicationContext.xml9
1657 files changed, 87591 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..2f4a727d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+*/src/main/resources/META-INF/MANIFEST.MF
+*/src/test/resources/META-INF/TEST.MF
+target
+integration-repo
+ivy-cache
+derby.log
+.ant-targets-build.xml
diff --git a/build-kernel/bin/checkJava.bat b/build-kernel/bin/checkJava.bat
new file mode 100644
index 00000000..316486be
--- /dev/null
+++ b/build-kernel/bin/checkJava.bat
@@ -0,0 +1,17 @@
+@echo off
+rem Script for checking we have the right version of Java.
+
+if "%JAVA_HOME%" == "" (
+ echo The JAVA_HOME environment variable is not defined.
+ exit /B 1
+)
+if "%CLASSPATH%" == "" (
+ echo The CLASSPATH environment variable is not defined.
+ exit /B 1
+)
+
+rem Run java version check with the discovered java jvm.
+"%JAVA_HOME%\bin\java" -classpath "%CLASSPATH%" org.eclipse.virgo.osgi.launcher.JavaVersionChecker
+
+rem If non-zero exit then either we cannot find the checker or the Java version is incorrect.
+if not "%ERRORLEVEL%"=="0" exit /B %ERRORLEVEL%
diff --git a/build-kernel/bin/checkJava.sh b/build-kernel/bin/checkJava.sh
new file mode 100755
index 00000000..3dace27e
--- /dev/null
+++ b/build-kernel/bin/checkJava.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# Run java version check with the discovered java jvm.
+$JAVA_HOME/bin/java \
+ -classpath $CLASSPATH \
+ org.eclipse.virgo.osgi.launcher.JavaVersionChecker
+
+# If non-zero exit then either we cannot find the check or the java version is incorrect.
+if [ $? != 0 ]
+then
+ exit 1
+fi
diff --git a/build-kernel/bin/dmk.bat b/build-kernel/bin/dmk.bat
new file mode 100755
index 00000000..7d1e9aa7
--- /dev/null
+++ b/build-kernel/bin/dmk.bat
@@ -0,0 +1,239 @@
+@echo off
+rem Script for starting and stopping the kernel
+
+if "%OS%" == "Windows_NT" setlocal
+
+rem Derive full path for script (includes trailing backslash)
+ set SCRIPT_DIR=%~dp0
+
+if exist "%SCRIPT_DIR%setupVars.bat" (
+ call "%SCRIPT_DIR%setupVars.bat"
+ if not "%ERRORLEVEL%"=="0" (
+ if "%OS%" == "Windows_NT" endlocal
+ exit /B %ERRORLEVEL%
+ )
+) else (
+ echo Cannot set up environment. "setupVars.bat" file missing.
+ if "%OS%" == "Windows_NT" endlocal
+ exit /B 1
+)
+
+rem Select command we are to run
+
+ rem First parm is command
+ set COMMAND=%~1
+ rem Rest are parameters - shift done in subroutines
+
+ rem Switch on COMMAND in {"start","stop"}
+
+ if "%COMMAND%" == "start" (
+ call :doStartCommand %*
+ if "%OS%" == "Windows_NT" endlocal
+ exit /B 0
+ )
+
+ if "%COMMAND%" == "stop" (
+ call :doStopCommand %*
+ if "%OS%" == "Windows_NT" endlocal
+ exit /B 0
+ )
+
+ echo Unknown command: %COMMAND%
+ if "%OS%" == "Windows_NT" endlocal
+ exit /B 1
+
+rem ------------------ Subroutines
+rem ------------------------------
+:doStartCommand
+
+ shift
+ rem The shift must be here :()
+
+ rem Check further file that needs to exist
+ for %%I in ("%KERNEL_HOME%\bin\jmxPermissions.vbs") do if not exist "%%~I" (
+ echo File "%%~I" does not exist but is required to continue.
+ exit /B 1
+ )
+
+ rem Set defaults
+ set CONFIG_DIR=%KERNEL_HOME%\config
+ set CLEAN_FLAG=
+ set DEBUG_FLAG=
+ set DEBUG_PORT=8000
+ set SUSPEND=n
+ if not defined JMX_PORT set JMX_PORT=9875
+ if not defined KEYSTORE_PASSWORD set KEYSTORE_PASSWORD=changeit
+ set ADDITIONAL_ARGS=
+
+ rem Loop through options
+
+ :startOptionLoop
+ if "%~1"=="" goto endStartOptionLoop
+ if "%~1"=="-debug" goto debug
+ if "%~1"=="-clean" goto clean
+ if "%~1"=="-configDir" goto configDir
+ if "%~1"=="-jmxport" goto jmxport
+ if "%~1"=="-keystore" goto keystore
+ if "%~1"=="-keystorePassword" goto keystorePassword
+ if "%~1"=="-suspend" goto suspend
+ if "%~1"=="-shell" goto shell
+
+ set ADDITIONAL_ARGS=%ADDITIONAL_ARGS% "%~1"
+
+ :continueStartOptionLoop
+ shift
+ goto startOptionLoop
+
+ :debug
+ set DEBUG_FLAG=1
+ set PORT_CANDIDATE=%~2
+ if not "%PORT_CANDIDATE:~0,1%"=="-" (
+ set DEBUG_PORT=%PORT_CANDIDATE%
+ shift
+ )
+ goto continueStartOptionLoop
+ :clean
+ set CLEAN_FLAG=1
+ goto continueStartOptionLoop
+ :configDir
+ set CONFIG_DIR=%~2
+ rem check it is absolute, relative to the kernel home
+ if not "%CONFIG_DIR:~1,2%"==":\" set CONFIG_DIR=%KERNEL_HOME%\%CONFIG_DIR%
+ if "%CONFIG_DIR:-1%"=="\" set CONFIG_DIR=%CONFIG_DIR:~-1%
+ shift
+ goto continueStartOptionLoop
+ :jmxport
+ set JMX_PORT=%~2
+ shift
+ goto continueStartOptionLoop
+ :keystore
+ set KEYSTORE_PATH=%~2
+ shift
+ goto continueStartOptionLoop
+ :keystorePassword
+ set KEYSTORE_PASSWORD=%~2
+ shift
+ goto continueStartOptionLoop
+ :suspend
+ set SUSPEND=y
+ goto continueStartOptionLoop
+ :shell
+ set SHELL_FLAG=1
+ goto continueStartOptionLoop
+
+ :endStartOptionLoop
+
+
+ rem Adjust permissions if necessary
+ cscript //NoLogo "%KERNEL_HOME%\bin\jmxPermissions.vbs" "%CONFIG_DIR%\"
+
+ rem Adjust options now all are known
+ if "%KEYSTORE_PATH%"=="" set KEYSTORE_PATH=%CONFIG_DIR%\keystore
+ if not "%DEBUG_FLAG%"=="" set DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=%DEBUG_PORT%,server=y,suspend=%SUSPEND%
+
+ rem do Clean work:
+ if not "%CLEAN_FLAG%"=="" (
+ rmdir /Q /S "%KERNEL_HOME%\serviceability"
+ rmdir /Q /S "%KERNEL_HOME%\work"
+ set LAUNCH_OPTS=%LAUNCH_OPTS% -Fosgi.clean=true
+ )
+
+ rem ensure that the tmp directory exists:
+ set TMP_DIR="%KERNEL_HOME%\work\tmp"
+ if not exist "%TMP_DIR%" mkdir "%TMP_DIR%"
+
+ rem do Shell work:
+ if not "%SHELL_FLAG%"=="" (
+ set LAUNCH_OPTS=%LAUNCH_OPTS% -Forg.eclipse.virgo.kernel.shell.local=true
+ )
+
+ rem Set JMX options
+ set JMX_OPTS=%JMX_OPTS% -Dcom.sun.management.jmxremote.port=%JMX_PORT%
+ set JMX_OPTS=%JMX_OPTS% -Dcom.sun.management.jmxremote.authenticate=true
+ set JMX_OPTS=%JMX_OPTS% -Dcom.sun.management.jmxremote.login.config=virgo-kernel
+ set JMX_OPTS=%JMX_OPTS% -Dcom.sun.management.jmxremote.access.file="%CONFIG_DIR%\org.eclipse.virgo.kernel.jmxremote.access.properties"
+ set JMX_OPTS=%JMX_OPTS% -Djavax.net.ssl.keyStore="%KEYSTORE_PATH%"
+ set JMX_OPTS=%JMX_OPTS% -Djavax.net.ssl.keyStorePassword=%KEYSTORE_PASSWORD%
+ set JMX_OPTS=%JMX_OPTS% -Dcom.sun.management.jmxremote.ssl=true
+ set JMX_OPTS=%JMX_OPTS% -Dcom.sun.management.jmxremote.ssl.need.client.auth=false
+
+ rem Run the server
+
+ rem Marshall parameters
+ set KERNEL_JAVA_PARMS=%JAVA_OPTS% %DEBUG_OPTS% %JMX_OPTS%
+
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -XX:+HeapDumpOnOutOfMemoryError
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -XX:ErrorFile="%KERNEL_HOME%\serviceability\error.log"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -XX:HeapDumpPath="%KERNEL_HOME%\serviceability\heap_dump.hprof"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -Djava.security.auth.login.config="%CONFIG_DIR%\org.eclipse.virgo.kernel.authentication.config"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -Dorg.eclipse.virgo.kernel.authentication.file="%CONFIG_DIR%\org.eclipse.virgo.kernel.users.properties"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -Djava.io.tmpdir="%TMP_DIR%"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -Dorg.eclipse.virgo.kernel.home="%KERNEL_HOME%"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -classpath "%CLASSPATH%"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% org.eclipse.virgo.osgi.launcher.Launcher
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -config "%KERNEL_HOME%\lib\org.eclipse.virgo.kernel.launch.properties"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -Forg.eclipse.virgo.kernel.home="%KERNEL_HOME%"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -Forg.eclipse.virgo.kernel.config="%CONFIG_DIR%"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -Fosgi.configuration.area="%KERNEL_HOME%\work\osgi\configuration"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% -Fosgi.java.profile="file:%KERNEL_HOME%\lib\java6-server.profile"
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% %LAUNCH_OPTS%
+ set KERNEL_JAVA_PARMS=%KERNEL_JAVA_PARMS% %ADDITIONAL_ARGS%
+
+ rem Now run it
+ PUSHD %KERNEL_HOME%
+ "%JAVA_HOME%\bin\java" %KERNEL_JAVA_PARMS%
+ POPD
+
+goto :eof
+
+rem ------------------------------
+:doStopCommand
+
+ shift
+ rem The shift must be here :()
+
+ rem Set defaults
+ if not defined TRUSTSTORE_PATH set TRUSTSTORE_PATH=%KERNEL_HOME%\config\keystore
+ if not defined TRUSTSTORE_PASSWORD set TRUSTSTORE_PASSWORD=changeit
+ set OTHER_ARGS=
+
+ rem Loop through options
+
+ :stopOptionLoop
+ if "%~1"=="" goto endStopOptionLoop
+
+ if "%~1"=="-truststore" (
+ set TRUSTSTORE_PATH=%~2
+ shift
+ ) else (
+ if "%~1"=="-truststorePassword" (
+ set TRUSTSTORE_PASSWORD=%~2
+ shift
+ ) else (
+ set OTHER_ARGS=%OTHER_ARGS% "%~1"
+ )
+ )
+
+ shift
+ goto stopOptionLoop
+ :endStopOptionLoop
+
+ rem Call shutdown client
+
+ rem Extend JMX options
+ set JMX_OPTS=%JMX_OPTS% -Djavax.net.ssl.trustStore="%TRUSTSTORE_PATH%"
+ set JMX_OPTS=%JMX_OPTS% -Djavax.net.ssl.trustStorePassword=%TRUSTSTORE_PASSWORD%
+
+ rem Marshall parameters
+ set SHUTDOWN_PARMS= %JAVA_OPTS% %JMX_OPTS%
+ set SHUTDOWN_PARMS=%SHUTDOWN_PARMS% -classpath "%CLASSPATH%"
+ set SHUTDOWN_PARMS=%SHUTDOWN_PARMS% -Dorg.eclipse.virgo.kernel.home="%KERNEL_HOME%"
+ set SHUTDOWN_PARMS=%SHUTDOWN_PARMS% org.eclipse.virgo.kernel.shutdown.ShutdownClient
+ set SHUTDOWN_PARMS=%SHUTDOWN_PARMS% %OTHER_ARGS%
+
+ rem Run Java program
+ PUSHD %KERNEL_HOME%
+ "%JAVA_HOME%\bin\java" %SHUTDOWN_PARMS%
+ POPD
+
+goto :eof
diff --git a/build-kernel/bin/dmk.sh b/build-kernel/bin/dmk.sh
new file mode 100755
index 00000000..bd9dd368
--- /dev/null
+++ b/build-kernel/bin/dmk.sh
@@ -0,0 +1,228 @@
+#!/bin/bash
+
+SCRIPT="$0"
+
+# SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
+while [ -h "$SCRIPT" ] ; do
+ ls=`ls -ld "$SCRIPT"`
+ # Drop everything prior to ->
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ SCRIPT="$link"
+ else
+ SCRIPT=`dirname "$SCRIPT"`/"$link"
+ fi
+done
+
+# determine kernel home
+KERNEL_HOME=`dirname "$SCRIPT"`/..
+
+# make KERNEL_HOME absolute
+KERNEL_HOME=`cd $KERNEL_HOME; pwd`
+
+# setup classpath and java environment
+. $KERNEL_HOME/bin/setupClasspath.sh
+
+# execute user setenv script if needed
+if [ -r $KERNEL_HOME/bin/setenv.sh ]
+then
+ . $KERNEL_HOME/bin/setenv.sh
+fi
+
+
+# Run java version check with the discovered java jvm.
+. $KERNEL_HOME/bin/checkJava.sh
+
+shopt -s extglob
+
+# parse the command we executing
+COMMAND=$1
+shift;
+
+if [ "$COMMAND" = "start" ]
+then
+
+ # parse the standard arguments
+ CONFIG_DIR=$KERNEL_HOME/config
+ CLEAN_FLAG=
+
+ SHELL_FLAG=
+
+ DEBUG_FLAG=
+ DEBUG_PORT=8000
+ SUSPEND=n
+ if [ -z "$JMX_PORT" ]
+ then
+ JMX_PORT=9875
+ fi
+
+ if [ -z "$KEYSTORE_PASSWORD" ]
+ then
+ KEYSTORE_PASSWORD=changeit
+ fi
+
+ ADDITIONAL_ARGS=
+
+ while (($# > 0))
+ do
+ case $1 in
+ -debug)
+ DEBUG_FLAG=1
+ if [[ "$2" == +([0-9]) ]]
+ then
+ DEBUG_PORT=$2
+ shift;
+ fi
+ ;;
+ -clean)
+ CLEAN_FLAG=1
+ ;;
+ -configDir)
+ CONFIG_DIR=$2
+ shift;
+ ;;
+ -jmxport)
+ JMX_PORT=$2
+ shift;
+ ;;
+ -keystore)
+ KEYSTORE_PATH=$2
+ shift;
+ ;;
+ -keystorePassword)
+ KEYSTORE_PASSWORD=$2
+ shift;
+ ;;
+ -suspend)
+ SUSPEND=y
+ ;;
+ -shell)
+ SHELL_FLAG=1
+ ;;
+ *)
+ ADDITIONAL_ARGS="$ADDITIONAL_ARGS $1"
+ ;;
+ esac
+ shift
+ done
+
+ # start the kernel
+ if [[ "$CONFIG_DIR" != /* ]]
+ then
+ CONFIG_DIR=$KERNEL_HOME/$CONFIG_DIR
+ fi
+
+ if [ -z "$KEYSTORE_PATH" ]
+ then
+ KEYSTORE_PATH=$CONFIG_DIR/keystore
+ fi
+
+ if [ "$DEBUG_FLAG" ]
+ then
+ DEBUG_OPTS=" \
+ -Xdebug \
+ -Xrunjdwp:transport=dt_socket,address=$DEBUG_PORT,server=y,suspend=$SUSPEND"
+ fi
+
+ if [ "$CLEAN_FLAG" ]
+ then
+ rm -rf $KERNEL_HOME/work
+ rm -rf $KERNEL_HOME/serviceability
+
+ LAUNCH_OPTS="$LAUNCH_OPTS -Fosgi.clean=true"
+ fi
+
+ if [ "$SHELL_FLAG" ]
+ then
+ LAUNCH_OPTS="$LAUNCH_OPTS -Forg.eclipse.virgo.kernel.shell.local=true"
+ fi
+
+ # Set the required permissions on the JMX configuration files
+ chmod 600 $CONFIG_DIR/org.eclipse.virgo.kernel.jmxremote.access.properties
+
+ JMX_OPTS=" \
+ $JMX_OPTS \
+ -Dcom.sun.management.jmxremote.port=$JMX_PORT \
+ -Dcom.sun.management.jmxremote.authenticate=true \
+ -Dcom.sun.management.jmxremote.login.config=virgo-kernel \
+ -Dcom.sun.management.jmxremote.access.file=$CONFIG_DIR/org.eclipse.virgo.kernel.jmxremote.access.properties \
+ -Djavax.net.ssl.keyStore=$KEYSTORE_PATH \
+ -Djavax.net.ssl.keyStorePassword=$KEYSTORE_PASSWORD \
+ -Dcom.sun.management.jmxremote.ssl=true \
+ -Dcom.sun.management.jmxremote.ssl.need.client.auth=false"
+
+ # If we get here we have the correct Java version.
+
+ TMP_DIR=$KERNEL_HOME/work/tmp
+
+ # Ensure that the tmp directory exists
+ mkdir -p $TMP_DIR
+
+ cd $KERNEL_HOME; $JAVA_HOME/bin/java \
+ $JAVA_OPTS \
+ $DEBUG_OPTS \
+ $JMX_OPTS \
+ -XX:+HeapDumpOnOutOfMemoryError \
+ -XX:ErrorFile=$KERNEL_HOME/serviceability/error.log \
+ -XX:HeapDumpPath=$KERNEL_HOME/serviceability/heap_dump.hprof \
+ -Djava.security.auth.login.config=$CONFIG_DIR/org.eclipse.virgo.kernel.authentication.config \
+ -Dorg.eclipse.virgo.kernel.authentication.file=$CONFIG_DIR/org.eclipse.virgo.kernel.users.properties \
+ -Djava.io.tmpdir=$TMP_DIR \
+ -Dorg.eclipse.virgo.kernel.home=$KERNEL_HOME \
+ -classpath $CLASSPATH \
+ org.eclipse.virgo.osgi.launcher.Launcher \
+ -config $KERNEL_HOME/lib/org.eclipse.virgo.kernel.launch.properties \
+ -Forg.eclipse.virgo.kernel.home=$KERNEL_HOME \
+ -Forg.eclipse.virgo.kernel.config=$CONFIG_DIR \
+ -Fosgi.configuration.area=$KERNEL_HOME/work/osgi/configuration \
+ -Fosgi.java.profile="file:$KERNEL_HOME/lib/java6-server.profile" \
+ $LAUNCH_OPTS \
+ $ADDITIONAL_ARGS
+elif [ "$COMMAND" = "stop" ]
+then
+
+ #parse args for the script
+ if [ -z "$TRUSTSTORE_PATH" ]
+ then
+ TRUSTSTORE_PATH=$KERNEL_HOME/config/keystore
+ fi
+
+ if [ -z "$TRUSTSTORE_PASSWORD" ]
+ then
+ TRUSTSTORE_PASSWORD=changeit
+ fi
+
+ shopt -s extglob
+
+ while (($# > 0))
+ do
+ case $1 in
+ -truststore)
+ TRUSTSTORE_PATH=$2
+ shift;
+ ;;
+ -truststorePassword)
+ TRUSTSTORE_PASSWORD=$2
+ shift;
+ ;;
+ *)
+ OTHER_ARGS+=" $1"
+ ;;
+ esac
+ shift
+ done
+
+ JMX_OPTS=" \
+ $JMX_OPTS \
+ -Djavax.net.ssl.trustStore=${TRUSTSTORE_PATH} \
+ -Djavax.net.ssl.trustStorePassword=${TRUSTSTORE_PASSWORD}"
+
+ $JAVA_HOME/bin/java $JAVA_OPTS $JMX_OPTS \
+ -classpath $CLASSPATH \
+ -Dorg.eclipse.virgo.kernel.home=$KERNEL_HOME \
+ org.eclipse.virgo.kernel.shutdown.ShutdownClient $OTHER_ARGS
+
+else
+ echo "Unknown command: ${COMMAND}"
+fi
+
diff --git a/build-kernel/bin/jconsole.bat b/build-kernel/bin/jconsole.bat
new file mode 100644
index 00000000..27fd0219
--- /dev/null
+++ b/build-kernel/bin/jconsole.bat
@@ -0,0 +1,54 @@
+@echo off
+rem Script for starting jconsole
+
+if "%OS%" == "Windows_NT" setlocal
+
+rem Find root drive and path for current bat file directory (includes trailing backslash)
+ set SCRIPT_DIR=%~dp0
+
+if exist "%SCRIPT_DIR%setupVars.bat" (
+ call "%SCRIPT_DIR%setupVars.bat"
+ if not "%ERRORLEVEL%"=="0" (
+ if "%OS%" == "Windows_NT" endlocal
+ exit /B %ERRORLEVEL%
+ )
+) else (
+ echo Cannot set up environment. "setupVars.bat" file missing.
+ if "%OS%" == "Windows_NT" endlocal
+ exit /B 1
+)
+
+rem Set defaults
+ set TRUSTSTORE_PATH=%KERNEL_HOME%\config\keystore
+ set TRUSTSTORE_PASSWORD=changeit
+ set OTHER_ARGS=
+
+:Loop
+ if "%~1"=="" goto EndLoop
+
+ if "%~1"=="-truststore" (
+ set TRUSTSTORE_PATH=%~2
+ shift
+ shift
+ goto Loop
+ )
+ if "%~1"=="-truststorePassword" (
+ set TRUSTSTORE_PASSWORD=%~2
+ shift
+ shift
+ goto Loop
+ )
+ rem Accumulate extra parameters.
+ set OTHER_ARGS=%OTHER_ARGS% "%~1"
+ shift
+ goto Loop
+:EndLoop
+
+set JMX_OPTS=%JMX_OPTS% -J-Dcom.sun.tools.jconsole.mbeans.keyPropertyList=category,type
+set JMX_OPTS=%JMX_OPTS% -J-Djavax.net.ssl.trustStore="%TRUSTSTORE_PATH%"
+set JMX_OPTS=%JMX_OPTS% -J-Djavax.net.ssl.trustStorePassword=%TRUSTSTORE_PASSWORD%
+
+"%JAVA_HOME%\bin\jconsole" %JMX_OPTS% %OTHER_ARGS%
+
+if "%OS%" == "Windows_NT" endlocal
+goto :eof
diff --git a/build-kernel/bin/jconsole.sh b/build-kernel/bin/jconsole.sh
new file mode 100755
index 00000000..34f864b7
--- /dev/null
+++ b/build-kernel/bin/jconsole.sh
@@ -0,0 +1,53 @@
+#!/bin/bash
+
+if [ -z "$JAVA_HOME" ]
+then
+ echo The JAVA_HOME environment variable is not defined
+ exit 1
+fi
+
+SCRIPT="$0"
+
+# SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
+while [ -h "$SCRIPT" ] ; do
+ ls=`ls -ld "$SCRIPT"`
+ # Drop everything prior to ->
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ SCRIPT="$link"
+ else
+ SCRIPT=`dirname "$SCRIPT"`/"$link"
+ fi
+done
+
+KERNEL_HOME=`dirname "$SCRIPT"`/..
+KERNEL_HOME=`cd $KERNEL_HOME; pwd`
+
+#parse args for the script
+TRUSTSTORE_PATH=$KERNEL_HOME/config/keystore
+TRUSTSTORE_PASSWORD=changeit
+
+shopt -s extglob
+
+while (($# > 0))
+ do
+ case $1 in
+ -truststore)
+ TRUSTSTORE_PATH=$2
+ shift;
+ ;;
+ -truststorePassword)
+ TRUSTSTORE_PASSWORD=$2
+ shift;
+ ;;
+ esac
+ shift
+done
+
+JMX_OPTS=" \
+ $JMX_OPTS \
+ -J-Dcom.sun.tools.jconsole.mbeans.keyPropertyList=category,type \
+ -J-Djavax.net.ssl.trustStore=$TRUSTSTORE_PATH \
+ -J-Djavax.net.ssl.trustStorePassword=$TRUSTSTORE_PASSWORD"
+
+$JAVA_HOME/bin/jconsole $JMX_OPTS
diff --git a/build-kernel/bin/jmxPermissions.vbs b/build-kernel/bin/jmxPermissions.vbs
new file mode 100644
index 00000000..c50031b1
--- /dev/null
+++ b/build-kernel/bin/jmxPermissions.vbs
@@ -0,0 +1,70 @@
+configFolder = Wscript.Arguments.Item(0)
+
+'WScript.Echo "Fixing permissions on " & configFolder
+
+Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2") 'Load up WMI with the right dll
+
+Dim files(0)
+files(0) = "org.eclipse.virgo.kernel.jmxremote.access.properties"
+
+For Each file In files
+ updateInheritance(configFolder & file)
+ updateOwnership(configFolder & file)
+ updatePermissions(configFolder & file)
+Next
+
+Sub updateInheritance(file)
+ 'WScript.Echo "Updating inheritance of " & file
+
+ Const SE_DACL_PRESENT = 4
+ Const SE_DACL_PROTECTED = 4096
+ Const SE_SELF_RELATIVE = 32768
+
+ Set objFileSecSetting = objWMIService.Get("Win32_LogicalFileSecuritySetting.Path='" & file & "'")
+ objFileSecSetting.GetSecurityDescriptor objSecurityDescriptor
+
+ objSecurityDescriptor.ControlFlags = SE_DACL_PRESENT + SE_DACL_PROTECTED + SE_SELF_RELATIVE
+
+ Set objMethod = objFileSecSetting.Methods_("SetSecurityDescriptor")
+ Set objInParam = objMethod.inParameters.SpawnInstance_()
+ objInParam.Properties_.item("Descriptor") = objSecurityDescriptor
+ objFileSecSetting.ExecMethod_ "SetSecurityDescriptor", objInParam
+
+ 'WScript.Echo "Updated inheritance of " & file
+End Sub
+
+Sub updateOwnership(file)
+ 'WScript.Echo "Updating ownership of " & file
+ Set objDataFile = objWMIService.Get("CIM_DataFile.Name='" & file & "'")
+
+ Set objMethod = objDataFile.Methods_("TakeOwnerShipEx")
+ Set objInParam = objMethod.inParameters.SpawnInstance_()
+
+ objDataFile.ExecMethod_ "TakeOwnerShipEx", objInParam
+
+ 'WScript.Echo "Updated ownership of " & file
+End Sub
+
+Sub updatePermissions(file)
+ 'WScript.Echo "Updating permissions of " & file
+
+ Set objFileSecSetting = objWMIService.Get("Win32_LogicalFileSecuritySetting.Path='" & file & "'")
+ objFileSecSetting.GetSecurityDescriptor objSecurityDescriptor
+
+ Set WshNetwork = WScript.CreateObject("WScript.Network")
+ Dim specificAce(0)
+ For Each ace in objSecurityDescriptor.DACL
+ If ace.Trustee.Name = WshNetwork.UserName Then
+ Set specificAce(0) = ace
+ End If
+ Next
+
+ objSecurityDescriptor.DACL = specificAce
+
+ Set objMethod = objFileSecSetting.Methods_("SetSecurityDescriptor")
+ Set objInParam = objMethod.inParameters.SpawnInstance_()
+ objInParam.Properties_.item("Descriptor") = objSecurityDescriptor
+ objFileSecSetting.ExecMethod_ "SetSecurityDescriptor", objInParam
+
+ 'WScript.Echo "Updated permissions of " & file
+End Sub
diff --git a/build-kernel/bin/setupClasspath.bat b/build-kernel/bin/setupClasspath.bat
new file mode 100644
index 00000000..96b7ac97
--- /dev/null
+++ b/build-kernel/bin/setupClasspath.bat
@@ -0,0 +1,20 @@
+@echo off
+rem Construct the CLASSPATH list from the Kernel lib directory.
+
+if "%JAVA_HOME%" == "" (
+ echo The JAVA_HOME environment variable is not defined.
+ exit /B 1
+)
+if "%KERNEL_HOME%" == "" (
+ echo The KERNEL_HOME environment variable is not defined.
+ exit /B 1
+)
+
+for %%G in ("%KERNEL_HOME%\lib\*.jar") do call :AppendToClasspath "%%G"
+rem Remove leading semi-colon if present
+if "%CLASSPATH:~0,1%"==";" set CLASSPATH=%CLASSPATH:~1%
+exit /B 0
+
+:AppendToClasspath
+ set CLASSPATH=%CLASSPATH%;%~1
+ goto :eof
diff --git a/build-kernel/bin/setupClasspath.sh b/build-kernel/bin/setupClasspath.sh
new file mode 100755
index 00000000..75410b38
--- /dev/null
+++ b/build-kernel/bin/setupClasspath.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# make sure we have JAVA_HOME set
+if [ -z "$JAVA_HOME" ]
+then
+ echo The JAVA_HOME environment variable is not defined
+ exit 1
+fi
+
+CLASSPATH=
+
+# Create the classpath for bootstrapping the Server from all the JARs in lib
+for file in $KERNEL_HOME/lib/*
+do
+ if [[ $file == *.jar ]]
+ then
+ CLASSPATH=$CLASSPATH:$KERNEL_HOME/lib/${file##*/}
+ fi
+done
diff --git a/build-kernel/bin/setupVars.bat b/build-kernel/bin/setupVars.bat
new file mode 100644
index 00000000..55ff31dc
--- /dev/null
+++ b/build-kernel/bin/setupVars.bat
@@ -0,0 +1,31 @@
+@echo off
+rem Set up env vars needed for dmk.bat and jconsole.bat (with user-pluggable mods if present)
+
+if "%SCRIPT_DIR%"=="" (
+ echo Called setupVars.bat out of context.
+ exit /B 1
+)
+
+rem Derive KERNEL_HOME full path from script's parent (no backslash)
+ for %%I in ("%SCRIPT_DIR%..") do set KERNEL_HOME=%%~dpfsI
+
+rem Check files exist (exit if not)
+ set ChkLst="%KERNEL_HOME%\bin\setupClasspath.bat","%KERNEL_HOME%\bin\checkJava.bat"
+
+ for %%I in (%ChkLst%) do if not exist "%%~I" (
+ echo File "%%~I" does not exist but is required.
+ exit /B 1
+ )
+
+rem set up the classpath (check result)
+ call "%KERNEL_HOME%\bin\setupClasspath.bat"
+ if not "%ERRORLEVEL%" == "0" exit /B %ERRORLEVEL%
+
+rem Run Java Version check (uses JAVA_HOME) (check result)
+ call "%KERNEL_HOME%\bin\checkJava.bat"
+ if not "%ERRORLEVEL%" == "0" exit /B %ERRORLEVEL%
+
+rem Execute user setenv script if needed (ignore result)
+ if exist "%KERNEL_HOME%\bin\setenv.bat" call "%KERNEL_HOME%\bin\setenv.bat"
+
+goto :eof
diff --git a/build-kernel/bin/shutdown.bat b/build-kernel/bin/shutdown.bat
new file mode 100644
index 00000000..a2a1ff47
--- /dev/null
+++ b/build-kernel/bin/shutdown.bat
@@ -0,0 +1,8 @@
+@ECHO OFF
+IF "%OS%" == "Windows_NT" SETLOCAL
+
+SET SCRIPT_DIR=%~dp0%
+SET EXECUTABLE=dmk.bat
+
+call "%SCRIPT_DIR%%EXECUTABLE%" stop %*
+if not "%ERRORLEVEL%"=="0" exit /B %ERRORLEVEL%
diff --git a/build-kernel/bin/shutdown.sh b/build-kernel/bin/shutdown.sh
new file mode 100755
index 00000000..aac5ff46
--- /dev/null
+++ b/build-kernel/bin/shutdown.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+SCRIPT="$0"
+
+# SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
+while [ -h "$SCRIPT" ] ; do
+ ls=`ls -ld "$SCRIPT"`
+ # Drop everything prior to ->
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ SCRIPT="$link"
+ else
+ SCRIPT=`dirname "$SCRIPT"`/"$link"
+ fi
+done
+
+SCRIPT_DIR=`dirname $SCRIPT`
+EXECUTABLE="dmk.sh"
+
+exec "$SCRIPT_DIR"/"$EXECUTABLE" stop "$@"
diff --git a/build-kernel/bin/startup.bat b/build-kernel/bin/startup.bat
new file mode 100644
index 00000000..76e1618f
--- /dev/null
+++ b/build-kernel/bin/startup.bat
@@ -0,0 +1,8 @@
+@ECHO OFF
+IF "%OS%" == "Windows_NT" SETLOCAL
+
+SET SCRIPT_DIR=%~dp0%
+SET EXECUTABLE=dmk.bat
+
+call "%SCRIPT_DIR%%EXECUTABLE%" start %*
+if not "%ERRORLEVEL%"=="0" exit /B %ERRORLEVEL%
diff --git a/build-kernel/bin/startup.sh b/build-kernel/bin/startup.sh
new file mode 100755
index 00000000..20f721e5
--- /dev/null
+++ b/build-kernel/bin/startup.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+SCRIPT="$0"
+
+# SCRIPT may be an arbitrarily deep series of symlinks. Loop until we have the concrete path.
+while [ -h "$SCRIPT" ] ; do
+ ls=`ls -ld "$SCRIPT"`
+ # Drop everything prior to ->
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ SCRIPT="$link"
+ else
+ SCRIPT=`dirname "$SCRIPT"`/"$link"
+ fi
+done
+
+SCRIPT_DIR=`dirname $SCRIPT`
+EXECUTABLE="dmk.sh"
+
+exec "$SCRIPT_DIR"/"$EXECUTABLE" start "$@"
diff --git a/build-kernel/build.xml b/build-kernel/build.xml
new file mode 100644
index 00000000..b2c9203c
--- /dev/null
+++ b/build-kernel/build.xml
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="build-kernel" xmlns:ivy="antlib:org.apache.ivy.ant">
+
+ <path id="unit.test.bundles">
+ <pathelement location="../org.eclipse.virgo.kernel.shutdown"/>
+ <pathelement location="../org.eclipse.virgo.kernel.authentication"/>
+ <pathelement location="../org.eclipse.virgo.kernel.core"/>
+ <pathelement location="../org.eclipse.virgo.kernel.artifact"/>
+ <pathelement location="../org.eclipse.virgo.kernel.services"/>
+ <pathelement location="../org.eclipse.virgo.kernel.osgi"/>
+ <pathelement location="../org.eclipse.virgo.kernel.deployer"/>
+ <pathelement location="../org.eclipse.virgo.kernel.userregion"/>
+ <pathelement location="../org.eclipse.virgo.kernel.agent.dm"/>
+ <pathelement location="../org.eclipse.virgo.kernel.kerneldmfragment"/>
+ <pathelement location="../org.eclipse.virgo.kernel.dmfragment"/>
+ <pathelement location="../org.eclipse.virgo.kernel.dm"/>
+ <pathelement location="../org.eclipse.virgo.kernel.deployer.dm"/>
+ <pathelement location="../org.eclipse.virgo.kernel.model"/>
+ <pathelement location="../org.eclipse.virgo.kernel.shell"/>
+ <pathelement location="../org.eclipse.virgo.kernel.stubs"/>
+ </path>
+
+ <path id="bundles">
+ <path refid="unit.test.bundles" />
+ <pathelement location="../org.eclipse.virgo.kernel"/>
+ <pathelement location="../org.eclipse.virgo.kernel.test"/>
+ <pathelement location="../org.eclipse.virgo.kernel.deployer.testbundle"/>
+ <pathelement location="../org.eclipse.virgo.kernel.deployer.test"/>
+ </path>
+
+ <property file="${basedir}/../build.properties"/>
+ <property file="${basedir}/../build.versions"/>
+ <import file="${basedir}/../virgo-build/multi-bundle/default.xml"/>
+
+ <target name="precommit" depends="clean, clean-integration, test, findbugs, package, smoke-test"
+ description="Performs a CI server-like build, should be run prior to performing a Git push"/>
+
+ <target name="package" depends="ivy.init">
+ <delete dir="${package.output.dir}" quiet="true"/>
+ <mkdir dir="${package.output.dir}"/>
+
+ <ivy:resolve resolveId="copy.path" file="${basedir}/lib-ivy.xml" transitive="true"/>
+ <ivy:retrieve resolveId="copy.path" pattern="${package.output.dir}/lib/[artifact]-[revision].[ext]" conf="lib" type="jar"/>
+
+ <ivy:resolve resolveId="copy.path" file="${basedir}/kernel-ivy.xml" transitive="true"/>
+ <ivy:retrieve resolveId="copy.path" pattern="${package.output.dir}/lib/kernel/[artifact]-[revision].[ext]" conf="lib-kernel" type="jar"/>
+
+ <ivy:resolve resolveId="copy.path" file="${basedir}/kernel-ivy.xml" transitive="true"/>
+ <ivy:retrieve resolveId="copy.path" pattern="${package.output.dir}/repository/ext/[artifact]-[revision].[ext]" conf="repository-ext" type="jar"/>
+
+ <mkdir dir="${package.output.dir}/bin/service"/>
+ <mkdir dir="${package.output.dir}/config"/>
+ <mkdir dir="${package.output.dir}/work"/>
+
+ <echo file="${package.output.dir}/lib/.version"
+ message="virgo.kernel.version=${bundle.version}&#xa;"/>
+
+ <ivy:cachepath resolveId="jsw" pathid="jsw" organisation="org.tanukisoftware"
+ module="org.tanukisoftware.wrapper" revision="${org.tanukisoftware.wrapper}" conf="runtime" type="zip"
+ inline="true" log="download-only"/>
+
+ <unzip dest="${package.output.dir}">
+ <path refid="jsw"/>
+ <patternset>
+ <include name="*/bin/wrapper-*"/>
+ <include name="*/lib/libwrapper-*"/>
+ <include name="*/lib/wrapper-*"/>
+ <include name="*/lib/wrapper.jar"/>
+ </patternset>
+ <globmapper from="wrapper-delta-pack-${org.tanukisoftware.wrapper}/*" to="bin/service/*"/>
+ </unzip>
+
+ <copy todir="${package.output.dir}/bin" failonerror="false">
+ <fileset dir="${basedir}/bin"/>
+ </copy>
+
+ <copy todir="${package.output.dir}/lib" failonerror="false">
+ <fileset dir="${basedir}/lib"/>
+ <filterset>
+ <filter token="ASPECTJ.VERSION" value="${org.aspectj}"/>
+ <filter token="FELIX.CONFIGADMIN.VERSION" value="${org.apache.felix}"/>
+ <filter token="FELIX.EVENTADMIN.VERSION" value="${org.apache.felix.eventadmin}"/>
+ <filter token="JLINE.VERSION" value="${net.sourceforge.jline}"/>
+ <filter token="KERNEL.VERSION" value="${bundle.version}"/>
+ <filter token="MEDIC.VERSION" value="${org.eclipse.virgo.medic}"/>
+ <filter token="REPOSITORY.VERSION" value="${org.eclipse.virgo.repository}"/>
+ <filter token="SLF4J.VERSION" value="${org.slf4j}"/>
+ <filter token="SPRING.DM.VERSION" value="${org.springframework.osgi}"/>
+ <filter token="SPRING.VERSION" value="${org.springframework}"/>
+ <filter token="UTIL.VERSION" value="${org.eclipse.virgo.util}"/>
+ </filterset>
+ </copy>
+
+ <copy todir="${package.output.dir}/config" failonerror="false">
+ <fileset dir="${basedir}/config" excludes="keystore"/>
+ <filterset>
+ <filter token="ASPECTJ.VERSION" value="${org.aspectj}"/>
+ <filter token="FELIX.CONFIGADMIN.VERSION" value="${org.apache.felix}"/>
+ <filter token="FELIX.EVENTADMIN.VERSION" value="${org.apache.felix.eventadmin}"/>
+ <filter token="JLINE.VERSION" value="${net.sourceforge.jline}"/>
+ <filter token="KERNEL.VERSION" value="${bundle.version}"/>
+ <filter token="MEDIC.VERSION" value="${org.eclipse.virgo.medic}"/>
+ <filter token="REPOSITORY.VERSION" value="${org.eclipse.virgo.repository}"/>
+ <filter token="SLF4J.VERSION" value="${org.slf4j}"/>
+ <filter token="SPRING.DM.VERSION" value="${org.springframework.osgi}"/>
+ <filter token="SPRING.VERSION" value="${org.springframework}"/>
+ <filter token="UTIL.VERSION" value="${org.eclipse.virgo.util}"/>
+ </filterset>
+ </copy>
+
+ <copy todir="${package.output.dir}/repository/ext" failonerror="false">
+ <fileset dir="${basedir}/repository/ext"/>
+ </copy>
+
+ <copy todir="${package.output.dir}/repository/ext" failonerror="false">
+ <fileset dir="${package.output.dir}/lib/kernel">
+ <include name="org.eclipse.virgo.kernel.agent.dm-*.jar"/>
+ </fileset>
+ </copy>
+
+ <move todir="${package.output.dir}/repository/ext" failonerror="false">
+ <fileset dir="${package.output.dir}/lib/kernel">
+ <include name="org.eclipse.virgo.kernel.dmfragment-*.jar"/>
+ <include name="org.eclipse.virgo.kernel.deployer.dm-*.jar"/>
+ </fileset>
+ </move>
+
+ <mkdir dir="${package.output.dir}/repository/usr"/>
+
+ <copy file="${basedir}/config/keystore" todir="${package.output.dir}/config" failonerror="false"/>
+
+ <chmod perm="600">
+ <fileset dir="${package.output.dir}/config">
+ <include name="org.eclipse.virgo.kernel.jmxremote.access.properties"/>
+ </fileset>
+ </chmod>
+
+ <chmod perm="755">
+ <fileset dir="${package.output.dir}/bin">
+ <include name="*.sh"/>
+ </fileset>
+ <fileset dir="${package.output.dir}/bin/service">
+ <include name="*.sh"/>
+ </fileset>
+ <fileset dir="${package.output.dir}/bin/service/bin">
+ <exclude name="*.exe"/>
+ </fileset>
+ </chmod>
+
+ <copy todir="${package.output.dir}" failonerror="false">
+ <fileset dir="${basedir}/resources"/>
+ </copy>
+
+ <mkdir dir="${artifacts.dir}"/>
+ <zip destfile="${package.output.file}">
+ <zipfileset dir="${package.dir}" includes="${package.basename}/bin/*.sh" filemode="755"/>
+ <zipfileset dir="${package.dir}" includes="${package.basename}/bin/service/*.sh" filemode="755"/>
+ <zipfileset dir="${package.dir}" includes="${package.basename}/bin/service/bin/*" filemode="755"/>
+ <zipfileset dir="${package.dir}" includes="${package.basename}/config/org.eclipse.virgo.kernel.jmxremote.access.properties" filemode="600"/>
+ <zipfileset dir="${package.dir}">
+ <exclude name="${package.basename}/bin/*.sh"/>
+ <exclude name="${package.basename}/bin/service/*.sh"/>
+ <exclude name="${package.basename}/bin/service/bin/*"/>
+ <exclude name="${package.basename}/config/org.eclipse.virgo.kernel.jmxremote.access.properties"/>
+ </zipfileset>
+ </zip>
+ </target>
+
+<!--publish-package, -->
+
+ <target name="publish" depends="publish-package, publish-multi-bundle.publish"/>
+
+ <target name="smoke-test" description="Runs a smoke test on the kernel packaged build">
+ <path id="smoke.test.bundles">
+ <pathelement location="${basedir}/../org.eclipse.virgo.kernel.smoketest" />
+ </path>
+ <antcall target="test.pre"/>
+ <all-bundles target="test-package" buildpathRef="smoke.test.bundles">
+ <property name="package.output.file" value="${package.output.file}"/>
+ <property name="package.basename" value="${package.basename}"/>
+ </all-bundles>
+ <antcall target="test.post"/>
+ </target>
+
+</project>
diff --git a/build-kernel/config/keystore b/build-kernel/config/keystore
new file mode 100644
index 00000000..9684caa0
--- /dev/null
+++ b/build-kernel/config/keystore
Binary files differ
diff --git a/build-kernel/config/org.eclipse.virgo.kernel.authentication.config b/build-kernel/config/org.eclipse.virgo.kernel.authentication.config
new file mode 100644
index 00000000..5adc6b85
--- /dev/null
+++ b/build-kernel/config/org.eclipse.virgo.kernel.authentication.config
@@ -0,0 +1,3 @@
+virgo-kernel {
+ org.eclipse.virgo.kernel.authentication.KernelLoginModule REQUIRED;
+};
dif