You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by br...@apache.org on 2003/11/20 21:39:05 UTC
cvs commit: xml-forrest/scratchpad/forrestbot2/core forrestbot.xml
brondsem 2003/11/20 12:39:05
Modified: scratchpad/forrestbot2/core forrestbot.xml
Log:
fixes FOR-83. simpler configuration of log files, correct dir created when needed
Revision Changes Path
1.3 +6 -3 xml-forrest/scratchpad/forrestbot2/core/forrestbot.xml
Index: forrestbot.xml
===================================================================
RCS file: /home/cvs/xml-forrest/scratchpad/forrestbot2/core/forrestbot.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- forrestbot.xml 20 Nov 2003 19:42:29 -0000 1.2
+++ forrestbot.xml 20 Nov 2003 20:39:05 -0000 1.3
@@ -16,12 +16,15 @@
<property name="build.work-dir" location="work/${ant.project.name}"/>
<property name="build.site-dir" location="work/${ant.project.name}/site"/>
<property name="build.deploy-dir" location="sites/${ant.project.name}"/>
- <mkdir dir="logs"/>
+
<tstamp>
<format property="logtime" pattern="yyMMdd-hhmm"/>
</tstamp>
- <property name="build.logfile" location="logs/${ant.project.name}.log"/>
- <property name="build.logfile-stored" location="logs/${ant.project.name}-${logtime}.log"/>
+
+ <property name="build.log-dir" location="logs"/>
+ <mkdir dir="${build.log-dir}"/>
+ <property name="build.logfile" location="${build.log-dir}/${ant.project.name}.log"/>
+ <property name="build.logfile-stored" location="${build.log-dir}/${ant.project.name}-${logtime}.log"/>
<property name="mail.host" value="localhost"/>
<property name="mail.to" value="${user.name}@localhost"/>