ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Using anteater in ant
Date Tue, 13 Apr 2010 07:19:41 GMT
> in match,which i could use later with <if> condition. The 
> anteater manual page (test tasks) decribes the same,

I havent found that on http://aft.sourceforge.net/ could you post the
url?



> <httprequest>
>  <match>
>   <regexp assign ="var">${var1}</regexp>
> </match>
> <if>
> <isset property="var"/>
> <then>
> <do somethin>
> </then>
> </if>
> </httprequest>
> 
> The same code example as been given in the manuals too. 
> however, when ran it
> gave the below error.
> "The <httpRequest> task doesn't support the nested "if" element."
>  
> Any help please?


Maybe the if/then/else should be outside of <httprequest> and done
external tasks?

<aft:httprequest>
    <aft:match>
        <aft:regexp assign="var"....
</aft:httprequest>
<antcontrib:if>
    <isset property="var"/>
    <antcontrib:then> ....
</antcontrib:if>


Jan


> 
> Regards,
> Pooja
> 
> 
> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Using-anteater-in-ant-tp28215650p28215650.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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