Changeset 16194 in josm


Ignore:
Timestamp:
2020-03-22T23:48:13+01:00 (5 years ago)
Author:
simon04
Message:

see #16860 - Resolve JMapViewer using Apache Ivy

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r16183 r16194  
    220220            </manifest>
    221221            <service type="java.text.spi.DecimalFormatSymbolsProvider" provider="org.openstreetmap.josm.tools.JosmDecimalFormatSymbolsProvider" />
    222             <zipfileset dir="${src.dir}/org/openstreetmap/gui/jmapviewer/images" prefix="org/openstreetmap/gui/jmapviewer/images"/>
    223222        </jar>
    224223    </target>
     
    328327        </javac>
    329328    </target>
    330     <target name="compile-jmapviewer" depends="init" description="Compiles JMapViewer">
    331         <!-- JMapViewer -->
    332         <javac sourcepath="" srcdir="${src.dir}" fork="yes"
    333             excludes="com/**,oauth/**,org/apache/commons/**,org/openstreetmap/gui/jmapviewer/Demo.java,org/openstreetmap/gui/jmapviewer/JMapViewerTree.java,org/openstreetmap/gui/jmapviewer/checkBoxTree/**,org/openstreetmap/josm/**"
    334             destdir="${build.dir}" target="${java.lang.version}" source="${java.lang.version}" debug="on" includeantruntime="false" createMissingPackageInfoClass="false" encoding="UTF-8">
    335             <compilerarg value="-J-Xbootclasspath/p:${error_prone_javac.jar}" unless:set="isJava9"/>
    336             <compilerarg line="-XDcompilePolicy=simple"/>
    337             <compilerarg value="-processorpath"/>
    338             <compilerarg pathref="processor.path"/>
    339             <compilerarg value="-Xlint:cast"/>
    340             <compilerarg value="-Xlint:deprecation"/>
    341             <compilerarg value="-Xlint:dep-ann"/>
    342             <compilerarg value="-Xlint:divzero"/>
    343             <compilerarg value="-Xlint:empty"/>
    344             <compilerarg value="-Xlint:finally"/>
    345             <compilerarg value="-Xlint:overrides"/>
    346             <!--<compilerarg value="-Xlint:rawtypes"/>-->
    347             <compilerarg value="-Xlint:static"/>
    348             <compilerarg value="-Xlint:try"/>
    349             <compilerarg value="-Xlint:unchecked"/>
    350             <!-- Undocumented argument to ignore "Sun internal proprietary API" warning, see http://stackoverflow.com/a/13862308/2257172 -->
    351             <compilerarg value="-XDignore.symbol.file"/>
    352             <compilerarg value="-Xplugin:ErrorProne -Xep:CatchAndPrintStackTrace:OFF -Xep:ReferenceEquality:OFF -Xep:StringSplitter:OFF -Xep:BadImport:OFF"/>
    353             <compilerarg line="-Xmaxwarns 1000"/>
    354         </javac>
    355     </target>
    356     <target name="compile" depends="init,javacc,compile-cots,compile-jmapviewer" unless="compile.notRequired" description="Compiles JOSM">
     329    <target name="compile" depends="init,javacc,compile-cots" unless="compile.notRequired" description="Compiles JOSM">
    357330        <!-- JOSM -->
    358331        <javac sourcepath="" srcdir="${src.dir}" fork="yes"
     
    400373                classpathref="compile.path"
    401374                encoding="UTF-8"
    402                 packagenames="org.openstreetmap.josm.*,org.openstreetmap.gui.jmapviewer.*"
     375                packagenames="org.openstreetmap.josm.*"
    403376                excludepackagenames="org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.*"
    404377                windowtitle="JOSM"
     
    11111084                <exclude name="META-INF/**"/>
    11121085                <exclude name="*"/>
     1086                <exclude name="org/openstreetmap/gui/jmapviewer/Demo*"/>
    11131087                <exclude name="com/drew/imaging/FileTypeDetector*"/>
    11141088                <exclude name="com/drew/imaging/ImageMetadataReader*"/>
     
    11761150        <jar destfile="${dist-sources.jar}" level="${clevel}">
    11771151            <zipgroupfileset refid="sources.fileset"/>
    1178             <fileset dir="${src.dir}"/>
     1152            <fileset dir="${src.dir}">
     1153                <exclude name="org/openstreetmap/gui/jmapviewer/**"/>
     1154            </fileset>
    11791155            <fileset dir="${resources.dir}"/>
    11801156            <fileset file="CONTRIBUTION"/>
  • trunk/ivy.xml

    r16183 r16194  
    1818    <dependencies>
    1919        <!-- api->default -->
     20        <dependency org="org.openstreetmap.jmapviewer" name="jmapviewer" rev="2.13" conf="api->default"/>
    2021        <dependency org="javax.json" name="javax.json-api" rev="1.1.4" conf="api->default"/>
    2122        <dependency org="org.glassfish" name="javax.json" rev="1.1.4" conf="api->default"/>
     
    2627        <dependency org="ch.poole" name="OpeningHoursParser" rev="0.21.1" conf="api->default"/>
    2728        <!-- sources->sources -->
     29        <dependency org="org.openstreetmap.jmapviewer" name="jmapviewer" rev="2.13" conf="sources->sources"/>
    2830        <dependency org="javax.json" name="javax.json-api" rev="1.1.4" conf="sources->sources"/>
    2931        <dependency org="org.glassfish" name="javax.json" rev="1.1.4" conf="sources->sources"/>
Note: See TracChangeset for help on using the changeset viewer.