Changeset 35695


Ignore:
Timestamp:
2021-10-24T16:59:13+13:00 (6 weeks ago)
Author:
davidb
Message:

Changes to fit in with Release Kit settting JAVACFLAGS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/build.xml

    r35694 r35695  
    22<project name="gs3-solr-ext" default="usage" basedir=".">
    33
     4  <property environment="env"/>
     5 
    46  <!-- DIRECTORY LOCATIONS -->
    57  <!-- local ext paths -->
     
    3638  <property name="tomcat.lib.dir" value="${tomcat.dir}/lib"/>
    3739  <property name="tomcat.context.dir" value="${tomcat.dir}/conf/Catalina/localhost"/>
    38    
     40
     41  <condition property="compile.javac.flags" value="${env.JAVACFLAGS}" else="-source 1.6 -target 1.6">
     42    <isset property="env.JAVACFLAGS"/>
     43  </condition>
    3944       
    4045  <path id="compile.classpath">
     
    142147    <mkdir dir="${build.home}"/>
    143148    <javac srcdir="${src.home}" destdir="${build.home}" debug="true"
    144        includeantruntime="false"
    145            source="1.6" target="1.6">
     149       includeantruntime="false">
     150      <compilerarg line="${compile.javac.flags}"/>
    146151      <classpath>
    147152    <path refid="compile.classpath"/>
Note: See TracChangeset for help on using the changeset viewer.