ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jowie <joe.n...@mac.com>
Subject RE: RegExp help needed!
Date Mon, 07 Dec 2009 15:03:00 GMT

ARRRRGH!!

I am posting another line here... I have done *exactly* what you say - that
line gap is a weird mistake! But I get back a load of repeating echoes ... 

Cheers



Jowie wrote:
> 
> Hi Gilbert,
> 
> Sorry my copied code was completely wrong! Have no idea why! It should
> have been:
> 
> 		<xmltask source="${local.path}GetAllQuestions.xml">
> 			<call path="//*">
> 				
> 				<actions>
> 					<echo>img = @{img}</echo>
> 				</actions>
> 			</call>
> 		</xmltask>
> 
> And I get back:
> 
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
>      [echo] img = /brain_games_main/Image.ashx?ID=647
> 
> etc... Rather than different attribute each time
> 

-- 
View this message in context: http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678458.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


Mime
View raw message