Sf-run Task

Sf-run Task
Run an application by deploying it locally; only return from ant after it has finished.
Apache Ant
 
Description
Run an application by deploying it locally; only return from ant after it has finished. The default timeout of this task is zero; it only exits when finished. It does have a failonerror value of true; any failure to run is an error.
 
Parameters
Attribute Description Type Requirement allowspawning can this process spawn new processes? boolean Optional classpathref a reference to the classpath to use to run smartfrog Reference failonerror set the fail on error flag. boolean host set the hostname to deploy to (optional, defaults to localhost) Some tasks do not allow this to be set at all. String includeantruntime If a new classpath is passed in, should the existing one (used when declaring the task) be included? If it is not, the new classpath must include smartfrog.jar. Default: false. boolean inifile Name an ini file can contain data that overrides the basic settings. File initialsmartfrogfile the name of a smartfrog file to load on startupe File livenesscheckperiod liveness check in seconds; optional int livenesscheckretries retry count for liveness checks. int logstacktraces should the runtime log stack traces? boolean port port of daemon; optional -default is 3800 Some tasks do not allow this to be set at all. int securityref set a reference to the security types Reference spawn sets the spawn flag. makes it hard (no, impossible!) to log outputs. only recommended for long-lived tasks, and complicates failonerror and timeout logic boolean spawntimeout when to assume a spawn failed -in seconds. int timeout set the timeout for execution. This is incompatible with spawning. long 
 
Parameters as nested elements
 assertions (org.apache.tools.ant.types.Assertions) assertions to enable in this program   classpath (org.apache.tools.ant.types.Path) the classpath to run the parser   codebase (org.smartfrog.tools.ant.Codebase) Add a new codebase element to the current set. The URLs of the codebase will be visible to the deploying app.   propertyfile (org.smartfrog.tools.ant.PropertyFile) add a property file to the JVM   security (org.smartfrog.tools.ant.Security) set a security definition   syspropertyset (org.apache.tools.ant.types.PropertySet) Adds a set of properties as system properties.   application (org.smartfrog.tools.ant.DeployingTaskBase.Application) add a new application to the list.  

Copyright © 2000-2003, Apache Software Foundation