Changeset 4545 in josm for trunk/netbeans/nbbuild.xml


Ignore:
Timestamp:
2011-10-28T17:54:39+02:00 (9 years ago)
Author:
bastiK
Message:

update netbeans project

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/netbeans/nbbuild.xml

    r3963 r4545  
    1010<project name="josm" default="default" basedir=".">
    1111    <description>Builds, tests, and runs the project josm.</description>
     12
     13    <property name="javacc.home" location="../tools"/>
     14    <property name="mapcss.dir" location="../src/org/openstreetmap/josm/gui/mappaint/mapcss"/>
     15
    1216    <import file="nbproject/build-impl.xml"/>
    1317    <!--
     
    9599</echo>
    96100        </target>
    97    
     101
     102    <target name="-pre-compile">
     103        <mkdir dir="${mapcss.dir}/parsergen"/>
     104        <exec append="false" executable="java" failifexecutionfails="true">
     105            <arg value="-cp"/>
     106            <arg value="${javacc.home}/javacc.jar"/>
     107            <arg value="javacc"/>
     108            <arg value="-OUTPUT_DIRECTORY=${mapcss.dir}/parsergen"/>
     109            <arg value="${mapcss.dir}/MapCSSParser.jj"/>
     110        </exec>
     111<!--        <javacc target="${mapcss.dir}/MapCSSParser.jj" javacchome="${javacc.home}" outputdirectory="${mapcss.dir}/parsergen"/>-->
     112    </target>   
    98113</project>
Note: See TracChangeset for help on using the changeset viewer.