Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
COSMOS Design 208274
Create Data Manager Project Wizard
The wizard for creating a data manager project will have the following responsibilities. NOTE: The *mdrname variable in the package names will use the value of the Data manager name field, in lowercase form, with spaces removed. The *userpackageprefix variable is a value supplied by the user to indicate the prefix for all generated package names.
- Creates projects:
- *userpackageprefix.*mdrname.dataManager.server
- *userpackageprefix.*mdrname.dataManager.client (if client option selected)
- Creates Activator.java
- Creates *mdrnameDataManager.java
- Creates *mdrnameDataManagerClient.java (if client option selected)
- Create config.proprties
- Create domainEPR.xml
- Create MANIFEST.MF
- Creates Plug-in Dependencies
- org.apache.xerces_2.8.0*
- org.apache.xml.resolver*
- muse-complete-2.2.0.jar (SHOULD WE LIST org.apache.muse.complete INSTEAD? WHERE TO GET THIS?) (this is required only for OSGi targets)
- INSERT J2EE PREREQ PLUGINS & JARS HERE
- org.eclipse.osgi_3.3.2.R33x*
- org.eclipse.cosmos.common
- org.eclipse.dc.dataManager (only when project is standard data manager)
- org.eclipse.dc.mdr (only when project is MDR)
- org.eclipse.cosmos.management.common (WHAT IS THIS?)
- Creates Plug-in Dependencies (Client Project)
- org.eclipse.dc.dataManager.client
When the 'Create Data Manager' project wizard is launched, properties general to all data managers can be set on the first page:
- MDR Name (used for name in manifest and generated project/package/class names; denoted by *mdrname elsewhere in this design)
- Prefix for generated plug-in and package names (denoted by *userpackageprefix elsewhere in this design)
- Resource_ID
- Display Name
- Description
- Whether to create a client-side plug-in
Here is a mockup of the appearance of the wizard:
Create client plug-in option
When the Create client plug-in option is selected, the user will be prompted for a custom class to be instantiated for the client. If the option is not selected, the default implementation of MdrClient
will be used.