Changeset 35428 for main/trunk


Ignore:
Timestamp:
2021-09-20T10:29:37+12:00 (3 years ago)
Author:
kjdon
Message:

removed some apostrophes from comments to make syntax highlighting in emacs look better. Made the source and target 1.6 values a property, and added them to all javac commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r35422 r35428  
    801801  <property name="compile.encoding"    value="UTF8"/>
    802802  <property name="compile.includeantruntime" value="false"/> <!-- to get rid of annoying 'ant' warning -->
    803 
     803  <property name="compile.java.target.version" value="1.6"/> <!-- used in -source and -target options-->
    804804  <!--
    805805
     
    17861786      deprecation="${compile.deprecation}"
    17871787      optimize="${compile.optimize}"
    1788       encoding="${compile.encoding}">
     1788      encoding="${compile.encoding}"
     1789      source="${compile.java.target.version}"
     1790      target="${compile.java.target.version}">
    17891791      <classpath><path refid="compile.classpath"/></classpath>
    17901792    </javac>
     
    18391841      *********************************************************************
    18401842      A signed certificate is needed for your GS server to serve pages over https.
    1841       This target will attempt to obtain a certificate for you from the official and free Certificate Authority Let's Encrypt.
    1842       However, a certificate can only be obtained if you have admin/sudo permissions on this machine that you're installing Greenstone on.
     1843      This target will attempt to obtain a certificate for you from the official and free Certificate Authority Lets Encrypt.
     1844      However, a certificate can only be obtained if you have admin/sudo permissions on this machine that you are installing Greenstone on.
    18431845
    18441846      Note that:
    1845       * if you already have a certificate, then you probably don't want to be running this target but the 'ant renew-existing-https-cert' target instead, to renew your existing certificate.
     1847      * if you already have a certificate, then you probably do not want to be running this target but the 'ant renew-existing-https-cert' target instead, to renew your existing certificate.
    18461848      * if you run this target when you already have a generated certificate, the existing certificate will remain unchanged and the script will terminate with a message alerting you to this fact.
    18471849    </echo>
     
    18601862        - tomcat.port.https set to a valid port number not yet in use
    18611863        - keystore.pass set to a password for the certification process
    1862     * read the Let's Encrypt Subscriber Agreement at https://letsencrypt.org/repository/
     1864    * read the Lets Encrypt Subscriber Agreement at https://letsencrypt.org/repository/
    18631865      If any of the above is not possible, quit this target. Continue [y/n]?
    18641866    </input>
     
    31833185      deprecation="${compile.deprecation}"
    31843186      optimize="${compile.optimize}"
    3185       encoding="${compile.encoding}">
     3187      encoding="${compile.encoding}"
     3188      source="${compile.java.target.version}"
     3189      target="${compile.java.target.version}">
    31863190      <classpath refid="compile.classpath"/>
    31873191      <include name="org/greenstone/gsdl3/${axis.servicesname}${axis.sitename}.java" />
     
    32303234           optimize="${compile.optimize}"
    32313235           encoding="${compile.encoding}"
    3232                source="1.6"
    3233                target="1.6">
    3234                
     3236               source="${compile.java.target.version}"
     3237               target="${compile.java.target.version}">
     3238         
    32353239      <classpath>
    32363240            <path refid="compile.classpath"/>
     
    32453249         deprecation="${compile.deprecation}"
    32463250         optimize="${compile.optimize}"
    3247          encoding="${compile.encoding}">
     3251         encoding="${compile.encoding}"
     3252                 source="${compile.java.target.version}"
     3253                 target="${compile.java.target.version}">
    32483254        <classpath>
    32493255              <path refid="compile.classpath"/>
     
    45604566                    deprecation="${compile.deprecation}"
    45614567                    optimize="${compile.optimize}"
    4562                     encoding="${compile.encoding}">
     4568                    encoding="${compile.encoding}"
     4569                                        source="${compile.java.target.version}"
     4570                                        target="${compile.java.target.version}">
     4571
    45634572                    <classpath>
    45644573                        <fileset dir="${basedir}/ext/testing/lib/java">
Note: See TracChangeset for help on using the changeset viewer.