Ignore:
Timestamp:
May 21, 2019, 8:47:30 AM (2 years ago)
Author:
Nicklas Nordborg
Message:

References #2139: Switch to Java 11 (or later)

Changed build script to specify Java 11. Biggest change is that the 'source' and 'target' parameters have merged to 'release' parameter and that 'bootclasspath' is no longer supported when compiling against java versions > 8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/jsp-precompile.xml

    r7607 r7711  
    3030    jsp.src = path to directory containing JSP files to be compile
    3131    jsp.build = path to working directory where intermediate .java files and compiled .class files should be saved
    32     javac.source, javac.target = source and target version of java files
     32    javac.release = source and target version of java files
    3333  -->
    3434  <property name="javac.encoding" value="UTF-8" />
    35   <property name="javac.bootclasspath" value="." />
    3635  <!--
    3736    Use Xlint to detect potential problems:
     
    5857  <target name="compile">
    5958   
    60     <path id="boot.classpath">
    61       <fileset dir="${javac.bootclasspath}">
    62         <include name="lib/*.jar" />
    63       </fileset>
    64     </path>
    65    
    6659    <path id="compile.classpath">
    6760      <pathelement location="${jsp.src}/WEB-INF/classes" />
     
    8578      srcdir="${jsp.build}/java"
    8679      classpathref="compile.classpath"
    87       bootclasspathref="boot.classpath"
    8880      fork="true"
    8981      debug="true"
    9082      includeantruntime="false"
    91       source="${javac.source}"
    92       target="${javac.target}"
     83      release="${javac.release}"
    9384      encoding="${javac.encoding}"
    9485      >
Note: See TracChangeset for help on using the changeset viewer.