Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2013-10-29 14:28:07 +0000
committerChristian W. Damus2013-10-29 14:28:07 +0000
commitdf2cb70387e59850645eae28f2f083c6a0b940bd (patch)
tree6d4f15ca10c700bb64904d923232aa7ae862135f /plugins/org.eclipse.emf.cdo.server
parentbd2c813d930532388e129ef78191d43d26047621 (diff)
downloadcdo-df2cb70387e59850645eae28f2f083c6a0b940bd.tar.gz
cdo-df2cb70387e59850645eae28f2f083c6a0b940bd.tar.xz
cdo-df2cb70387e59850645eae28f2f083c6a0b940bd.zip
[420540] Regression in 'cdo stop' command which now just dumps package list
https://bugs.eclipse.org/bugs/show_bug.cgi?id=420540 Restore the stop command.
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server')
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/bundle/CDOCommandProvider.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/bundle/CDOCommandProvider.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/bundle/CDOCommandProvider.java
index 112d533c36..570505d1ba 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/bundle/CDOCommandProvider.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/bundle/CDOCommandProvider.java
@@ -7,6 +7,7 @@
*
* Contributors:
* Eike Stepper - initial API and implementation
+ * Christian W. Damus (CEA LIST) - bug 420540
*/
package org.eclipse.emf.cdo.internal.server.bundle;
@@ -104,15 +105,8 @@ public class CDOCommandProvider implements CommandProvider
@Override
public void execute(InternalRepository repository, String[] args) throws Exception
{
- InternalCDOPackageRegistry packageRegistry = repository.getPackageRegistry(false);
- for (InternalCDOPackageUnit packageUnit : packageRegistry.getPackageUnits())
- {
- println(packageUnit);
- for (InternalCDOPackageInfo packageInfo : packageUnit.getPackageInfos())
- {
- println(CDOCommand.INDENT + packageInfo);
- }
- }
+ LifecycleUtil.deactivate(repository);
+ println("Repository stopped");
}
};

Back to the top