Commit b61d4d63 authored by Fabien Triolet's avatar Fabien Triolet
Browse files

Added new target "changelog"

parent 764dbc79
<!-- $Id: build.xml,v 1.45 2003-06-03 10:58:28 triolet Exp $ --> <!-- $Id: build.xml,v 1.46 2003-06-04 09:34:06 triolet Exp $ -->
<project name="transmo" default="compile" basedir=".."> <project name="transmo" default="compile" basedir="..">
...@@ -520,7 +520,48 @@ ...@@ -520,7 +520,48 @@
<fileset dir="." includes="**/*~,**/#*#,**/*.BAK"/> <fileset dir="." includes="**/*~,**/#*#,**/*.BAK"/>
</delete> </delete>
</target> </target>
<target name="essai">
<filter token="VERS" value="${version}"/>
<copy file="samples/cvslog/process-merge.xml" tofile="samples/cvslog/process-merge.xml.save"/>
<replace file="samples/cvslog/process-merge.xml.save">
<replacetoken><![CDATA[<!--generate - Do not modify -->]]></replacetoken>
<replacevalue><![CDATA[<!--generate - Do not modify -->
<generate id="generateLog@VERS@" type="readfile" out="@VERS@">
<with-param name="file">../samples/cvslog/output/logv@VERS@.xml</with-param>
</generate>]]></replacevalue>
</replace>
<replace file="samples/cvslog/process-merge.xml.save">
<replacetoken><![CDATA[in="a0]]></replacetoken>
<replacevalue><![CDATA[in="a0 @VERS@]]></replacevalue>
</replace>
<move file="samples/cvslog/process-merge.xml.save" tofile="samples/cvslog/process-merge.xml" filtering="true"/>
<copy file="samples/cvslog/process.xml" tofile="samples/cvslog/process.xml.save"/>
<replace file="samples/cvslog/process.xml.save">
<replacetoken><![CDATA[<!--parameter - Do not modify -->]]></replacetoken>
<replacevalue><![CDATA[<!--parameter - Do not modify -->
<with-param name="p@VERS@">v@VERS@</with-param>]]></replacevalue>
</replace>
<move file="samples/cvslog/process.xml.save" tofile="samples/cvslog/process.xml" filtering="true"/>
</target>
<target name="changelog" depends="init">
<cvschangelog dir="."
destfile="changelog.xml"/>
<style in="changelog.xml"
out="doc/changelog-ant.html"
style="${ant.home}/etc/changelog.xsl"
classpathref="classpath">
<param name="title" expression="Transmorpher ChangeLog"/>
<param name="cvsweb" expression="http://fluxlog1.inrialpes.fr/sources/transmorpher"/>
</style>
<delete file="changelog.xml"/>
</target>
<target name="clean"> <target name="clean">
<echo message="Cleaning..."/> <echo message="Cleaning..."/>
<delete dir="transmo-${version}"/> <delete dir="transmo-${version}"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment