ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: Ant 1.6 and -keep-going
Date Mon, 12 Jan 2004 19:12:14 GMT
Snap....
Fix is now in cvs, should be ready for ant 1.6.1..
Peter

Matt Benson wrote:

>And that time my stupid browser got me.  ha.  Anyway,
>I'm looking at this bug by means of apology for my
>premature post.  If I don't see a bug report before I
>get it fixed I'll file it.
>
>-Matt
>
>--- Matt Benson <gudnabrsam@yahoo.com> wrote:
>  
>
>>Doh, the line wrapping got me on the original post. 
>>:(
>>
>>Didn't see the explicitly called tasks; sorry.
>>
>>-Matt
>>
>>--- Matt Benson <gudnabrsam@yahoo.com> wrote:
>>    
>>
>>>Change thus:
>>>
>>>      
>>>
>>>><project default="echos">
>>>>        <target name="fails">
>>>>                <jar jarfile="jar16.jar"
>>>>basedir="doesNotExist"/>
>>>>        </target>
>>>>        <target name="echos" depends="fails">
>>>>                <echo>Still echo on
>>>>        
>>>>
>>failure</echo>
>>    
>>
>>>>        </target>
>>>></project>
>>>>
>>>>
>>>>As stated, the basedir for the jar task does not
>>>>exist.
>>>>The output from the commandline:
>>>>
>>>>
>>>>
>>>>C:\apache-ant-1.6.0\bin>ant -buildfile
>>>>failingTarget.xml -keep-going fails 
>>>>echos
>>>>Buildfile: failingTarget.xml
>>>>
>>>>fails:
>>>>Target 'fails' failed with message
>>>>'C:\apache-ant-1.6.0\bin\doesNotExist
>>>>not found.'.
>>>>
>>>>BUILD FAILED
>>>>
>>>>        
>>>>
>C:\apache-ant-1.6.0\bin\failingTarget.xml:3:C:\apache-ant-1.6.0\bin\doesNotExist
>  
>
>>>>not found.
>>>>Total time: 0 seconds
>>>>
>>>>
>>>>I would have expected that the echos target
>>>>        
>>>>
>>would
>>    
>>
>>>>have been still been 
>>>>executed as it does not depend on the fails
>>>>        
>>>>
>>>target?
>>>      
>>>
>>>>Thanks in advance
>>>>Darins
>>>>
>>>>        
>>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>Yahoo! Hotjobs: Enter the "Signing Bonus"
>>>Sweepstakes
>>>http://hotjobs.sweepstakes.yahoo.com/signingbonus
>>>
>>>
>>>      
>>>
>---------------------------------------------------------------------
>  
>
>>>To unsubscribe, e-mail:
>>>user-unsubscribe@ant.apache.org
>>>For additional commands, e-mail:
>>>user-help@ant.apache.org
>>>
>>>      
>>>
>>__________________________________
>>Do you Yahoo!?
>>Yahoo! Hotjobs: Enter the "Signing Bonus"
>>Sweepstakes
>>http://hotjobs.sweepstakes.yahoo.com/signingbonus
>>
>>
>>    
>>
>---------------------------------------------------------------------
>  
>
>>To unsubscribe, e-mail:
>>user-unsubscribe@ant.apache.org
>>For additional commands, e-mail:
>>user-help@ant.apache.org
>>
>>    
>>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
>http://hotjobs.sweepstakes.yahoo.com/signingbonus
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message