OfflineWorkingInstallerBuildHowto

This page explains how to build the OWT installer.

Prerequisites

name recommended version purpose where to get it
MS Windows 2000 you can only build on windows I'm afraid, not linux  
ant 1.6.* cross platform build tool  
jdk 1.4.* needed by ant Sun download page
cygwin latest cvs command line program www.cygwin.com
NSIS 2.0.* installer packager NSIS download

Instructions

1. download and install all of the prerequisites listed above

2. you will probably need to set some environment variables so that everything works nicely. In windows you do this from the control panel:

  1. open Control Panel/System
  2. click "advanced" tab
  3. click "Environment Variables"
  4. edit as needed
  5. click ok

Make sure you set these:

4. make a working directory, for example:
$ mkdir c:\projects\OWT

5. change to that directory:
$ cd c:\projects\OWT

6. checkout the OWT code to your working directory:
$ cvs checkout -d OWT projects/ezpublish/OWT

7. checkout the main ezpublish code inside your working directory:
$ cd OWT
$ cvs checkout -r ONEWORLD_1_139_BRANCH_OWT -d ezpublish projects/ezpublish/src

8. $ cd ..

9. now you can run ant to build the installer, just type ant