openmicroscopy/openmicroscopy — pull request #50 by joshmoore (2012-01-03 15:03:12+00:00)
Title: Composite zips

With insight now built by the main build, we can get rid of the ```INSIGHT-*``` and ```OMERO-*-clients``` builds. For this to work, ```lib/composite.py``` should use the files under ```target/``` rather than downloads from hudson. Commits to do that are included in this branch.

This would be a good candidate for early include into "merge-blue" so that we can have all the zips as they would be in release form.

After running ```./build.py clean build-default release-zip```, ```./build.py release-clents``` can be run to produce:

```
jmoore@necromancer ~/git/target/pkg $ ls OMERO.clients-4.3.3.linux
INSTALL.txt OMEROeditor_macosx.sh OMEROeditor_windows.bat OMEROimporter_unix.sh OMEROinsight_macosx.sh OMEROinsight_windows.bat libs
LICENSE OMEROeditor_unix.sh OMEROimporter_macosx.sh OMEROimporter_windows.bat OMEROinsight_unix.sh config omero.insight.jar
jmoore@necromancer ~/git/target/pkg $ ls OMERO.clients-4.3.3.mac
INSTALL LICENSE OMERO.importer.app OMERO.insight.app config
jmoore@necromancer ~/git/target/pkg $ ls OMERO.clients-4.3.3.win
LICENSE OMERO.importer.exe OMERO.insight.exe OmeroImporter.jar config libs omero.insight.jar
```

When ```OMERO_BUILD``` is specified, products look like this:

```
jmoore@necromancer ~/git $ unzip -l target/pkg/OMERO.clients-4.3.3-b123.linux.zip | head -n 10
Archive: target/pkg/OMERO.clients-4.3.3-b123.linux.zip
Length Date Time Name
-------- ---- ---- ----
1361 01-03-12 14:55 OMERO.clients-4.3.3-b123.linux/OMEROimporter_windows.bat
15145 01-03-12 14:55 OMERO.clients-4.3.3-b123.linux/LICENSE
1282 01-03-12 14:55 OMERO.clients-4.3.3-b123.linux/OMEROeditor_macosx.sh
1319 01-03-12 14:55 OMERO.clients-4.3.3-b123.linux/OMEROimporter_macosx.sh
```
but a next step could be to either filter that out in composite.py or to remove it for production builds in jenkins.