Ignore:
Timestamp:
2008-08-08T13:07:16+12:00 (16 years ago)
Author:
oranfry
Message:

getting rid of unneeded if wrappers to each target as hacked ant now takes care of that, and replacing calls to custom task addressed calls to builtin antcall, which has been hacked in ant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/lirk3/ant-scripts/build.xml

    r16243 r16684  
    11<?xml version="1.0" encoding="utf-8" ?>
    2 
    32<!--
    43        ..........................................................
     
    1716    <property name="bundled.version.ant" value="1.6.5"/>
    1817
    19     <!-- set current month and year-->
    20     <exec executable="date" outputproperty="current.month"><arg value="+%b"/></exec>
    21     <exec executable="date" outputproperty="current.year"><arg value="+%Y"/></exec>
    22 
    2318    <!-- for the benefit of the shared scripts, set release-kit home -->
    2419    <property name="rk.home" value="${lirk3.home}" />
     20    <property name="rk.os" value="linux" />
    2521
    2622
    2723    <!-- IMPORT OTHER ANT SCRIPTS -->
    2824    <import file="shared-ant-scripts/init.xml"/>
     25    <import file="shared-ant-scripts/rk3-targets.xml"/>
    2926    <import file="compile.xml"/>
    3027    <import file="create-distribution.xml"/>
     
    3431    <!-- THE MAIN TARGET -->
    3532    <target name="lirk3" depends="init">
    36         <addressedcall target="compile"/>
    37         <addressedcall target="create-distribution"/>
    38         <addressedcall target="create-installer"/>
    39         <addressedcall target="wrap"/>
     33        <antcall target="compile"/>
     34        <antcall target="create-distribution"/>
     35        <antcall target="create-installer"/>
     36        <antcall target="wrap"/>
    4037    </target>
    4138
     39    <target name="a">
     40        <echo>some code in a</echo>
     41        <antcall target="a-a"/>
     42        <echo>some code in a</echo>
     43    </target>
     44    <target name="a-a">
     45        <echo>some code in a-a</echo>
     46    </target>
     47    <target name="b">
     48        <echo>some code in b</echo>
     49    </target>
     50    <target name="c">
     51        <echo>some code in c</echo>
     52    </target>
     53
     54
    4255</project>
Note: See TracChangeset for help on using the changeset viewer.