Changeset 34009 in osm for applications/editors/josm


Ignore:
Timestamp:
2018-01-15T03:10:16+01:00 (7 years ago)
Author:
donvip
Message:

rework compilation to avoid protobuff java warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pbf/build.xml

    r33568 r34009  
    2323        <echo message="compiling sources for ${plugin.jar} ... "/>
    2424        <javac classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false">
     25            <!-- get rid of "internal proprietary API" warning -->
     26            <compilerarg value="-XDignore.symbol.file"/>
     27            <src path="src" />
     28            <src path="gen" />
     29            <exclude name="org/**"/>
     30        </javac>
     31        <javac classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false">
    2532            <compilerarg value="-Xlint:deprecation"/>
    2633            <compilerarg value="-Xlint:unchecked"/>
    2734            <src path="src" />
    28             <src path="gen" />
     35            <include name="org/**"/>
    2936        </javac>
    3037    </target>
Note: See TracChangeset for help on using the changeset viewer.