Ticket #7922: 7922-javacc.notRequired.diff
File 7922-javacc.notRequired.diff, 1.7 KB (added by , 12 years ago) |
---|
-
build.xml
108 108 <zipfileset dir="macosx" includes="JOSM.app/Contents/MacOS/JOSM" filemode="755"/> 109 109 </zip> 110 110 </target> 111 <uptodate property="javacc.notRequired" targetfile="${mapcss.dir}/parsergen/MapCSSParser.java" > 112 <srcfiles dir="${mapcss.dir}" includes="MapCSSParser.jj"/> 113 </uptodate> 114 <target name="javacc" unless="javacc.notRequired"> 111 <target name="javacc" depends="init" unless="javacc.notRequired"> 115 112 <mkdir dir="${mapcss.dir}/parsergen"/> 116 113 <exec append="false" executable="java" failifexecutionfails="true"> 117 114 <arg value="-cp"/> … … 122 119 </exec> 123 120 <!-- <javacc target="${mapcss.dir}/MapCSSParser.jj" javacchome="${javacc.home}" outputdirectory="${mapcss.dir}/parsergen"/>--> 124 121 </target> 125 <target name="compile" depends=" javacc,init">122 <target name="compile" depends="init,javacc"> 126 123 <javac srcdir="src" includes="com/**,oauth/**,org/apache/commons/codec/**" destdir="build" target="1.5" source="1.5" debug="on" encoding="iso-8859-1"/> 127 124 <javac srcdir="src" excludes="com/**,oauth/**,org/apache/commons/codec/**" destdir="build" target="1.5" source="1.5" debug="on" encoding="UTF-8"> 128 125 <compilerarg value="-Xlint:deprecation"/> … … 130 127 </javac> 131 128 </target> 132 129 <target name="init"> 130 <uptodate property="javacc.notRequired" targetfile="${mapcss.dir}/parsergen/MapCSSParser.java" > 131 <srcfiles dir="${mapcss.dir}" includes="MapCSSParser.jj"/> 132 </uptodate> 133 133 <mkdir dir="build"/> 134 134 <mkdir dir="dist"/> 135 135 </target>