1 --- javacup/build.xml.orig 2016-06-15 07:10:15.000000000 -0300
2 +++ javacup/build.xml 2016-07-17 08:46:46.632722844 -0300
4 <mkdir dir="${dist}" />
5 <loadfile property="cupversion" srcFile="version.txt" failonerror="false" />
6 <property name="cupversion" value="custombuild" unless:set="cupversion"/>
7 - <exec executable="git" outputproperty="gitversion">
10 - <arg value="--format=%h"/>
12 - <exec executable="git" outputproperty="changed">
13 - <arg value="status"/>
14 - <arg value="--porcelain"/>
17 - <linecontainsregexp>
18 - <regexp pattern='^M.*'/>
19 - </linecontainsregexp>
21 - <replaceregex pattern=".*" replace="modifications based on "/>
23 - </outputfilterchain>
26 - <property name="svnversion">${changed}${gitversion}</property>
29 <property environment="env" />
31 <copy todir="${java}"><fileset dir="${src}"></fileset></copy>
32 <replace file="${java}/java_cup/version.java"
34 - value='+ "v0.11b ${cupversion} (GIT ${svnversion})"'>
35 + value='+ "v0.11b ${cupversion}"'>
37 <javac srcdir="${java}" destdir="${classes}" verbose="off" listfiles="off" debug="on" source="1.8" target="1.8">
38 <classpath refid="libraries"/>