Deploying a launch configuration

To deploy a launch configuration:

  1. Click File > Export...
  2. Click MDWorkbench > Deployable MDWorkbench configuration and click Next.
  3. Select a launch configuration to deploy and click Next.
  4. Type a directory in the Export Directory group. This is the folder where all relevant resources are exported.

    If you select Copy external JAR files, all JAR files part of your launch configuration classpath will be copied into the export directory.

  5. In the Export Options group, select either Deploy RCP application or Deploy JAR file.

  6. Click Finish.

 

Structure of the deployed launch configuration

Here is the structure of the deployed configuration in the export directory:

  1. Deployed as an RCP application
  2. <export directory>/
       mdworkbench.exe or eclipse.exe (the launcher)
       configuration/
       plugins/
           <Eclipse and EMF core plugins>    (org.eclipse.*)
           <MDWorkbench engine plugins>      (com.sodius.mdw.core.*)
           <Metamodel and connector plugins> (com.sodius.mdw.metamodel.*)
       workspace/
           .metadata/
           <MyLaunchName>/
               <MyLaunchName>.classpath (classpath to launch the configuration)
               <MyLaunchName>.jar       (Java archive which contains the  deployed MDWorkbench project)
               <MyLaunchName>.launch    (launch definition, with determine the ruleset and models to use)
    
  3. Deployed as JAR file
  4. <export directory>/
        <MyLaunchName>.classpath (classpath to launch the configuration)
        <MyLaunchName>.jar       (Java archive which contains the  deployed MDWorkbench project)
        <MyLaunchName>.launch    (launch definition, with determine the ruleset and models to use)
    

Related tasks
Customizing the deployed Launch Configuration
Creating a launch configuration
Running a deployed launch configuration