Changeset 6702 in josm for trunk/netbeans


Ignore:
Timestamp:
2014-01-16T12:59:09+01:00 (6 years ago)
Author:
akks
Message:

Netbeans project fixes (update javacc compilation)

Location:
trunk/netbeans
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/netbeans/nbbuild.xml

    r4545 r6702  
    100100        </target>
    101101
    102     <target name="-pre-compile">
     102    <target name="check-javacc">
     103        <uptodate property="javacc.notRequired" targetfile="${mapcss.dir}/parsergen/MapCSSParser.java" >
     104            <srcfiles dir="${mapcss.dir}" includes="MapCSSParser.jj"/>
     105        </uptodate>
     106    </target>   
     107    <target name="javacc" depends="check-javacc" unless="javacc.notRequired">
    103108        <mkdir dir="${mapcss.dir}/parsergen"/>
    104109        <exec append="false" executable="java" failifexecutionfails="true">
     
    107112            <arg value="javacc"/>
    108113            <arg value="-OUTPUT_DIRECTORY=${mapcss.dir}/parsergen"/>
     114            <arg value="-JDK_VERSION=1.6"/>
     115            <arg value="-GRAMMAR_ENCODING=UTF-8"/>
    109116            <arg value="${mapcss.dir}/MapCSSParser.jj"/>
    110117        </exec>
     118    </target>
     119    <target name="-pre-compile" depends="javacc">
    111120<!--        <javacc target="${mapcss.dir}/MapCSSParser.jj" javacchome="${javacc.home}" outputdirectory="${mapcss.dir}/parsergen"/>-->
    112121    </target>   
  • trunk/netbeans/nbproject/genfiles.properties

    r4545 r6702  
    44# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
    55# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
    6 nbproject/build-impl.xml.data.CRC32=2a1d7942
    7 nbproject/build-impl.xml.script.CRC32=ba6a6ad8
    8 nbproject/build-impl.xml.stylesheet.CRC32=0c01fd8e@1.43.1.45
     6nbproject/build-impl.xml.data.CRC32=e047155d
     7nbproject/build-impl.xml.script.CRC32=63445536
     8nbproject/build-impl.xml.stylesheet.CRC32=5a01deb7@1.68.1.46
Note: See TracChangeset for help on using the changeset viewer.