ECT  Installation Enhancements Notes

Chris Greenhalgh 2005-03-09

Background

Almost no-one is using the WebStart version, either as webstart or from script. Most people are using the separate batch files in the install directory. This includes platform and tool developers (e.g. Chris, Jan, Shahram), component developers (e.g. Ted) processing (scripting) component developers (e.g. Andy B/L), assembly builders/users (RCA, Eric).
Why?
Bottom line:

Key tasks/activities

Parts...

Distribution, Building, Running...

Kinds of files:

Versioning issues

To do

download.xml File Format

Current, representative:
<?xml version="1.0" encoding="UTF-8"?>
<download>
<cache>
<directory path="java/components">
<url>http://www.crg.cs.nott.ac.uk/~cmg/Equator/Downloads/docs/ect/webstart/processing_asteroids-component.jar</url>
<url ifosname="Windows*">http://www.crg.cs.nott.ac.uk/~cmg/Equator/Downloads/docs/ect/webstart/phidgquip-component.jar</url>
</directory>
<directory path="java/common">
</directory>
<directory path="java/config">
</directory>
<!-- javax containing packages -->
<directory path="java/common/ext">
</directory>
</cache>
</download>
Proposed:
<?xml version="1.0" encoding="UTF-8"?>
<download baseurl="..."(opt) purge="true(default)|false" purgeonfail="true|false(default)" recurse="false(default)|true">
<include name="..." baseurl="..."(opt.) ifosname="Windows*" skip="true|false(default)"/>
<directory name="java" purge="true(default)|false" purgeonfail="true|false(default)" baseurl="..."(opt) ifosname="Windows*" skip="true|false(default)" recurse="false(default)|true">
<directory name="components" ...>
<file name="..." baseurl="..."(opt.) purgeonfail="true|false(default)"
ifosname="Windows*" requires="(name),..." skip="true|false(default)" tool-class="..."(opt.) tool-text="Tool..."(opt.)/>
</directory>
</directory>
</download>
Notes:
Implementation notes:
Hmm. How about you just give it a directory URL and it recursively copies it...?! And any jar in "tools" is assumed to be a tool (look for main...)?!