Changeset 26776

Show
Ignore:
Timestamp:
22.01.2013 18:03:45 (6 years ago)
Author:
davidb
Message:

Changed target name 'clean-logs' to 'reset-logs'. This is to avoid running an accidental target such as 'clean', which will result in all your compiled code being wipedemacs build.xml

Files:
1 modified

Legend:

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

    r26775 r26776  
    13051305    Doing "cat </dev/null > packages/tomcat/logs/catalina.out" doesn't work as an ant target. 
    13061306    It seems to have a problem with cat or </dev/null, with or without the < sign. --> 
    1307   <target name="clean-logs" description="Empties catalina.out, greenstone.log and contents of web/logs/tmp"> 
     1307  <target name="reset-logs" description="Empties catalina.out, greenstone.log and contents of web/logs/tmp"> 
    13081308    <echo>Truncating catalina.out, greenstone.log and server.log, and emptying ${web.home}/logs/tmp</echo>     
    13091309    <exec executable="rm" os="${os.unix}" dir="${catalina.home}/logs" spawn="false">