Changeset 29438

Show
Ignore:
Timestamp:
17.11.2014 13:30:04 (4 years ago)
Author:
kjdon
Message:

added a clear-tomcat-sessions target

Files:
1 modified

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">