Deleting Applications
You can delete applications from the Administrator GUI or by using the CLI. If you are using the Administrator GUI, you have a Force Delete option that deletes the application regardless of its state.
GUI
Procedure
- Click the Applications button.
- In the Applications list, click one or more applications.
-
Choose a delete option.
Option Description Procedure Delete Deletes the application if the application is not deployed and no order application depends on it. Force Delete Deletes the application regardless of its state.
This option is enabled only if you have the necessary permissions. See Setting Enterprise Permissions for more information.
Select Delete > Force Delete. The selected applications and target applications are deleted.
CLI
Procedure
-
In the data file, specify Environment
and Application elements in base format. Drivers required for the application
resource instances can be specified inside the
<Application> element in the
data.xml file.
<Environment xsi:type="amxdata:Environment" name="envName" > <Application xsi:type="amxdata:Application" name="test.app1" contact="TIBCO Inc." description="Test application with imported resource template which requires a driver feature" importResourceTemplates="true" resourceTemplatesScope="Application"> <Node name="${dev.node.name}" environmentName="${dev.envt.name}"/> <ApplicationTemplate xsi:type="amxdata_reference:ApplicationTemplate_reference" name="AppTemplate"/> <!-- Specify the resource template in the DAA and the required driver feature. --> <Driver resourceTemplateName="OracleResourceTemplate" driverFeatureName="com.tibco.tpcl.gen.oracle.jdbc.feature" driverFeatureVersion="11.2.100.001"/> </Application> </Environment>
-
In the build file, set the
action attribute of the
AMXAdminTask element to
delete and the
objectSelector attribute to
Environment/Application. To perform a force delete, add the
-force option.
<AMXAdminTask action="delete" objectSelector="Environment/Application" [-force] />
Copyright © Cloud Software Group, Inc. All rights reserved.