I need to create an Ant recipe for distributing a Bundle with JBoss ON 3.1. Within the deployment I need at first to execute a CLI (JBoss EAP CLI) script which installs a module. This is the deployment section of my deploy.xml:
<rhq:file name="install.cli" replace="true">
<rhq:archive name="application.war" exploded="false">
When I upload this script I get the following error.
org.apache.tools.ant.BuildException:rhq:file doesn't support the nested "handover" element
I've found this example in an RHQ discussion thread- is there an equivalent way to execute CLI with JON ?
Retrieving data ...