This page explains how to build the OWT installer.
| 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 |
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:
- open Control Panel/System
- click "advanced" tab
- click "Environment Variables"
- edit as needed
- click ok
Make sure you set these:
- add NSIS executable to PATH (usually "c:\program files\nsis\")
- add ant bin directory to PATH (eg. "c:\tools\ant\bin\")
- set JAVA_HOME to the path of the java installation, (eg. "c:\j2sdk1.4.2_04")
- set CVS_RSH to "ssh"
- set CVSROOT appropriately (:ext:USERNAME@cvs0.oneworld.net:/oneworld/cvs/production)
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