Changeset 35374 in osm


Ignore:
Timestamp:
2020-03-17T13:32:15+01:00 (5 years ago)
Author:
donvip
Message:

build JavaFX plugins only with Java 11+, enable Jacoco coverage on Java 13/14/15

Location:
applications/editors/josm/plugins
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/SaudiNationalAddress

    • Property svn:ignore set to
      build
  • applications/editors/josm/plugins/build-common.xml

    r35344 r35374  
    6565    <condition property="isJava12"><matches string="${ant.java.version}" pattern="1[2-9]" /></condition>
    6666    <condition property="isJava13"><matches string="${ant.java.version}" pattern="1[3-9]" /></condition>
    67     <!-- Disable jacoco on Java 13+, see https://github.com/jacoco/jacoco/pull/738 -->
     67    <condition property="isJava16"><matches string="${ant.java.version}" pattern="1[6-9]" /></condition>
     68    <!-- Disable jacoco on Java 16+, see https://github.com/jacoco/jacoco/pull/992 -->
    6869    <condition property="coverageByDefault">
    6970        <not>
    70             <isset property="isJava13"/>
     71            <isset property="isJava16"/>
    7172        </not>
    7273    </condition>
  • applications/editors/josm/plugins/build.xml

    r34707 r35374  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <project name="josm-plugins" default="dist" basedir=".">
     2<project name="josm-plugins" default="dist" basedir="." xmlns:if="ant:if" xmlns:unless="ant:unless">
    33    <target name="compile_josm" unless="skip-josm">
    44        <ant dir="../core" target="dist"/>
     
    77        <ant dir="../core" target="test-compile"/>
    88    </target>
     9    <!-- For Java specific stuff by version -->
     10    <condition property="isJava11"><matches string="${ant.java.version}" pattern="1[1-9]" /></condition>
     11    <!-- Specific plugins -->
    912    <property name="ordered_plugins" value="jaxb/build.xml
    1013                                            jna/build.xml
    1114                                            jts/build.xml
    1215                                            gson/build.xml
    13                                             javafx/build.xml
    1416                                            ejml/build.xml
    1517                                            geotools/build.xml
     
    1921                                            apache-http/build.xml
    2022                                                                                        austriaaddresshelper/build.xml"/>
     23    <property name="javafx_plugins" value="javafx/build.xml
     24                                                                                        Mapillary/build.xml
     25                                                                                        MicrosoftStreetside/build.xml"/>
    2126    <macrodef name="iterate">
    2227        <attribute name="target"/>
     
    2429            <subant target="@{target}" inheritall="true">
    2530                <filelist dir="." files="${ordered_plugins}"/>
    26                 <fileset  dir="." includes="*/build.xml" excludes="00_*/build.xml *.wip/build.xml ${ordered_plugins}"/>
     31                <!-- Build JavaFX plugins only with Java 11+ -->
     32                <filelist dir="." files="${javafx_plugins}" if:set="isJava11"/>
     33                <fileset  dir="." includes="*/build.xml" excludes="00_*/build.xml *.wip/build.xml ${javafx_plugins} ${ordered_plugins}"/>
    2734            </subant>
    2835        </sequential>
  • applications/editors/josm/plugins/comfort0

    • Property svn:ignore
      •  

        old new  
        11build
        22javadoc
         3bin
         4bintest
Note: See TracChangeset for help on using the changeset viewer.