Changeset 11676 in josm


Ignore:
Timestamp:
2017-03-05T00:32:10+01:00 (7 weeks ago)
Author:
Don-vip
Message:

fix #14455 - Use <java> instead of <exec> to run javacc (patch by michael2402)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r11675 r11676  
    208208    <target name="javacc" depends="init" unless="javacc.notRequired">
    209209        <mkdir dir="${mapcss.dir}/parsergen"/>
    210         <exec append="false" executable="java" failifexecutionfails="true">
    211             <arg value="-cp"/>
    212             <arg value="${javacc.home}/javacc.jar"/>
    213             <arg value="javacc"/>
     210        <java classname="javacc" fork="true" failonerror="true">
     211            <classpath path="${javacc.home}/javacc.jar"/>
    214212            <arg value="-DEBUG_PARSER=false"/>
    215213            <arg value="-DEBUG_TOKEN_MANAGER=false"/>
     
    218216            <arg value="-OUTPUT_DIRECTORY=${mapcss.dir}/parsergen"/>
    219217            <arg value="${mapcss.dir}/MapCSSParser.jj"/>
    220         </exec>
     218        </java>
    221219    </target>
    222220    <target name="compile" depends="init,javacc">
Note: See TracChangeset for help on using the changeset viewer.