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

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
 
=== Create a new configuration for your Application ===
 
=== 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.
 
To create a product we need a product configuration. The configuration is used for exporting and creating your application.
[[File: Pic1.JPG | 400px]]<br/>
+
<br/>[[File: Pic1.JPG | 400px]]<br/>
  
 
Right click on your project and select 'New' -> 'Product Configuration'
 
Right click on your project and select 'New' -> 'Product Configuration'
[[File: Pic2.jpg | 400px]]<br/>
+
<br/>[[File: Pic2.JPG | 400px]]<br/>
  
 
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'
[[File: Pic3.jpg | 400px]]<br/>
+
<br/>[[File: Pic3.JPG | 400px]]<br/>
  
 
Open the file we just created and select the 'Overview' tab. Lets fill in the same names for our configuration.
 
Open the file we just created and select the 'Overview' tab. Lets fill in the same names for our configuration.
[[File: Pic4.jpg | 400px]]<br/>
+
<br/>[[File: Pic4.JPG | 400px]]<br/>
  
 
Press 'New' in the 'Product Definition' part and select the application of your plugin 'cs.ecl.simpleRCP.product'.
 
Press 'New' in the 'Product Definition' part and select the application of your plugin 'cs.ecl.simpleRCP.product'.
[[File: Pic5.gif | 400px]]<br/>
+
<br/>[[File: pic5.gif | 400px]]<br/>
 
Now our product definition should be filled out.
 
Now our product definition should be filled out.
  
 
=== Dependencies ===
 
=== Dependencies ===
 
For our example we will use a product definition based on plugins and not features.
 
For our example we will use a product definition based on plugins and not features.
[[File: Pic6.jpg | 400px]]<br/>
+
<br/>[[File: Pic6.JPG | 400px]]<br/>
  
 
Switch to the 'Dependencies' Tab and select 'Add'. Select the plugin 'cs.ecl.simpleRCP.product'. Press 'Add Required Plug-ins' and save.
 
Switch to the 'Dependencies' Tab and select 'Add'. Select the plugin 'cs.ecl.simpleRCP.product'. Press 'Add Required Plug-ins' and save.
[[File: Pic7.jpg | 400px]]<br/>
+
<br/>[[File: Pic7.JPG | 400px]]<br/>
  
 
=== Launching our product ===
 
=== 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 the overview tab press synchronize and then press 'Launch an Eclipse application'. Synchronize will align your product configuration with the launch configuration.
[[File: Pic8.jpg | 400px]]<br/>
+
<br/>[[File: Pic8.JPG | 400px]]<br/>
  
 
In order to customize your splash screen you may do so in the 'Splash' tab of your configuration file.
 
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 in the 'Launch' tab. Here you can specify the name of the application and the icon which should be used. Make sure the location of the icons is correctly maintained otherwise Eclipse will not use these icons.
 
You can also customize your launch arguments in the 'Launch' tab. Here you can specify the name of the application and the icon which should be used. Make sure the location of the icons is correctly maintained otherwise Eclipse will not use these icons.
[[File: Pic9.jpg | 400px]]<br/>
+
<br/>[[File: Pic9.JPG | 400px]]<br/>

Revision as of 11:21, 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.
Pic1.JPG

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

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

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

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

Dependencies

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

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

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.
Pic8.JPG

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 in the 'Launch' tab. Here you can specify the name of the application and the icon which should be used. Make sure the location of the icons is correctly maintained otherwise Eclipse will not use these icons.
Pic9.JPG