Update of /cvsroot/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28303
Modified Files:
.classpath build.xml
Log Message:
Added an expression grammar
Index: .classpath
===================================================================
RCS file: /cvsroot/bprocessor/model/.classpath,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** .classpath 23 Mar 2006 12:24:02 -0000 1.7
--- .classpath 15 May 2006 15:21:59 -0000 1.8
***************
*** 6,9 ****
--- 6,10 ----
<classpathentry exported="true" kind="lib" path="/tools/jaxb/jaxb.jar"/>
<classpathentry kind="lib" path="build"/>
+ <classpathentry exported="true" kind="lib" path="/tools/antlr/antlr.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Index: build.xml
===================================================================
RCS file: /cvsroot/bprocessor/model/build.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** build.xml 28 Apr 2006 11:29:09 -0000 1.12
--- build.xml 15 May 2006 15:21:59 -0000 1.13
***************
*** 59,62 ****
--- 59,67 ----
</fileset>
</copy>
+ <copy todir="${lib.dir}">
+ <fileset dir="${tools.dir}/antlr">
+ <include name="**/antlr.jar"/>
+ </fileset>
+ </copy>
<copy todir="${lib.dir}">
<fileset dir="${kernel.dir}/dist">
***************
*** 66,69 ****
--- 71,84 ----
</target>
+ <target name="compile-grammar" depends="init">
+ <mkdir dir="${build.dir}/net/sourceforge/bprocessor/model/parser"/>
+ <antlr target="${conf.dir}/expression.g"
+ outputdirectory="${build.dir}/net/sourceforge/bprocessor/model/parser">
+ <classpath>
+ <pathelement location="${lib.dir}/antlr.jar"/>
+ </classpath>
+ </antlr>
+ </target>
+
<target name="compile-xml" depends="copylib">
<taskdef name="xjc"
***************
*** 84,87 ****
--- 99,103 ----
<classpath>
<pathelement location="${lib.dir}/jaxb.jar"/>
+ <pathelement location="${lib.dir}/antlr.jar"/>
</classpath>
</javac>
***************
*** 107,111 ****
</target>
! <target name="compile" depends="checkstyle,copylib,compile-xml">
<ant dir="src" target="compile"/>
</target>
--- 123,127 ----
</target>
! <target name="compile" depends="checkstyle,copylib,compile-grammar,compile-xml">
<ant dir="src" target="compile"/>
</target>
|