<?xml version="1.0"?>

<!-- ===================================================================
     This file is imported by termination/build.xml and adds the targets
     which will be invoked by that file.
        doPlatform - misc stuff
     =================================================================== -->

<project name="bedework.platformTermination" default="doPlatform" >
  <target name="doPlatform" >
    <!-- If requested copy in the db configuration. -->

    <if>
      <istrue value="${org.bedework.global.copy.bedeworktzds.config}" />
      <then>
        <copy file="${org.bedework.config.home}/bedework-tz-ds.xml"
              tofile="${org.bedework.appserver.deploy.dir}/bedework-tz-ds.xml"
              overwrite="yes" />
      </then>
    </if>
  </target>
</project>
<?xml version="1.0"?>

<!-- ===================================================================
     This file is imported by termination/build.xml and adds the targets
     which will be invoked by that file.
        doPlatform - misc stuff
     =================================================================== -->

<project name="bedework.platformTermination" default="doPlatform" >
  <target name="doPlatform" >
    <!-- If requested copy in the db configuration. -->

    <if>
      <istrue value="${org.bedework.global.copy.bedeworktzds.config}" />
      <then>
        <copy file="${org.bedework.config.home}/bedework-tz-ds.xml"
              tofile="${org.bedework.appserver.deploy.dir}/bedework-tz-ds.xml"
              overwrite="yes" />
      </then>
    </if>
    
    <if>
      <not>
        <available file="${org.bedework.data.dir}/tzsvr/config.xml" />
      </not>
      <then>
        <copy file="${org.bedework.config.home}/tzsvrConfig.xml"
              tofile="${org.bedework.data.dir}/tzsvr/config.xml" />
      </then>
    </if>
  </target>
</project>
Copy the tz server config into jboss if not already there
Copy the tz server config into jboss if not already there
