Difference between revisions of "Teams Winter 2011/team1/RCP/Create configuration"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
=== Create a configuration for your Application ===
+
=== Create a new configuration for your Application ===
 
 
=== Create a new configuration ===
 
 
To create a product we need a product configuration. The configuration is used for exporting and creating your application.
 
To create a product we need a product configuration. The configuration is used for exporting and creating your application.
  
Line 8: Line 6:
 
Give your product configuration file a name. In our case will be 'cs.ecl.simpleRCP.product'
 
Give your product configuration file a name. In our case will be 'cs.ecl.simpleRCP.product'
  
=== Save the configuration ===
+
Open the file we just created and select the 'Overview' tab. Lets fill in the same names for our configuration.
2.
+
 
 +
Press 'New' in the 'Product Definition' part and select the application of your plugin 'cs.ecl.simpleRCP.product'.
 +
Now our product definition should be filled out.
 +
 
 +
=== Dependencies ===
 +
For our example we will use a product definition based on plugins and not features.
 +
 
 +
Switch to the 'Dependencies' Tab and select 'Add'. Select the plugin 'cs.ecl.simpleRCP.product'. Press 'Add Required Plug-ins' and save.
 +
 
 +
=== Launching our product ===
 +
In the overview tab press synchronize and then press 'Launch an Eclipse application'. Synchronize will align your product configuration with the launch configuration.
  
3.
+
In order to customize your splash screen you may do so in the 'Splash' tab of your configuration file.
  
4.
+
You can also customize your launch arguments

Revision as of 11:08, 9 March 2011

Create a new configuration for your Application

To create a product we need a product configuration. The configuration is used for exporting and creating your application.

Right click on your project and select 'New' -> 'Product Configuration'

Give your product configuration file a name. In our case will be 'cs.ecl.simpleRCP.product'

Open the file we just created and select the 'Overview' tab. Lets fill in the same names for our configuration.

Press 'New' in the 'Product Definition' part and select the application of your plugin 'cs.ecl.simpleRCP.product'. Now our product definition should be filled out.

Dependencies

For our example we will use a product definition based on plugins and not features.

Switch to the 'Dependencies' Tab and select 'Add'. Select the plugin 'cs.ecl.simpleRCP.product'. Press 'Add Required Plug-ins' and save.

Launching our product

In the overview tab press synchronize and then press 'Launch an Eclipse application'. Synchronize will align your product configuration with the launch configuration.

In order to customize your splash screen you may do so in the 'Splash' tab of your configuration file.

You can also customize your launch arguments