Ignore:
Timestamp:
2016-06-16T15:25:29+02:00 (8 years ago)
Author:
floscher
Message:

Update several tools to their latest version

These are:

  • Java now uses source compatibility of 1.8 instead of 1.7 for compiling
  • Gradle 2.14
  • PMD 5.4.2
  • JaCoCo 0.7.7
Location:
applications/editors/josm/plugins/mapillary
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/mapillary/.classpath

    r32203 r32285  
    44        <classpathentry kind="src" path="src"/>
    55        <classpathentry kind="src" path="test/unit"/>
    6         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
     6        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
    77        <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
    88        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
  • applications/editors/josm/plugins/mapillary/INSTALL.md

    r32070 r32285  
    6666git rev-parse master > .git/refs/remotes/svn/git-svn # creates a file containing the SHA1 of master-branch
    6767git svn fetch
    68 git reset --hard svn/git-svn
     68git reset --hard svn/git-svn # Make sure you have no uncommitted changes in your repo before doing this
    6969```
    7070
  • applications/editors/josm/plugins/mapillary/build.gradle

    r32078 r32285  
    66apply plugin: 'project-report'
    77
    8 sourceCompatibility = '1.7'
     8sourceCompatibility = '1.8'
    99
    1010repositories {
     
    2828  }
    2929}
     30
    3031dependencies {
    3132  // The JOSM-version can be specified as "latest", "tested" or the numeric version number.
    3233  // When using a numeric version number you can leave out {changing=true}.
    33   compile(':josm:9811')
     34  compile(':josm:10327')
    3435  // For plugins it's irrelevant, which version is specified, always the latest version is used.
    3536  compile (name: 'apache-commons'){changing=true}
     
    7576
    7677pmd {
    77   toolVersion '5.4.1'
     78  toolVersion project.property('tools.pmd.version')
    7879  ignoreFailures true
    79   targetJdk sourceCompatibility
    80   ruleSetFiles = files('.settings/pmd-ruleset.xml')
     80  targetJdk 1.7 // 1.8 is not yet available
     81  ruleSetConfig = resources.text.fromFile('.settings/pmd-ruleset.xml')
    8182}
    8283
     
    9091/** FindBugs configuration */
    9192findbugs {
    92   toolVersion = "3.0.1"
     93  toolVersion = project.property('tools.findbugs.version')
    9394  ignoreFailures = true
    9495  effort = "max"
     
    104105/** JaCoCo configuration */
    105106jacoco {
    106   toolVersion = "0.7.5.201505241946"
     107  toolVersion = project.property('tools.jacoco.version')
    107108}
    108109jacocoTestReport {
  • applications/editors/josm/plugins/mapillary/gradle.properties

    r32201 r32285  
    1111#plugin.early=...
    1212#plugin.stage=...
     13
     14tools.pmd.version=5.4.2
     15tools.findbugs.version=3.0.1
     16tools.jacoco.version=0.7.7.201606060606
  • applications/editors/josm/plugins/mapillary/gradle/wrapper/gradle-wrapper.properties

    r32062 r32285  
    33zipStoreBase=GRADLE_USER_HOME
    44zipStorePath=wrapper/dists
    5 distributionUrl=https\://services.gradle.org/distributions/gradle-2.11-bin.zip
    6 distributionSha256Sum=8d7437082356c9fd6309a4479c8db307673965546daea445c6c72759cd6b1ed6
     5distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-all.zip
     6distributionSha256Sum=65bbc0ef9c48be86fb06522fc927d59dcc7c04266f2bb8156be76971f7c3fc4a
  • applications/editors/josm/plugins/mapillary/gradlew

    r31782 r32285  
    77##############################################################################
    88
    9 # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
    10 DEFAULT_JVM_OPTS=""
     9# Attempt to set APP_HOME
     10# Resolve links: $0 may be a link
     11PRG="$0"
     12# Need this for relative symlinks.
     13while [ -h "$PRG" ] ; do
     14    ls=`ls -ld "$PRG"`
     15    link=`expr "$ls" : '.*-> \(.*\)$'`
     16    if expr "$link" : '/.*' > /dev/null; then
     17        PRG="$link"
     18    else
     19        PRG=`dirname "$PRG"`"/$link"
     20    fi
     21done
     22SAVED="`pwd`"
     23cd "`dirname \"$PRG\"`/" >/dev/null
     24APP_HOME="`pwd -P`"
     25cd "$SAVED" >/dev/null
    1126
    1227APP_NAME="Gradle"
    1328APP_BASE_NAME=`basename "$0"`
     29
     30# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
     31DEFAULT_JVM_OPTS=""
    1432
    1533# Use the maximum available, or set MAX_FD != -1 to use that value.
     
    3149msys=false
    3250darwin=false
     51nonstop=false
    3352case "`uname`" in
    3453  CYGWIN* )
     
    4160    msys=true
    4261    ;;
     62  NONSTOP* )
     63    nonstop=true
     64    ;;
    4365esac
    44 
    45 # Attempt to set APP_HOME
    46 # Resolve links: $0 may be a link
    47 PRG="$0"
    48 # Need this for relative symlinks.
    49 while [ -h "$PRG" ] ; do
    50     ls=`ls -ld "$PRG"`
    51     link=`expr "$ls" : '.*-> \(.*\)$'`
    52     if expr "$link" : '/.*' > /dev/null; then
    53         PRG="$link"
    54     else
    55         PRG=`dirname "$PRG"`"/$link"
    56     fi
    57 done
    58 SAVED="`pwd`"
    59 cd "`dirname \"$PRG\"`/" >/dev/null
    60 APP_HOME="`pwd -P`"
    61 cd "$SAVED" >/dev/null
    6266
    6367CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
     
    8690
    8791# Increase the maximum file descriptors if we can.
    88 if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
     92if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
    8993    MAX_FD_LIMIT=`ulimit -H -n`
    9094    if [ $? -eq 0 ] ; then
  • applications/editors/josm/plugins/mapillary/gradlew.bat

    r32062 r32285  
    99if "%OS%"=="Windows_NT" setlocal
    1010
    11 @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
    12 set DEFAULT_JVM_OPTS=
    13 
    1411set DIRNAME=%~dp0
    1512if "%DIRNAME%" == "" set DIRNAME=.
    1613set APP_BASE_NAME=%~n0
    1714set APP_HOME=%DIRNAME%
     15
     16@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
     17set DEFAULT_JVM_OPTS=
    1818
    1919@rem Find java.exe
Note: See TracChangeset for help on using the changeset viewer.