ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grimm, Markus" <Gr...@juris.de>
Subject AW: AW: ant 1.7.1 bug in <record> with antcall !?
Date Fri, 12 Jun 2009 07:26:32 GMT
Hi Gilbert,

I think this could be the appropriate issue in the bug database:
https://issues.apache.org/bugzilla/show_bug.cgi?id=41368

So it doesn't seem to be fixed in the current ant release ?!
But there's a patch to fix the problem, too ...

Thanks,
Markus
  

-----Urspr√ľngliche Nachricht-----
Von: Gilbert Rebhan [mailto:ant@schillbaer.de] 
Gesendet: Mittwoch, 10. Juni 2009 22:07
An: Ant Users List
Betreff: Re: AW: ant 1.7.1 bug in <record> with antcall !?


Hi Markus,


Grimm, Markus schrieb:
> Hi Gilbert,
> 
> at that time I found a workaround for my problem at
> http://marc.info/?l=ant-user&m=123900769210029&w=2
> 
> If we look at the same sample script, so you have to open the log-file in the first target,
that is
> executed and close it in the last target:
[...]
> 
> Now it works!
> Hope that helps...

thanks for your response, the workmate changed his scripts like that :

before with ant 1.6.5 =
<record .... action=start append=true"/>
<antcall>
<copy> of the log to ../logs/someotherfilename.log
<antcall>
<copy> of the log to ../logs/someotherfilename.log
... etc.

so he never called <record action="stop"/> to have the output from
<copy> also into the logfile

now after the problems when upgrading to ant 1.7.1, he tried :
<record .... action=start append=true">
<antcall>
<record ... action=stop append=true/>
<copy> of the log to ../logs/someotherfilename.log
<antcall>
<record ... action=stop append=true/>
<copy> of the log to ../logs/someotherfilename.log
... etc.

and now it works for him, but only if he uses <record action=stop
with append=true> , means <record action=stop> doesn't work and gives
an empty logilfe.


Regards, Gilbert

---------------------------------------------------------------------
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