ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: [DISC] procedural versus purely declarative
Date Tue, 27 Mar 2001 12:47:27 GMT

Considering all the replies to this discussion, may I ask how you would
suggest to do a flow control ?

For example, to do something like (syntax is pure supposition here, you will
recognize an xsl like):

	<taska failonerror"no"/>
	<ant:if test="taska/@error">
		<taskb ../>
	</ant:if>
	<ant:if test="not(taska/@error)">
		<taskc ../>
	</ant:if>

-- 
 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - http://www.imediation.com 
 Disclaimer: All the opinions expressed above are mine and not those from my
company. 



> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Monday, March 26, 2001 10:00 AM
> To: ant-dev@jakarta.apache.org
> Subject: [DISC] procedural versus purely declarative
> 
> 
> * Simple flow control (if-then-else, for)
> 
> * targets should be like methods including a return value
> 
> * build files should be purely declarative
> 

Mime
View raw message