Changeset 26002
- Timestamp:
- 2012-07-23T19:36:07+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/build.xml
r25904 r26002 1210 1210 It seems to have a problem with cat or </dev/null, with or without the < sign. --> 1211 1211 <target name="clean-logs" description="Empties catalina.out, greenstone.log and contents of web/logs/tmp"> 1212 <echo>Truncating catalina.out and greenstone.log, and emptying ${web.home}/logs/tmp</echo>1212 <echo>Truncating catalina.out, greenstone.log and server.log, and emptying ${web.home}/logs/tmp</echo> 1213 1213 <exec executable="truncate" os="${os.unix}" dir="${catalina.home}/logs" spawn="false"> 1214 1214 <arg value="-s0"/> … … 1219 1219 <arg value="greenstone.log"/> 1220 1220 </exec> 1221 <exec executable="truncate" os="${os.unix}" dir="${web.home}/logs" spawn="false"> 1222 <arg value="-s0"/> 1223 <arg value="server.log"/> 1224 </exec> 1221 1225 1222 1226 <exec executable="cmd" os="${os.windows}" dir="${catalina.home}/logs" spawn="false"> … … 1225 1229 <exec executable="cmd" os="${os.windows}" dir="${web.home}/logs" spawn="false"> 1226 1230 <arg line="/c echo. > greenstone.log"/> 1231 </exec> 1232 <exec executable="cmd" os="${os.windows}" dir="${web.home}/logs" spawn="false"> 1233 <arg line="/c echo. > server.log"/> 1227 1234 </exec> 1228 1235
Note:
See TracChangeset
for help on using the changeset viewer.