Exporting a RCP Product to multiple platforms
To build a product for multiple platforms, you need the Delta Pack. The Delta Pack is available in Eclipse Classic / Other Downloads / Release (e.g., 3.5) / Delta Pack.
- Download Delta Pack for Eclipse 3.5.
- Extract it in the Eclipse installation directory (e.g., ../eclipse/delta)
- Go in Eclipse / Preferences / Plug-in Development / Target Platform
- Select the current target platform (usually Running Platform (Active) and click on Edit.
- Add a Directory and select "../eclipse/delta/eclipse" (replace the .. by the absolute path of your eclipse installation).
- Next time you go to Product / Overview / Export, you will be able to export to multiple platforms (e.g., windows, linux, mac).
These instructions were taken from this excellent blog post.
Creating a Windows Installer for Qualyzer
To create a .msi file (standard windows installation file since Windows 2000), we use WarSetup. This program only works on Windows.
- Download and install the Windows Installer SDK
- Download and install WiX 3.0
- Download and install WarSetup
To create a .msi file with WarSetup:
- Build the Qualyzer RCP Product for Windows (from Eclipse).
- Create a new project in WarSetup (this is done by default when opening WarSetup) and fill in the fields. Some hints:
- In Project, Installer User Interface: WiXUI_Minimal
- In Features/Files, add the three files in the root directory of qualyzer (artifacts.xml, qualyzer.exe, and qualyzer.ini).
- Select qualyzer.exe and choose "Set as Main Application Target"
- In the properties pane (bottom) of qualyzer.exe, add a shortcut (srcName = qualyzer.exe, dstName=qualyzer.exe, shortcutInProgramFilesMenu=True, shortcutOnDesktop=True)
- In Features/Directories, add all other directories in the qualyzer directory (e.g., configuration, features, p2, plugins).
- Select each directory and in the properties pane, set recurse=True.
- Push the build button (green arrow in the main menu bar).
Uploading Files to SourceForge
Use SCP, it is much more reliable than http transfer on sourceforge.
scp qualyzer_1.1.1_linux32bit.tar.gz barthe,firstname.lastname@example.org:"/home/frs/project/q/qu/qualyzer/Qualyzer\ 1.1.1"
Note 1: SourceForge sometimes refuse the connection/user/password for whatever reason.
Note 2: Don't forget the quotes and the backslash in the path (because of the space in our folder name).