<?xml version="1.0" encoding="UTF-8"?>
<project name="Install S-RAMP and S-RAMP-UI" default="install">

  <!-- Override properties by putting them in s-ramp-build.properties -->
  <property name="s-ramp.build.properties" location="s-ramp-build.properties" />
  <property file="${s-ramp.build.properties}" />
  <property name="s-ramp.version" value="" />


  <!-- ****************************************************** -->
  <!-- Customize these properties when calling this installer -->
  <!-- ****************************************************** -->
  <property name="appserver.id" value="jboss-eap-6.1" />
  <property name="s-ramp.install.dir" location="target" />
  <property name="s-ramp.appserver.dir" location="${s-ramp.install.dir}/${appserver.id}" />
  <!-- ****************************************************** -->

  <!-- Install S-RAMP -->
  <target name="install">
    <echo message=" " />
    <echo message="#############################################" />
    <echo message="# Running the S-RAMP installer.             #" />
    <echo message="#############################################" />

    <property name="s-ramp.script.dir" location="scripts" />
    <ant antfile="${s-ramp.script.dir}/${appserver.id}.xml" inheritall="true" target="install" />

    <echo message=" " />
    <echo message="############################################" />
    <echo message="# S-RAMP installer completed successfully! #" />
    <echo message="############################################" />
    <echo message=" " />
  </target>

</project>
