Guest User

Untitled

a guest
Oct 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <project name="eap_deploy"
  2. default="main"
  3. xmlns:rhq="antlib:org.rhq.bundle">
  4. <rhq:bundle name="My Test App"
  5. version="1.0"
  6. description="A sample bundle consisting of EAP 5 with a deployed webapp">
  7. <rhq:deployment-unit name="eap5"
  8. postinstallTarget="start-jboss">
  9. <rhq:archive name="jboss-eap-5.0.0.GA.zip"/>
  10. </rhq:deployment-unit>
  11. </rhq:bundle>
  12.  
  13. <target name="main"/>
  14.  
  15. <target name="start-jboss">
  16. <property name="eap.dir" value="${rhq.deploy.dir}/jboss-eap-5.0"/>
  17. <chmod file="${eap.dir}/jboss-as/bin/run.sh" perm="+x"/>
  18. <exec dir="${eap.dir}/jboss-as/bin"
  19. executable="run.sh"
  20. spawn="true"
  21. resolveexecutable="true">
  22. <arg line="-b 0.0.0.0"/>
  23. </exec>
  24. </target>
  25. </project>
Add Comment
Please, Sign In to add comment