Ignore:
Timestamp:
07/31/08 15:21:01 (12 years ago)
Author:
oranfry
Message:

dont check resume mode as there is no such thing anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/ant-scripts/init.xml

    r16452 r16623  
    138138        <echo level="info"/>
    139139
    140 
    141         <!-- check resume mode-->
    142         <echo level="info">Determining resume mode...</echo>
     140        <!-- check descend down -->
     141        <echo level="info">Checking if we are descending a given target...</echo>
    143142        <if>
    144             <bool>
    145                 <not><isset property="resume.mode"/></not>
    146             </bool>
    147             <echo level="info">Mode not set, just fall through</echo>
     143            <bool><not><isset property="resume.descend"/></not></bool>
     144            <echo level="info">No, execute the whole tree</echo>
    148145            <else>
    149                 <echo level="info">Mode set to ${resume.mode}</echo>
    150                 <if>
    151                     <bool>
    152                         <not><equals arg1="${resume.mode}" arg2="descend"/></not>
    153                     </bool>
    154                     <echo level="error">You have not specified a valid resume mode.</echo>
    155                     <echo level="error">Valid modes are 'descend' and null.</echo>
    156                     <fail>You have not specified a valid resume mode.</fail>
    157                 </if>
     146                <echo level="info">Yes, descending down ${resume.descend}</echo>
    158147            </else>
    159148        </if>
    160149        <echo level="info"/>
    161150
    162         <!-- execute target code or just traverse tree -->
     151        <!-- execute target code or just show the tree -->
    163152        <echo level="info">Determining execute mode...</echo>
    164153        <if>
Note: See TracChangeset for help on using the changeset viewer.