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 installedChecking for proxy [${proxy.host}:${proxy.port}] as user [${proxy.user}].Note: If these values do not match your environment, please use the 'configure' targetProxy detected. Configuring.Couldn't get the bits, sorry.Successfully downloaded all the archives needed for installation.${os.myname}-${os.arch} is not a supported platformI. STAF configurationII. HTTP proxy (to download the framework and/or daily builds)III. OpenDS configurationIV. Email configurationSaving ...staf.port=${staf.port.input}
host.name=${host.name.input}
proxy.host=${proxy.host.input}
proxy.port=${proxy.port.input}
proxy.user=${proxy.user.input}
proxy.pass=${proxy.pass.input}
opends.port.ldap=${opends.port.ldap.input}
opends.port.ldaps=${opends.port.ldaps.input}
opends.port.jmx=${opends.port.jmx.input}
opends.admin.dn=${opends.admin.dn.input}
opends.admin.pwd=${opends.admin.pwd.input}
email.enabled=${email.enabled.input}
email.from=${email.from.input}
email.to=${email.to.input}
email.server.host=${email.server.host.input}
email.server.port=${email.server.port.input}
email.server.user=${email.server.user.input}
email.server.pwd=${email.server.pwd.input}
Port [${opends.port.ldap}] already usedPort [${opends.port.ldaps}] already usedPort [${opends.port.jmx}] already usedStaf is NOT running. Use the start target and try againthe package [${product.package}] is not availableCould not run the tests for the afore mentioned reasonsGenerating replay script to allow you to re-execute the tests in the same conditionsWhile 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 logsSaving Staf/Stax logsSaving reportYou may access the tests report at${tests.run.dir}/${tests.run.time}/report/results.htmltest report found.Proceeding...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 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 downResponse
--------