Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <project name="eap_deploy"
- default="main"
- xmlns:rhq="antlib:org.rhq.bundle">
- <rhq:bundle name="My Test App"
- version="1.0"
- description="A sample bundle consisting of EAP 5 with a deployed webapp">
- <rhq:deployment-unit name="eap5"
- postinstallTarget="start-jboss">
- <rhq:archive name="jboss-eap-5.0.0.GA.zip"/>
- </rhq:deployment-unit>
- </rhq:bundle>
- <target name="main"/>
- <target name="start-jboss">
- <property name="eap.dir" value="${rhq.deploy.dir}/jboss-eap-5.0"/>
- <chmod file="${eap.dir}/jboss-as/bin/run.sh" perm="+x"/>
- <exec dir="${eap.dir}/jboss-as/bin"
- executable="run.sh"
- spawn="true"
- resolveexecutable="true">
- <arg line="-b 0.0.0.0"/>
- </exec>
- </target>
- </project>
Add Comment
Please, Sign In to add comment