Putting an Enterprise in a Write State
Before you begin See
Write State.
- Procedure
- In the build file, add a target named
unsetReadOnly
.For a sample file, see enterprise_suspend_build.xml.
<target name="unsetReadOnly"> <AMXAdminTask ... ... /> </target>
- In the
AMXAdminTask
element of theunset
target, set theaction
attribute tounsetReadOnly
and theobjectSelector
attribute toEnterprise
.<AMXAdminTask remote="true" propsFile="${instanceProperties}" action="unsetReadOnly" dataFile="${dataFile}" objectSelector="Enterprise" failOnError="false" />
- Invoke the command-line interface on the build file.
ResultFor a sample output, seeSample: Write State.