h1

How to run Eclipse RCP Installer Generator: #2 Running the plugin

2 September, 2006

Please note that is a 0.1 alpha version and that there is some bugs and inconsistences, but code works.

First of all you have to create an rcp export, you can find one in the plugin root folder with name “RCP export.zip”, extract wherever you want it.

Then you have to launch the wizard, to do this you only have to do: go to Run -> Run.. -> select Eclipse application, press “new” button and click “Run”.
A new Eclipse application will start.

Go to File -> Export -> Other -> Installer Generator. Click Next

Browse in Folder field with the button placed on the right side to the export folder, this folder should contain three folders with three product exports for different platforms. Make sure the field points to the export folder and not to one of the subfolders (the specific platforms ones).

The URl text field should contain a valid URL like this http://www.google.com , it will give you an exception.This image should clear things better:

Screenshot

All other fields can be filled as you want, except Destination Folder (Third page of the wizard) that has to have a valid path to the place where you want to get the installer and at least one of the checkboxes below Destionation Folder must be checked.

Please don’t check Needs a JVM checkbox this feature is buggy at this moment.
When you click Finish an installation jar file should be placed at the location you selected.

Note: The installer generates a tmp folder inside export folder that is not deleted at the end, code is there but commented and maybe lacks something, please delete manually tmp folder when finished exporting.

That’s all, enjoy :)


3 comments

  1. you write
    “…you can find one in the plugin root folder with name “RCP export.zip”
    but I don’t find and I don’t know where is this folder…please I neeed of your help to find this source code of Export Wizard…Thanks


  2. Stefania,

    Have you followed the instructions on fetching the source that I’ve written in a previous post?

    If not please read this: http://robotplaysguitar.wordpress.com/2006/09/02/how-to-run-eclipse-rcp-installer-generator-1-grabbing-sources-from-cvs/


  3. gracias por la tarea que chinva!!!!!!!!!!!!!!!!!!!111



Leave a Comment