Installer ant file for the staf platform
This allows tests that need a running instance of staf to easily
get one and hides all the complexity under the hood
Installer usage:
main targets=
usage : print this message
status : report if the staf is installed and running
bootstrap : install and start the framework
run-tests : run the functional tests (requires staf installed and started)
run-daily : run the functional tests on today's build
wipeout : stop and uninstall the framework
gui tools:
gui : start the STAX gui
jvm-log : start the STAF jvm log viewer
subtargets=
download : download the archives necessary to install the staf
install : install the staf
start : start the staf unless it is already running
stop : stop the staf if it is already running
uninstall : uninstall the staf if it is installed
Checking for proxy [${proxy.host}:${proxy.port}] as user [${proxy.user}].
Note: If these values do not match your environment,
please edit the following config file:
[${basedir}${file.separator}staf-installer${file.separator}staf-installer.properties]
Proxy detected. Configuring.
Couldn't get the bits, sorry.
Successfully downloaded all the archives needed for installation.
${os.myname}-${os.arch} is not a supported platform
run
Port [${opends.port.ldap}] already used
Port [${opends.port.ldaps}] already used
Port [${opends.port.jmx}] already used
Staf is NOT running. Use the start target and try again
the package [${product.package}] is not available
Could not run the tests for the afore mentioned reasons
Generating replay script to allow you to re-execute the tests in the same conditions
While the tests are running you may tail the job logs at
${staf.home}/logs/MACHINE/
Running tests. This will take more than a while.
${tests.run.time}
Saving server logs
Saving Staf/Stax logs
Saving report
You may access the tests report at
${tests.run.dir}/${tests.run.time}/report/results.html
Staf is not installed.
Staf is running. Stop staf before uninstalling.
Use either the 'stop' or the 'wipeout' target.
Staf is already running.
Stopping staf...
staf has been instructed to close the shop.
Please allow some time as staf wipes the plate clean
Staf is not running.
Staf bits are ready to be installed. Use 'install' target.
No staf bits found. Use the get-bits or bootstrap target.
Found staf installed in [${staf.install.dir}]
Could not find staf installation.
Checking if the bits here and ready for installation...
staf is listening on port [${staf.port.default}]
You're all set to run the functional tests.
staf is NOT running. Use the 'start' target.
Operating System Family - ${os.myname}
Operating System Name - ${os.name}
Operating System Version - ${os.version}
Machine Architecture - ${os.arch}
Platform Supported - ${is.platform.supported}
Java Home - ${java.home}
Java Version - ${java.version}
Allow a minute for STAF to bring all the JVMs down