Changeset 26776 for main/trunk


Ignore:
Timestamp:
2013-01-22T18:03:45+13:00 (11 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

File:
1 edited

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">
Note: See TracChangeset for help on using the changeset viewer.