Getting the Status of an Enterprise
- Procedure
- In the build file, add a target named
status
.For a sample file, see enterprise_suspend_build.xml.
<target name="status"> <AMXAdminTask ... ... /> </target>
- In the
AMXAdminTask
element of thestatusReadOnly
target, set theaction
attribute tostatus
and theobjectSelector
attribute toEnterprise
.<AMXAdminTask remote="true" propsFile="${instanceProperties}" action="status" dataFile="${dataFile}" objectSelector="Enterprise" failOnError="false" />
- Invoke the command-line interface on the build file.
ResultFor a sample output, see
Sample: Getting the Status of an Enterprise.