|
From: Philipp O. <web...@po...> - 2004-04-03 13:08:23
|
Hi,
I'm just trying to integrate your tool into my ant script. It seems as if it's
impossible to generate the cvs' log from ant. When I execute the following task
CVS generates funny characters into the logfile, which prevent the statcvs-task
from working.
Is there a workaround available to use statcvs without manually generating cvslog ?
My versions are:
ANT: jakarta-ant-1.5.1-37
CVS: 1.11.5
CVSSTAT: 0.1.3
<ansnip>
<!-- cvsstat - 2004-04-03 -->
<target name="statcvs" depends="init">
<echo message="TASK: STATCVS running ...."/>
<echo message="Generating CVSLog .... " />
<exec dir="${statcvs.logfile.dir}" executable="/usr/bin/cvs" os="Linux"
output="../cvslog">
<arg line=" log "/>
</exec>
<echo message="statCVS running.... " />
<taskdef name="statcvs" classname="net.sf.statcvs.ant.StatCvsTask"/>
<statcvs
projectName="StatCvs foo"
projectDirectory="../"
cvsLogFile="../cvslog"
outputDirectory="${statcvs.output}"
cssFile="http://statcvs.sf.net/stats/statcvs.css"
showCredits="yes"/>
</target>
</antsnip>
|