Removing Application Templates and Features fromInfrastructure; Software Management using the Command Line Interface.
book
Article ID: KB0085893
calendar_today
Updated On:
TIBCO ActiveMatrix Service Grid
-
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM)
-
TIBCO ActiveMatrix BusinessWorks Service Engine
-
Show More
Show Less
Description
Description: Sample scripts to remove Application Templates and Features from Infrastructure> Software Management using the Command Line Interface (CLI).
Resolution
For removing application templates and features from the Infrastructure> Software Management section, use the CLI scripts application_build.xml and application_data.xml. Sample scripts are present under the <CONFIG_HOME>/admin/amxadmin/samples folder. Targets for cleanup are "remove.feature" and "remove.apptemplate". If you specify the version as "1.0.0", it will delete "1.0.0.*" (.qualifier is a wild-card). If you specify "1.0" then it will delete "1.0.*.*" and so on. Sample application_data.xml =============================== <amxdata_base:Enterprise....."> <AppTemplatexsi:type="amxdata_base:AppTemplateID"name="jv.helloworld1.soa" version="1.0"/> <Feature xsi:type="amxdata_base:FeatureID" componentID="jv.helloworld1.soa.customfeature.id" version="1.0.0"/> </amxdata_base:Enterprise> Sample outputs =============================== ****** C:\ProgramData\amx-315-new2\data\admin\amxadmin\samples>C:\ANT\bin\ant -f application_build.xml remove.apptemplate Buildfile: C:\ProgramData\amx-315-new2\data\admin\amxadmin\samples\application_build.xml remove.apptemplate: [AMXAdminTask] INFO - Processing 1 objects [AMXAdminTask] INFO - Initializing JSSE's crypto provider class com.sun.net.ssl.internal.ssl.Provider in default mode [AMXAdminTask] INFO - Deleting application templates... [AMXAdminTask] INFO - Successfully deleted app template(s): jv.helloworld1.soa:1.0.0.201005040925 BUILD SUCCESSFUL Total time: 15 seconds ****** C:\ProgramData\amx-315-new2\data\admin\amxadmin\samples>C:\ANT\bin\ant -f application_build.xml remove.feature Buildfile: C:\ProgramData\amx-315-new2\data\admin\amxadmin\samples\application_build.xml remove.feature: [AMXAdminTask] INFO - Processing 1 objects [AMXAdminTask] INFO - Initializing JSSE's crypto provider class com.sun.net.ssl.internal.ssl.Provider in default mode [AMXAdminTask] INFO - Deleting features... [AMXAdminTask] INFO - Successfully deleted feature(s): jv.helloworld1.soa.customfeature.id:1.0.0.201005011633 BUILD SUCCESSFUL Total time: 3 seconds *******
Issue/Introduction
Removing Application Templates and Features fromInfrastructure; Software Management using the Command Line Interface.
Feedback
thumb_up
Yes
thumb_down
No