Changeset 7019 in josm for trunk/build.xml


Ignore:
Timestamp:
2014-04-28T16:41:29+02:00 (5 years ago)
Author:
Don-vip
Message:

see #8465 - fix @SafeVarargs warning, see http://docs.oracle.com/javase/7/docs/api/java/lang/SafeVarargs.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r7001 r7019  
    197197    </target>
    198198    <target name="compile" depends="init,javacc">
    199         <javac srcdir="src" includes="com/**,oauth/**,org/apache/commons/codec/**" destdir="build" target="1.7" source="1.7" debug="on" includeantruntime="false" encoding="iso-8859-1"/>
    200         <javac srcdir="src" excludes="com/**,oauth/**,org/apache/commons/codec/**" destdir="build" target="1.7" source="1.7" debug="on" includeantruntime="false" encoding="UTF-8">
     199        <!-- COTS -->
     200        <javac srcdir="src" includes="com/**,oauth/**,org/apache/commons/codec/**" nowarn="on"
     201                destdir="build" target="1.7" source="1.7" debug="on" includeantruntime="false" encoding="iso-8859-1">
     202            <!-- get rid of "internal proprietary API" warning -->
     203                <compilerarg value="-XDignore.symbol.file"/>
     204        </javac>
     205        <!-- JMapViewer/JOSM -->
     206        <javac srcdir="src" excludes="com/**,oauth/**,org/apache/commons/codec/**,org/openstreetmap/gui/jmapviewer/Demo.java"
     207                destdir="build" target="1.7" source="1.7" debug="on" includeantruntime="false" encoding="UTF-8">
    201208            <compilerarg value="-Xlint:deprecation"/>
    202209            <compilerarg value="-Xlint:unchecked"/>
Note: See TracChangeset for help on using the changeset viewer.