if you like to try out the numerous patches for PMS floating around in this forum and the issue tracker, but don't know or don't want to set up a Java development system, then this script might be just right for you.
To use it download the file and unzip it somewhere. Then drop any patch files to the 'pms.patches' folder and any additional files into 'pms.additions'. Finally start 'build.bat' from the command line and watch how the skript will
- download the complete PMS source code form the SVN repository,
- apply all patches in the 'pms.patches' folder (patch files need a '.patch' file extension),
- integrate any file in the 'pms.additions' folder to the source folder,
- build PMS and generate the distribution packages (to be found in 'dist')
Please note: I have only tested the build script on a WindowsXP system. It should work with Linux, but I haven't tested it yet. It probably won't work on 64bit Windows systems, but I could fix that if required. Download link remains the same.
You need a real 'Java Development Kit' (JDK) for the script to work. A 'Java Runtime Environment' (JRE) is not sufficient. You can download the JDK here.
As a little bonus my build script comes with a few patches. My logging patch (Issue 829), a patch to fix a ClassCastException in headless mode (Issue 808) and the bugfixes by 'tsp' from this thread. Note that I haven't tested any of the fixes by 'tsp', I just tweaked them enough to get them to apply and compile.
Feedback on this script is welcome, but please don't bug me about any patches not working. Use at your own risk!
[Edit] 28.Sep.2010 15:40utc
I have updated the script, fixed a few bugs and successfully tested it with winXP (32bit), win7 (64bit) and Linux (Ubuntu/64bit). The new version also has a patch.exe included, so no need to download it separatly on Windows systems.