blob: 2ebe1821097b76ee31427bb094e48bdb06587021 [file] [log] [blame]
david_williams126339f2005-07-05 05:54:08 +00001<?xml version="1.0" encoding="UTF-8"?>
2<project name="tokenizer" default="HeadTokenizer">
3
4 <!-- Note: for Eclipse env., the JFlex 1.4 jar should be added
5 to the ant global entries -->
6 <taskdef classname="JFlex.anttask.JFlexTask" name="jflex" />
7
8 <target name="init">
9 <property name="src.file" value="JSPHeadTokenizer.jFlex"/>
10 <property name="src.dir" value="HeadParsers"/>
11 <property name="dest.dir" value="../src"/>
12 <!-- touch causes to always build, remove for real 'make' behavior -->
13 <touch file="${src.dir}/${src.file}"/>
14
15 </target>
16
17 <target name="HeadTokenizer" depends="init">
18 <antcall target="run-jflex"/>
19 </target>
20
21 <target name="run-jflex" depends="init">
22 <jflex
23 file="${src.dir}/${src.file}"
24 destdir="${dest.dir}"
25 verbose="true"
26 nobak="true"
27 time="on"
28 />
29 </target>
30
31
32</project>