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: Antelope 2.55 <if> and ANT 1.6alpha
Date Mon, 07 Jul 2003 15:33:00 GMT
The antelope if task does not work with ant 1.6alpha.

The reason is that the unknownelement class has changed
and the resolution of unknownelement to task is deferred.

The code IfTask#addTask(Task task) checks the task type,
to see if it is "else" or "bool".
in 1.6 the task type is always UnknownElement in this method.

As a side note:
IfTask#init() defines "else", "bool" and "break" as
tasks. This code will work with the proposed NS implementation
but the tasks will be placed in the default namespace.

Peter

On Mon, 2003-07-07 at 11:58, Tim Gordon wrote:
> Hi guys
> 
> Could somebody independently verify a couple of potential bugs?
> 
> - Antelope If is behaving as if the <bool> subelement is never set.
> - Antelope If executes <else> statements when the condition evaluates to
> true when using the <if name="..." value="..."> version of the tasks.
> 
> Tim Gordon
> 
> Allustra Limited
> 1 Royal Exchange Avenue
> London
> EC3V 3LT
> Tel 020 7464 4190
> Tel 020 7464 4194
> http://www.allustra.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