Changeset 5323 in josm for trunk/build.xml


Ignore:
Timestamp:
2012-07-11T19:02:15+02:00 (7 years ago)
Author:
simon04
Message:

fix #7769 - build.xml improvements.

  • run javacc only if MapCSSParser.jj was changed
  • provide ant run
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r5263 r5323  
    108108        </zip>
    109109    </target>
    110     <target name="javacc">
     110    <uptodate property="javacc.notRequired" targetfile="${mapcss.dir}/parsergen/MapCSSParser.java" >
     111        <srcfiles dir="${mapcss.dir}" includes="MapCSSParser.jj"/>
     112    </uptodate>
     113    <target name="javacc" unless="javacc.notRequired">
    111114        <mkdir dir="${mapcss.dir}/parsergen"/>
    112115        <exec append="false" executable="java" failifexecutionfails="true">
     
    329332      </findbugs>
    330333    </target>
     334    <target name="run" depends="dist">
     335        <java jar="dist/josm-custom.jar" fork="true">
     336            <arg value="--set=expert=true"/>
     337            <arg value="--set=remotecontrol.enabled=true"/>
     338            <arg value="--set=debug.edt-checker.enable=false"/>
     339            <jvmarg value="-Djosm.home=/tmp/.josm/"/>
     340        </java>
     341    </target>
    331342
    332343</project>
Note: See TracChangeset for help on using the changeset viewer.