Wiki

Clone wiki

main / Build_Infrastructure

Build Infrastructure

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.

  1. Download Delta Pack for Eclipse 3.5.
  2. Extract it in the Eclipse installation directory (e.g., ../eclipse/delta)
  3. Go in Eclipse / Preferences / Plug-in Development / Target Platform
  4. Select the current target platform (usually Running Platform (Active) and click on Edit.
  5. Add a Directory and select "../eclipse/delta/eclipse" (replace the .. by the absolute path of your eclipse installation).
  6. 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.

  1. Download and install the Windows Installer SDK
  2. Download and install WiX 3.0
  3. Download and install WarSetup

To create a .msi file with WarSetup:

  1. Build the Qualyzer RCP Product for Windows (from Eclipse).
  2. Create a new project in WarSetup (this is done by default when opening WarSetup) and fill in the fields. Some hints:
    1. In Project, Installer User Interface: WiXUI_Minimal
    2. In Features/Files, add the three files in the root directory of qualyzer (artifacts.xml, qualyzer.exe, and qualyzer.ini).
    3. Select qualyzer.exe and choose "Set as Main Application Target"
    4. In the properties pane (bottom) of qualyzer.exe, add a shortcut (srcName = qualyzer.exe, dstName=qualyzer.exe, shortcutInProgramFilesMenu=True, shortcutOnDesktop=True)
    5. In Features/Directories, add all other directories in the qualyzer directory (e.g., configuration, features, p2, plugins).
    6. Select each directory and in the properties pane, set recurse=True.
  3. 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,qualyzer@frs.sourceforge.net:"/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).

Updated