Commit 7bb4a150 authored by Administrator's avatar Administrator
Browse files

added cup runtime to build.xml

parent 49be8565
......@@ -32,11 +32,24 @@
<project name="MakeMouse" basedir="." default="all" >
<property name="dest" value="${basedir}/build" />
<property name="lib" location="${basedir}/lib" />
<path id="libraries">
<pathelement location="${src}" />
<fileset dir="${lib}">
<include name="**/*.jar" />
<target name="all" depends="full-jar, runtime-jar" />
<target name="full-jar" depends="compile, rtsource">
<jar basedir="${dest}" destfile="${dest}/Mouse-1.7.jar" />
<jar basedir="${dest}" destfile="${dest}/Mouse-1.7.jar">
<attribute name="Main-Class" value="mouse/Generate" />
<attribute name="Class-Path" value="java-cup-11b-runtime.jar" />
<delete dir="${dest}/rtsource" />
......@@ -46,7 +59,9 @@
<target name="compile" depends="init">
<javac srcdir="${basedir}/src" destdir="${dest}" includeAntRuntime="no" />
<javac srcdir="${basedir}/src" destdir="${dest}" includeAntRuntime="no">
<classpath refid="libraries"/>
<target name="rtsource" depends="rtdir" >
Supports Markdown
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