Changeset c7bb2e8


Ignore:
Timestamp:
Nov 14, 2008 2:48:08 PM (13 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
afa17a8
Parents:
b4d29980
Message:
  • build files:
    • Don't die if depend not available
    • Only verify Jetty hash once
    • Add streaming lib tests to depends task
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/build.xml

    rb4d29980 rc7bb2e8  
    2020        <target name="distclean" depends="clean" />
    2121
    22         <target name="depend">
     22        <condition property="depend.available">
     23            <typefound name="depend" />
     24        </condition>
     25        <target name="depend" if="depend.available">
    2326            <depend
    2427                cache="../../build"
  • apps/i2psnark/java/build.xml

    rb4d29980 rc7bb2e8  
    88        <!-- streaming will build ministreaming and core -->
    99    </target>
    10     <target name="depend">
     10    <condition property="depend.available">
     11        <typefound name="depend" />
     12    </condition>
     13    <target name="depend" if="depend.available">
    1114        <depend
    1215            cache="../../../build"
  • apps/i2ptunnel/java/build.xml

    rb4d29980 rc7bb2e8  
    88        <!-- ministreaming will build core -->
    99    </target>
    10     <target name="depend">
     10    <condition property="depend.available">
     11        <typefound name="depend" />
     12    </condition>
     13    <target name="depend" if="depend.available">
    1114        <depend
    1215            cache="../../../build"
  • apps/jetty/build.xml

    rb4d29980 rc7bb2e8  
    66    <property name="jetty.url" value="http://dist.codehaus.org/jetty/jetty-5.1.x/jetty-5.1.12.zip" />
    77    <property name="jetty.filename" value="jetty-5.1.12.zip" />
     8    <property name="verified.filename" value="verified.txt" />
    89
    910    <target name="all" depends="build" />
     
    4243    </target>
    4344
    44     <target name="verifyJettylib" >
     45    <uptodate property="verified.already" srcfile="${jetty.filename}" targetfile="${verified.filename}" />
     46
     47    <target name="verifyJettylib" unless="verified.already" >
    4548        <condition property="jetty.zip.verified" >
    4649            <and>
     
    5659            </condition>
    5760        </fail>
     61        <touch file="${verified.filename}" />
    5862    </target>
    5963
     
    98102    <target name="clean" >
    99103        <delete dir="./build" />
     104        <delete file="${verified.filename}" />
    100105    </target>   
    101106    <target name="cleandep" depends="clean" />
  • apps/ministreaming/java/build.xml

    rb4d29980 rc7bb2e8  
    66        <ant dir="../../../core/java/" target="build" />
    77    </target>
    8     <target name="depend">
     8    <condition property="depend.available">
     9        <typefound name="depend" />
     10    </condition>
     11    <target name="depend" if="depend.available">
    912        <depend
    1013            cache="../../../build"
  • apps/routerconsole/java/build.xml

    rb4d29980 rc7bb2e8  
    1111        <ant dir="../../jetty/" target="build" />
    1212    </target>
    13     <target name="depend">
     13    <condition property="depend.available">
     14        <typefound name="depend" />
     15    </condition>
     16    <target name="depend" if="depend.available">
    1417        <depend
    1518            cache="../../../build"
     
    2831            </classpath>
    2932        </depend>
     33    </target>
     34    <target name="dependVersion">
    3035        <!-- Force the dependency on the RouterVersion as depend doesn't recognize constant changes  -->
    3136        <dependset>
     
    3641        </dependset>
    3742    </target>
    38     <target name="compile" depends="prepare, depend">
     43    <target name="compile" depends="prepare, depend, dependVersion">
    3944        <mkdir dir="./build" />
    4045        <mkdir dir="./build/obj" />
  • apps/sam/java/build.xml

    rb4d29980 rc7bb2e8  
    77        <!-- ministreaming will build core -->
    88    </target>
    9     <target name="depend">
     9    <condition property="depend.available">
     10        <typefound name="depend" />
     11    </condition>
     12    <target name="depend" if="depend.available">
    1013        <depend
    1114            cache="../../../build"
  • apps/streaming/java/build.xml

    rb4d29980 rc7bb2e8  
    77        <!-- ministreaming will build core -->
    88    </target>
    9     <target name="depend">
     9    <condition property="depend.available">
     10        <typefound name="depend" />
     11    </condition>
     12    <target name="depend" if="depend.available">
    1013        <depend
    1114            cache="../../../build"
    12             srcdir="./src"
     15            srcdir="./src:./test"
    1316            destdir="./build/obj" >
    1417            <!-- Depend on classes instead of jars where available -->
  • core/java/build.xml

    rb4d29980 rc7bb2e8  
    66        <!-- noop, since the core doesnt depend on anything -->
    77    </target>
    8     <target name="depend">
     8    <condition property="depend.available">
     9        <typefound name="depend" />
     10    </condition>
     11    <target name="depend" if="depend.available">
    912        <depend
    1013            cache="../../build"
  • router/java/build.xml

    rb4d29980 rc7bb2e8  
    99        <ant dir="../../core/java/" target="jarTest" />
    1010    </target>
    11     <target name="depend">
     11    <condition property="depend.available">
     12        <typefound name="depend" />
     13    </condition>
     14    <target name="depend" if="depend.available">
    1215        <depend
    1316            cache="../../build"
Note: See TracChangeset for help on using the changeset viewer.