Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332355

Summary: Provide OSGi console commands to start/stop/list/export/import repositories
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3 CC: Carel.Bast, jos.warmer, robert.blust
Version: 4.0Keywords: noteworthy
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: Power to the People
Attachments:
Description Flags
Patch v1 - for future reference none

Description Eike Stepper CLA 2010-12-11 04:51:52 EST
Provide OSGi console commands to start/stop/list/export/import repositories
Comment 1 Eike Stepper CLA 2010-12-11 08:11:35 EST
Created attachment 185017 [details]
Patch v1 - for future reference
Comment 2 Eike Stepper CLA 2010-12-11 08:14:53 EST
The OSGi console now shows this a part of the help:

---CDO commands---
	cdo start - start repositories from a config file
	cdo stop - stop a repository
	cdo export - export the contents of a repository to an XML file
	cdo import - import the contents of a repository from an XML file
	cdo list - list all active repositories
	
Missing command arguments show additional help like:

osgi> cdo export
Syntax: cdo export <repository-name> <export-file>
Comment 3 Eike Stepper CLA 2010-12-11 08:16:16 EST
Committed to HEAD
Comment 4 Eike Stepper CLA 2011-06-23 03:36:56 EDT
Available in R20110608-1407