ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15561] - event "build finished" not received in a <antcall>
Date Fri, 20 Dec 2002 11:23:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15561

event "build finished" not received in a <antcall>





------- Additional Comments From christian.nerriere@akazi.com  2002-12-20 11:23 -------
The following script shows the problem :

<project name="insmigrate" default="main" basedir=".">

     <taskdef name="finally" classname="mytasks.Finally" />

  <!-- ************************ -->

  <target name="main">
  
    <antcall target="subtarget"/>

  </target>
  
  <!-- ************************ -->
             
    <target name="subtarget">

    <finally BuildSuccessProperty="build.success">
      <echo>finally</echo>
    </finally>
    
      <echo>sub target</echo>
    </target>
        
</project>

If you move the <finally> task code before or after the <antcall>, it works 
good ?
Have you any idea to bypass this behaviour ?
Thanks.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message