[ictk-cvs] ictk build.xml,1.24,1.25
chess library in java, PGN, FEN, ICS
Brought to you by:
jvarsoke
|
From: <jva...@us...> - 2003-08-26 20:43:14
|
Update of /cvsroot/ictk/ictk
In directory sc8-pr-cvs1:/tmp/cvs-serv30299
Modified Files:
build.xml
Log Message:
parser test generation added to build.xml. Extra \n eliminated in MoveListParser.toNative()
Index: build.xml
===================================================================
RCS file: /cvsroot/ictk/ictk/build.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** build.xml 23 Aug 2003 05:52:06 -0000 1.24
--- build.xml 26 Aug 2003 20:43:08 -0000 1.25
***************
*** 68,71 ****
--- 68,73 ----
<property name="xslt.ics.event.dir"
value="${source.dir}/ictk/boardgame/chess/net/ics/event"/>
+ <property name="xslt.ics.event.parser.dir"
+ value="${test.dir}/ictk/boardgame/chess/net/ics/fics/event"/>
<!-- compile path for XSLT -->
***************
*** 147,150 ****
--- 149,153 ----
if="xalan_is_good"
description="generates source code from XML files">
+ <!-- event and parsers -->
<xslt
basedir="${xslt.ics.event.dir}"
***************
*** 163,167 ****
--- 166,186 ----
includes="*.tmp.log"
/>
+ </concat>
+ <!-- parser tests -->
+ <xslt
+ basedir="${xslt.ics.event.parser.dir}"
+ destdir="${xslt.ics.event.parser.dir}"
+ classpathref="xslt.class.path"
+ style="${xslt.ics.event.parser.dir}/templateParser.xsl"
+ includes="parserTests.xml"
+ extension=".tmp.log"
+ force="yes"
+ >
+ </xslt>
+ <concat destfile="${xslt.ics.event.parser.dir}/genfiles.log">
+ <fileset dir="${xslt.ics.event.parser.dir}"
+ includes="*.tmp.log"
+ />
</concat>
<!-- get rid of the useless log files -->
***************
*** 170,174 ****
--- 189,198 ----
includes="*.tmp.log"
/>
+ <fileset dir="${xslt.ics.event.parser.dir}"
+ includes="*.tmp.log"
+ />
</delete>
+
+ <!-- report all files -->
<echo>Generated Files</echo>
<concat>
***************
*** 176,180 ****
--- 200,208 ----
includes="genfiles.log"
/>
+ <fileset dir="${xslt.ics.event.parser.dir}"
+ includes="genfiles.log"
+ />
</concat>
+
</target>
|