Changeset 29438


Ignore:
Timestamp:
11/17/14 13:30:04 (6 years ago)
Author:
kjdon
Message:

added a clear-tomcat-sessions target

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r29387 r29438  
    16481648  </target>
    16491649
     1650  <target name="clear-tomcat-sessions" description="Clear the Tomcat Session info." depends="init">
     1651    <exec executable="cmd" osfamily="windows" dir="${catalina.home}/work/Catalina/localhost/greenstone3" spawn="false">
     1652      <arg line="/c echo. > SESSIONS.ser"/>
     1653    </exec>
     1654    <exec executable="rm" os="${os.unix}" dir="${catalina.home}/work/Catalina/localhost/greenstone3" spawn="false">
     1655      <arg value="-f"/>
     1656      <arg value="SESSIONS.ser"/>
     1657    </exec>
     1658
     1659  </target>
    16501660  <!-- ======================= ant Targets ============================ -->
    16511661  <target name="prepare-ant" depends="init">
Note: See TracChangeset for help on using the changeset viewer.