Changeset 7022 in josm for trunk/build.xml


Ignore:
Timestamp:
2014-04-29T02:07:27+02:00 (5 years ago)
Author:
Don-vip
Message:

see #8465 - enable and fix more warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r7021 r7022  
    198198    <target name="compile" depends="init,javacc">
    199199        <!-- COTS -->
    200         <javac srcdir="src" includes="com/**,oauth/**,org/apache/commons/codec/**" nowarn="on"
     200        <javac srcdir="src" includes="com/**,oauth/**,org/apache/commons/codec/**,org/glassfish/**" nowarn="on"
    201201                destdir="build" target="1.7" source="1.7" debug="on" includeantruntime="false" encoding="iso-8859-1">
    202202            <!-- get rid of "internal proprietary API" warning -->
     
    204204        </javac>
    205205        <!-- JMapViewer/JOSM -->
    206         <javac srcdir="src" excludes="com/**,oauth/**,org/apache/commons/codec/**,org/openstreetmap/gui/jmapviewer/Demo.java"
     206        <javac srcdir="src" excludes="com/**,oauth/**,org/apache/commons/codec/**,org/glassfish/**,org/openstreetmap/gui/jmapviewer/Demo.java"
    207207                destdir="build" target="1.7" source="1.7" debug="on" includeantruntime="false" encoding="UTF-8">
    208208            <compilerarg value="-Xlint:cast"/>
    209209            <compilerarg value="-Xlint:deprecation"/>
     210            <compilerarg value="-Xlint:dep-ann"/>
     211            <compilerarg value="-Xlint:divzero"/>
     212            <compilerarg value="-Xlint:empty"/>
     213            <compilerarg value="-Xlint:finally"/>
     214            <compilerarg value="-Xlint:overrides"/>
     215            <!--<compilerarg value="-Xlint:rawtypes"/>-->
     216            <compilerarg value="-Xlint:static"/>
     217            <compilerarg value="-Xlint:try"/>
    210218            <compilerarg value="-Xlint:unchecked"/>
    211219        </javac>
Note: See TracChangeset for help on using the changeset viewer.