Changeset c679091


Ignore:
Timestamp:
Feb 21, 2014 1:59:27 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3102970
Parents:
91cdf85
Message:

target build property

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/build.xml

    r91cdf85 rc679091  
    88        <property name="war" value="addressbook.war"/>
    99        <property name="javac.compilerargs" value="" />
     10        <property name="javac.version" value="1.6" />
    1011       
    1112        <target name="init">
     
    3839
    3940        <target name="compile" depends="init, depend">
    40                 <javac debug="true" deprecation="on" source="1.6" target="1.6"
     41            <javac debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    4142                       includeAntRuntime="false"
    4243                       srcdir="${src}" destdir="${build}">
  • apps/desktopgui/build.xml

    r91cdf85 rc679091  
    88        <property name="resources" value="resources"/>
    99    <property name="javadoc" value="javadoc"/>
     10        <property name="javac.compilerargs" value=""/>
     11        <property name="javac.version" value="1.6" />
     12        <property name="require.gettext" value="true" />
    1013
    1114    <condition property="no.bundle">
    1215        <isfalse value="${require.gettext}" />
    1316    </condition>
    14         <property name="javac.compilerargs" value=""/>
    15         <property name="require.gettext" value="true" />
    1617
    1718        <target name="init">
     
    2829
    2930        <target name="compile" depends="init">
    30                 <javac debug="true" deprecation="on" source="1.6" target="1.6"
     31            <javac debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    3132                       includeAntRuntime="false"
    3233                       srcdir="${src}" destdir="${build}">
  • apps/i2psnark/java/build.xml

    r91cdf85 rc679091  
    2626    </target>
    2727
     28    <property name="javac.compilerargs" value="" />
     29    <property name="javac.version" value="1.6" />
     30    <property name="require.gettext" value="true" />
     31
    2832    <condition property="no.bundle">
    2933        <isfalse value="${require.gettext}" />
    3034    </condition>
    31     <property name="javac.compilerargs" value="" />
    32     <property name="require.gettext" value="true" />
    3335
    3436    <target name="compile" depends="depend">
     
    3739        <javac
    3840            srcdir="./src"
    39             debug="true" deprecation="on" source="1.6" target="1.6"
     41            debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    4042            destdir="./build/obj"
    4143            includeAntRuntime="false"
  • apps/i2ptunnel/java/build.xml

    r91cdf85 rc679091  
    2525        <isfalse value="${require.gettext}" />
    2626    </condition>
     27
    2728    <property name="javac.compilerargs" value="" />
     29    <property name="javac.version" value="1.6" />
    2830    <property name="require.gettext" value="true" />
    2931
     
    239241            <arg value="../jsp/" />
    240242        </java>
    241         <javac debug="true" deprecation="on" source="1.6" target="1.6"
     243        <javac debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    242244               includeAntRuntime="false"
    243245               destdir="../jsp/WEB-INF/classes/" srcdir="../jsp/WEB-INF/classes" includes="**/*.java">
  • apps/jetty/build.xml

    r91cdf85 rc679091  
    99    <property name="verified.filename" value="verified.txt" />
    1010    <property name="javac.compilerargs" value="" />
     11    <property name="javac.version" value="1.6" />
    1112    <property name="tomcat.lib" value="apache-tomcat-deployer/lib" />
    1213
     
    228229        <javac
    229230            srcdir="./java/src"
    230             debug="true" deprecation="on" source="1.6" target="1.6"
     231            debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    231232            destdir="./build/obj"
    232233            includeAntRuntime="false"
  • apps/routerconsole/java/build.xml

    r91cdf85 rc679091  
    4747        </dependset>
    4848    </target>
     49
    4950    <property name="javac.compilerargs" value="" />
     51    <property name="javac.version" value="1.6" />
     52
    5053    <target name="compile" depends="prepare, depend, dependVersion">
    5154        <mkdir dir="./build" />
     
    5356        <javac
    5457            srcdir="./src"
    55             debug="true" deprecation="on" source="1.6" target="1.6"
     58            debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    5659            includeAntRuntime="false"
    5760            destdir="./build/obj">
     
    343346        </java>
    344347       
    345         <javac debug="true" deprecation="on" source="1.6" target="1.6"
     348        <javac debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    346349               encoding="UTF-8"
    347350               includeAntRuntime="false"
  • apps/sam/java/build.xml

    r91cdf85 rc679091  
    2424
    2525    <property name="javac.compilerargs" value="" />
     26    <property name="javac.version" value="1.6" />
    2627
    2728    <!-- compile everything including client classes -->
     
    3132        <javac
    3233            srcdir="./src"
    33             debug="true" deprecation="on" source="1.6" target="1.6"
     34            debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    3435            includeAntRuntime="false"
    3536            destdir="./build/obj"
     
    4243        <javac
    4344            srcdir="./test"
    44             debug="true" deprecation="on" source="1.6" target="1.6"
     45            debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    4546            includeAntRuntime="false"
    4647            destdir="./build/obj"
  • apps/susidns/src/build.xml

    r91cdf85 rc679091  
    2222        <pathelement location="../../../core/java/build/i2p.jar" />
    2323        </path>
     24
    2425        <property name="javac.compilerargs" value="" />
     26        <property name="javac.version" value="1.6" />
     27        <property name="require.gettext" value="true" />
     28
    2529    <condition property="no.bundle">
    2630        <isfalse value="${require.gettext}" />
    2731    </condition>
    28         <property name="require.gettext" value="true" />
    2932
    3033        <target name="compile">
    3134                <mkdir dir="${bin}" />
    32                 <javac debug="true" deprecation="on" source="1.6" target="1.6"
     35                <javac debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    3336                        includeAntRuntime="false"
    3437                        classpathref="cp" destdir="${bin}" srcdir="${src}" includes="**/*.java" >
     
    5356            <arg value="./jsp" />
    5457        </java>
    55         <javac debug="true" deprecation="on" source="1.6" target="1.6"
     58        <javac debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    5659               includeAntRuntime="false"
    5760               destdir="${bin}" srcdir="${tmp}" includes="**/*.java" classpathref="cp">
  • apps/susimail/build.xml

    r91cdf85 rc679091  
    88
    99    <property name="javac.compilerargs" value="" />
     10    <property name="javac.version" value="1.6" />
     11    <property name="require.gettext" value="true" />
     12
    1013    <condition property="no.bundle">
    1114        <isfalse value="${require.gettext}" />
    1215    </condition>
    13 
    14     <property name="require.gettext" value="true" />
    1516
    1617    <target name="compile">
     
    1819        <javac
    1920            srcdir="./src/src"
    20             debug="true" deprecation="off" source="1.6" target="1.6"
     21            debug="true" deprecation="on" source="${javac.version}" target="${javac.version}"
    2122            includeAntRuntime="false"
    2223            destdir="./src/WEB-INF/classes">
  • apps/systray/java/build.xml

    r91cdf85 rc679091  
    66        <!-- run from top level build.xml to get dependencies built -->
    77    </target>
     8
    89    <property name="javac.compilerargs" value="" />
     10    <property name="javac.version" value="1.6" />
     11
    912    <target name="compile">
    1013        <mkdir dir="./build" />
     
    1417            debug="true"
    1518            deprecation="on"
    16             source="1.6"
    17             target="1.6"
     19            source="${javac.version}"
     20            target="${javac.version}"
    1821            destdir="./build/obj"
    1922            includeAntRuntime="false"
  • build.properties

    r91cdf85 rc679091  
    3737require.gettext=true
    3838
     39# Compile for this version of Java
     40javac.version=1.6
     41
    3942# Additional classpath if required
    4043#javac.classpath=/PATH/TO/pack200.jar
Note: See TracChangeset for help on using the changeset viewer.