<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-106</id>
	<title>Nabble - Ant</title>
	<updated>2009-12-07T07:49:15Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Ant-f106.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ant-f106.html" />
	<subtitle type="html">Apache Ant is a Java-based build tool. In theory, it is kind of like Make, but without Make's wrinkles. Ant home is &lt;a href=http://ant.apache.org target=&quot;_top&quot; rel=&quot;nofollow&quot; /&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26679209</id>
	<title>Does Anybody Have Some Unfinished Work for 1.8.0?</title>
	<published>2009-12-07T07:49:15Z</published>
	<updated>2009-12-07T07:49:15Z</updated>
	<author>
		<name>Stefan Bodewig</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;is anybody working on something that should go into 1.8.0 or could we
&lt;br&gt;start thinking about doing that release thingy more or less right now?
&lt;br&gt;&lt;br&gt;Stefan
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679209&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679209&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Dev-f108.html&quot; embed=&quot;fixTarget[108]&quot; target=&quot;_top&quot; &gt;Ant - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-Anybody-Have-Some-Unfinished-Work-for-1.8.0--tp26679209p26679209.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26679175</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T07:48:22Z</published>
	<updated>2009-12-07T07:48:22Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">I think the problem that I have is that the @Media property isn't always set. In which case it fails when it tries to look at a node with no Media property.
&lt;br&gt;&lt;br&gt;Can anyone think of a workaround? :-/
&lt;br&gt;&lt;br&gt;Thanks!&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26679175.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26679151</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T07:45:53Z</published>
	<updated>2009-12-07T07:45:53Z</updated>
	<author>
		<name>Rebhan, Gilbert</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Jowie [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679151&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe.nash@...&lt;/a&gt;] 
&lt;br&gt;Sent: Monday, December 07, 2009 4:06 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679151&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: RE: RegExp help needed!
&lt;br&gt;&lt;br&gt;/*
&lt;br&gt;Hi Gilbert,
&lt;br&gt;&lt;br&gt;What I am trying to say is... I have done exactly how you say, despite what
&lt;br&gt;my last message says (some weird URL encoding is deleting one of my lines!)
&lt;br&gt;and it returns a list of repeating
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&lt;br&gt;rather than different IDs each time...
&lt;br&gt;&lt;br&gt;Sorry for the confusion!
&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;i'm sorry too, the xpath expression was wrong, so here we go
&lt;br&gt;&lt;br&gt;your input =
&lt;br&gt;&lt;br&gt;&amp;lt;Question ID=&amp;quot;531&amp;quot; Subject=&amp;quot;L&amp;quot; Category=&amp;quot;Punc&amp;quot; Presentation=&amp;quot;PT01&amp;quot;
&lt;br&gt;&amp;nbsp; Engine=&amp;quot;MC01&amp;quot; Body=&amp;quot;test&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=12&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;TipID /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;Answers&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1457&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;1&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Media=&amp;quot;/bgmain/Image.ashx?ID=112&amp;quot;&amp;gt;txt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1458&amp;quot; Valid=&amp;quot;true&amp;quot; Position=&amp;quot;2&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Media=&amp;quot;/bgmain/Image.ashx?ID=113&amp;quot;&amp;gt;txt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1459&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;3&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Media=&amp;quot;/bgmain/Image.ashx?ID=114&amp;quot;&amp;gt;txt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1460&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;4&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Media=&amp;quot;/bgmain/Image.ashx?ID=115&amp;quot;&amp;gt;txt
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/Answers&amp;gt;
&lt;br&gt;&amp;lt;/Question&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;and =
&lt;br&gt;&lt;br&gt;&amp;lt;xmltask source=&amp;quot;xpathtest.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;lt;call path=&amp;quot;//*[@Media]&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;img&amp;quot; path=&amp;quot;@Media&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo&amp;gt;img = @{img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/actions&amp;gt;
&lt;br&gt;&amp;lt;/call&amp;gt;
&lt;br&gt;&amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;gives =
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /bgmain/Image.ashx?ID=12
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /bgmain/Image.ashx?ID=112
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /bgmain/Image.ashx?ID=113
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /bgmain/Image.ashx?ID=114
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /bgmain/Image.ashx?ID=115
&lt;br&gt;&lt;br&gt;&lt;br&gt;if you need only the @Media attributes under from Answer
&lt;br&gt;nodes, use the expresssion &amp;nbsp;=
&lt;br&gt;&amp;lt;call path=&amp;quot;//Answer[@Media]&amp;quot;&amp;gt;
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;gives =
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /bgmain/Image.ashx?ID=112
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /bgmain/Image.ashx?ID=113
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /bgmain/Image.ashx?ID=114
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /bgmain/Image.ashx?ID=115
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Gilbert
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679151&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679151&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26679151.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26679067</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T07:41:24Z</published>
	<updated>2009-12-07T07:41:24Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">&lt;br&gt;Hopefully it will work this time... This is my code:
&lt;br&gt;&lt;br&gt;&amp;lt;![CDATA[
&lt;br&gt;&lt;br&gt;&amp;lt;target name=&amp;quot;downloadQuestionImages&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;call path=&amp;quot;//@Media&amp;quot; buffer=&amp;quot;media&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo&amp;gt;img = @{img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;]]&amp;gt;
&lt;br&gt;&lt;br&gt;and I get back:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&lt;br&gt;etc.... 
&lt;br&gt;&lt;br&gt;Sorry everyone for the repeat postings! I'm really starting to scratch my
&lt;br&gt;head sore on this one! :-/
&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/RegExp-help-needed%21-tp26676257p26679059.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/RegExp-help-needed%21-tp26676257p26679059.html&lt;/a&gt;&lt;br&gt;Sent from the Ant - Users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679067&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679067&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26679067.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26678594</id>
	<title>Re: A Groovy frontend of Ant in the sandbox ?</title>
	<published>2009-12-07T07:10:57Z</published>
	<updated>2009-12-07T07:10:57Z</updated>
	<author>
		<name>Nicolas Lalevée</name>
	</author>
	<content type="html">On Monday 07 December 2009 06:09:28 Stefan Bodewig wrote:
&lt;br&gt;&amp;gt; On 2009-12-04, Nicolas Lalevée &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678594&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nicolas.lalevee@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; I have put a snapshot there:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://people.apache.org/~hibou/groovyfront-donation/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://people.apache.org/~hibou/groovyfront-donation/&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; Maybe an entry in the bugzilla will better fit ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It would create an even longer paper trail, which may be a good thing,
&lt;br&gt;&amp;gt; so yes, add it to bugzilla.
&lt;br&gt;&lt;br&gt;ok, I'll do it.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Note that the build won't work as it is relying on other resources which
&lt;br&gt;&amp;gt; &amp;gt; are in the original svn, resources which have nothing to do with that
&lt;br&gt;&amp;gt; &amp;gt; groovy frontend. I was a quick and experimental build. I'll make a proper
&lt;br&gt;&amp;gt; &amp;gt; and standalone build after the import.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No problem here. &amp;nbsp;I don't think building or even working code is a
&lt;br&gt;&amp;gt; requirement for a grant.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Note also that I didn't changed the package name, module id in the
&lt;br&gt;&amp;gt; &amp;gt; ivy.xml, etc... They are still some org.hibnet.gant. I'll change that too
&lt;br&gt;&amp;gt; &amp;gt; after the import to be org.apache.ant.groovyfront so there won't be any
&lt;br&gt;&amp;gt; &amp;gt; name conflict with the actual gant [1].
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any reason why you couldn't do it right away?
&lt;/div&gt;&lt;br&gt;laziness ? :)
&lt;br&gt;I'll do it for the jar I'll upload into Bugzilla
&lt;br&gt;&lt;br&gt;Nicolas
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; I will fill a Software Grant.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have something ready to be posted. It would grant the software
&lt;br&gt;&amp;gt; &amp;gt; called &amp;quot;Groovy Front&amp;quot; if it is ok.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sounds good.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Stefan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678594&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678594&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678594&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678594&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Dev-f108.html&quot; embed=&quot;fixTarget[108]&quot; target=&quot;_top&quot; &gt;Ant - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/A-Groovy-frontend-of-Ant-in-the-sandbox---tp26502567p26678594.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26678500</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T07:05:48Z</published>
	<updated>2009-12-07T07:05:48Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Hi Gilbert,
&lt;br&gt;&lt;br&gt;What I am trying to say is... I have done exactly how you say, despite what my last message says (some weird URL encoding is deleting one of my lines!) and it returns a list of repeating
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&lt;br&gt;rather than different IDs each time...
&lt;br&gt;&lt;br&gt;Sorry for the confusion!&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678500.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26678458</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T07:03:00Z</published>
	<updated>2009-12-07T07:03:00Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">ARRRRGH!!
&lt;br&gt;&lt;br&gt;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 ... 
&lt;br&gt;&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Jowie wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi Gilbert,
&lt;br&gt;&lt;br&gt;Sorry my copied code was completely wrong! Have no idea why! It should have been:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;call path=&amp;quot;//*&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;param name=&quot;img&quot; path=&quot;//@Media&quot; /&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo&amp;gt;img = @{img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;And I get back:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&lt;br&gt;etc... Rather than different attribute each time
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678458.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26678438</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T07:01:26Z</published>
	<updated>2009-12-07T07:01:26Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">&lt;br&gt;Hi Gilbert,
&lt;br&gt;&lt;br&gt;Sorry my copied code was completely wrong! Have no idea why! It should have
&lt;br&gt;been:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;call path=&amp;quot;//*&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo&amp;gt;img = @{img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;And I get back:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&lt;br&gt;etc... Rather than different attribute each time
&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678408.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678408.html&lt;/a&gt;&lt;br&gt;Sent from the Ant - Users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678438&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678438&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678438.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26678362</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T07:00:24Z</published>
	<updated>2009-12-07T07:00:24Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Hi Gilbert,
&lt;br&gt;&lt;br&gt;Sorry my copied code was completely wrong! Have no idea why! It should have been:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;call path=&amp;quot;//*&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;param name=&quot;img&quot; path=&quot;//@Media&quot; /&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo&amp;gt;img = @{img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;And I get back:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&lt;br&gt;etc... Rather than different attribute each time&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678362.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26678150</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T06:38:28Z</published>
	<updated>2009-12-07T06:38:28Z</updated>
	<author>
		<name>Rebhan, Gilbert</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Jowie [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678150&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe.nash@...&lt;/a&gt;] 
&lt;br&gt;Sent: Monday, December 07, 2009 3:28 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678150&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: RE: RegExp help needed!
&lt;br&gt;&lt;br&gt;/*
&lt;br&gt;[...]
&lt;br&gt;&lt;br&gt;&amp;nbsp;Games\Main\ant\update_offline.xml:77: required attribute
&lt;br&gt;img not set
&lt;br&gt;&lt;br&gt;But... If I do
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;call path=&amp;quot;//*&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- target=&amp;quot;getMedia&amp;quot; buffer=&amp;quot;abc&amp;quot;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo&amp;gt;img = @{img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;I get back:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&lt;br&gt;etc....
&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;&lt;br&gt;when using &amp;lt;actions&amp;gt; ... &amp;lt;/actions&amp;gt; instead
&lt;br&gt;of &amp;lt;all path=&amp;quot;...&amp;quot; target=&amp;quot;...&amp;quot;&amp;gt; &amp;nbsp;you have to write =
&lt;br&gt;&lt;br&gt;&amp;lt;xmltask source=&amp;quot;xpathtest.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;call path=&amp;quot;//*&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;param name=&amp;quot;img&amp;quot; path=&amp;quot;//@Media&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;echo&amp;gt;img = @{img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/call&amp;gt;
&lt;br&gt;&amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;to match all Media attributes.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Gilbert
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678150&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26678150&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678150.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26678002</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T06:28:09Z</published>
	<updated>2009-12-07T06:28:09Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Thanks Gilbert...
&lt;br&gt;&lt;br&gt;I have now got this...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;call path=&amp;quot;//*&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;param name=&quot;img&quot; path=&quot;@Media&quot; /&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo&amp;gt;img = @{img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;which returns:
&lt;br&gt;&lt;br&gt;BUILD FAILED
&lt;br&gt;C:\Work\LSIS\Brain Games\Main\ant\update_offline.xml:77: required attribute img not set
&lt;br&gt;&lt;br&gt;But... If I do
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;call path=&amp;quot;//*&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- target=&amp;quot;getMedia&amp;quot; buffer=&amp;quot;abc&amp;quot;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;param name=&quot;img&quot; path=&quot;//@Media&quot; /&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo&amp;gt;img = @{img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/actions&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;I get back:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] img = /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&lt;br&gt;etc....
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Rebhan, Gilbert wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;P.S. :
&lt;br&gt;&lt;br&gt;&amp;lt;call path=&amp;quot;/Question/Answers/*&amp;quot; target=&amp;quot;foo&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &lt;param name=&quot;img&quot; path=&quot;@Media&quot; /&gt;&lt;br&gt;&amp;lt;/call&amp;gt;
&lt;br&gt;&lt;br&gt;will hit all Media=... attributes und /Question/Answers,
&lt;br&gt;if you need all Media Attributes you need to use =
&lt;br&gt;&lt;br&gt;&amp;lt;call path=&amp;quot;//*&amp;quot; target=&amp;quot;foo&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &lt;param name=&quot;img&quot; path=&quot;@Media&quot; /&gt;&lt;br&gt;&amp;lt;/call&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards, Gilbert
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
&lt;br&gt;For additional commands, e-mail: user-help@ant.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26678002.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677929</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T06:21:46Z</published>
	<updated>2009-12-07T06:21:46Z</updated>
	<author>
		<name>Rebhan, Gilbert</name>
	</author>
	<content type="html">&lt;br&gt;P.S. :
&lt;br&gt;&lt;br&gt;&amp;lt;call path=&amp;quot;/Question/Answers/*&amp;quot; target=&amp;quot;foo&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;img&amp;quot; path=&amp;quot;@Media&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/call&amp;gt;
&lt;br&gt;&lt;br&gt;will hit all Media=... attributes und /Question/Answers,
&lt;br&gt;if you need all Media Attributes you need to use =
&lt;br&gt;&lt;br&gt;&amp;lt;call path=&amp;quot;//*&amp;quot; target=&amp;quot;foo&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;param name=&amp;quot;img&amp;quot; path=&amp;quot;@Media&amp;quot; /&amp;gt;
&lt;br&gt;&amp;lt;/call&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards, Gilbert
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677929&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677929&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677929.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677809</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T06:12:27Z</published>
	<updated>2009-12-07T06:12:27Z</updated>
	<author>
		<name>Rebhan, Gilbert</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Jowie [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677809&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe.nash@...&lt;/a&gt;] 
&lt;br&gt;Sent: Monday, December 07, 2009 1:40 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677809&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: RE: RegExp help needed!
&lt;br&gt;&lt;br&gt;/*
&lt;br&gt;&amp;nbsp; &amp;lt;Question ID=&amp;quot;531&amp;quot; Subject=&amp;quot;L&amp;quot; Category=&amp;quot;Punc&amp;quot; Presentation=&amp;quot;PT01&amp;quot;
&lt;br&gt;Engine=&amp;quot;MC01&amp;quot; Body=&amp;quot;test&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=12&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;TipID/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Answers&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1457&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;1&amp;quot;
&lt;br&gt;Media=&amp;quot;/bgmain/Image.ashx?ID=112&amp;quot;&amp;gt;txt&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1458&amp;quot; Valid=&amp;quot;true&amp;quot; Position=&amp;quot;2&amp;quot;
&lt;br&gt;Media=&amp;quot;/bgmain/Image.ashx?ID=113&amp;quot;&amp;gt;txt&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1459&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;3&amp;quot;
&lt;br&gt;Media=&amp;quot;/bgmain/Image.ashx?ID=114&amp;quot;&amp;gt;txt&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1460&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;4&amp;quot;
&lt;br&gt;Media=&amp;quot;/bgmain/Image.ashx?ID=115&amp;quot;&amp;gt;txt&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Answers&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/Question&amp;gt;
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;So from this, I need to:
&lt;br&gt;1. Find any Media attribute, nested or otherwise (e.g. in E4X,
&lt;br&gt;questionXML..@Media)
&lt;br&gt;2. Store each of these to download them
&lt;br&gt;3. Replace the values in the XML with local path equivalents, e.g.
&lt;br&gt;&amp;quot;images/image_@{imageID}.jpg&amp;quot;
&lt;br&gt;4. Go through stored list, download the images and put them in the right
&lt;br&gt;place (I know how to do that bit with copy url)
&lt;br&gt;&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;&lt;br&gt;a quick response to get you going =
&lt;br&gt;&lt;br&gt;&amp;lt;project name=&amp;quot;bla&amp;quot; default=&amp;quot;main&amp;quot; basedir=&amp;quot;.&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;!-- Import XMLTask --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;taskdef name=&amp;quot;xmltask&amp;quot; classname=&amp;quot;com.oopsconsultancy.xmltask.ant.XmlTask&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;target name=&amp;quot;depends&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;xpathtest.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;call path=&amp;quot;/Question/Answers/*&amp;quot; target=&amp;quot;foo&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param name=&amp;quot;img&amp;quot; path=&amp;quot;@Media&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;target name=&amp;quot;foo&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;!-- do something with img or write to a file like that, there may be
&lt;br&gt;another way with xmltask buffer too, never used it, see xmltask docs
&lt;br&gt;--&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;echo file=&amp;quot;foo.txt&amp;quot; append=&amp;quot;true&amp;quot;&amp;gt;${img}${line.separator}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;echo&amp;gt;Image = ${img}&amp;lt;/echo&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;target name=&amp;quot;xmlreplace&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;xpathtest.xml&amp;quot; dest=&amp;quot;xxxpathtest.xml&amp;quot; report=&amp;quot;true&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;regexp path=&amp;quot;/Question/Answers/*/@Media&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pattern=&amp;quot;(.+\.)(.+=)(\d+)&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; replace=&amp;quot;$1$3jpg&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/target&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;target name=&amp;quot;main&amp;quot; depends=&amp;quot;depends,xmlreplace&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;/project&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards, Gilbert
&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677809&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677809&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677809.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677773</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T06:10:15Z</published>
	<updated>2009-12-07T06:10:15Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Okay... So back to my original request (thanks for all the help so far! :))
&lt;br&gt;&lt;br&gt;Here's my code so far:
&lt;br&gt;&lt;br&gt;------------
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;target name=&amp;quot;downloadQuestionImages&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;call path=&amp;quot;//@Media&amp;quot; target=&amp;quot;getMedia&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;param name=&quot;mediaURL&quot; path=&quot;//@Media&quot; /&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/xmltask&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/target&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;target name=&amp;quot;getMedia&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo message=&amp;quot;${mediaURL}&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/target&amp;gt;
&lt;br&gt;-------------
&lt;br&gt;&lt;br&gt;This doesn't seem to iterate through though... I get:
&lt;br&gt;&lt;br&gt;getMedia:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[echo] /brain_games_main/Image.ashx?ID=647
&lt;br&gt;&amp;nbsp; [xmltask] Parent project doesn't contain any reference 'xmltask.buffers'
&lt;br&gt;&lt;br&gt;And just keeps looping.
&lt;br&gt;&lt;br&gt;Any thoughts? Thanks!
&lt;br&gt;&lt;br&gt;:-Joe&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677773.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677751</id>
	<title>Re: Recording tasks output while silencing stdout</title>
	<published>2009-12-07T06:07:15Z</published>
	<updated>2009-12-07T06:07:15Z</updated>
	<author>
		<name>Francis Galiegue-4</name>
	</author>
	<content type="html">On Mon, Dec 7, 2009 at 14:38, Antoine Levy Lambert &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677751&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;antoine@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hello Francis,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; you might want to write your own logger, and start ant specifying your
&lt;br&gt;&amp;gt; logger on the command line.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This way, you can handle output the way you want.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Somehow, I feared that this was the answer :p
&lt;br&gt;&lt;br&gt;Well, I may as well get up to it since the &amp;quot;kbuild way&amp;quot; is gaining
&lt;br&gt;steam within the C/C++ community, so why not Java ;)
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Francis Galiegue
&lt;br&gt;ONE2TEAM
&lt;br&gt;Ingénieur système
&lt;br&gt;Mob : +33 (0) 683 877 875
&lt;br&gt;Tel : +33 (0) 178 945 552
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677751&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fge@...&lt;/a&gt;
&lt;br&gt;40 avenue Raymond Poincaré
&lt;br&gt;75116 Paris
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677751&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677751&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Recording-tasks-output-while-silencing-stdout-tp26606347p26677751.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677679</id>
	<title>Re: Ant provides incorrect POM</title>
	<published>2009-12-07T06:01:58Z</published>
	<updated>2009-12-07T06:01:58Z</updated>
	<author>
		<name>antoinell</name>
	</author>
	<content type="html">Hello Sebastian,
&lt;br&gt;&lt;br&gt;if you select the &amp;quot;view source&amp;quot; option in your web browser, you will see 
&lt;br&gt;this :
&lt;br&gt;&lt;br&gt;&amp;lt;project xmlns=&amp;quot;&lt;a href=&quot;http://maven.apache.org/POM/4.0.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maven.apache.org/POM/4.0.0&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; xmlns:xsi=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;nbsp; xsi:schemaLocation=&amp;quot;&lt;a href=&quot;http://maven.apache.org/POM/4.0.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maven.apache.org/POM/4.0.0&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;a href=&quot;http://maven.apache.org/maven-v4_0_0.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maven.apache.org/maven-v4_0_0.xsd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;This is looking at 
&lt;br&gt;&lt;a href=&quot;http://repo2.maven.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.pom&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo2.maven.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.pom&lt;/a&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Antoine
&lt;br&gt;&lt;br&gt;Sebastian Hennebrueder wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; the pom.xml in Maven 
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://repo2.maven.org/maven2/org/apache/ant/ant/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://repo2.maven.org/maven2/org/apache/ant/ant/&lt;/a&gt;) doesn't look 
&lt;br&gt;&amp;gt; correct. Strict XML parser throw an exception on parsing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The start should look like
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;project xmlns=&amp;quot;&lt;a href=&quot;http://maven.apache.org/POM/4.0.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maven.apache.org/POM/4.0.0&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;xmlns:xsi=&amp;quot;&lt;a href=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp;xsi:schemaLocation=&amp;quot;&lt;a href=&quot;http://maven.apache.org/POM/4.0.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maven.apache.org/POM/4.0.0&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://maven.apache.org/xsd/maven-4.0.0.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maven.apache.org/xsd/maven-4.0.0.xsd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; but looks like
&lt;br&gt;&amp;gt; &amp;lt;project xsi:schemaLocation=&amp;quot;&lt;a href=&quot;http://maven.apache.org/POM/4.0.0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maven.apache.org/POM/4.0.0&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://maven.apache.org/maven-v4_0_0.xsd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maven.apache.org/maven-v4_0_0.xsd&lt;/a&gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Shall I create a bug entry?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677679&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677679&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Ant-provides-incorrect-POM-tp26606119p26677679.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677635</id>
	<title>Re: RegExp help needed!</title>
	<published>2009-12-07T05:59:21Z</published>
	<updated>2009-12-07T05:59:21Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Okay,
&lt;br&gt;&lt;br&gt;So I've sorted it, but it was a weird one!
&lt;br&gt;&lt;br&gt;One of the questions was badly formatted, and looked like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;lt;Question ID=&amp;quot;531&amp;quot; Subject=&amp;quot;L&amp;quot; Category=&amp;quot;Punc&amp;quot; Presentation=&amp;quot;PT01&amp;quot; Engine=&amp;quot;MC01&amp;quot; Body=&amp;quot;test&amp;quot; Instruction=&amp;quot;Select the correct answer&amp;quot; Level=&amp;quot;1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;TipID/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Answers&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1457&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;1&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=112&amp;quot;&amp;gt;[Media}&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1458&amp;quot; Valid=&amp;quot;true&amp;quot; Position=&amp;quot;2&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=113&amp;quot;&amp;gt;[Media}&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1459&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;3&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=114&amp;quot;&amp;gt;[Media}&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1460&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;4&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=115&amp;quot;&amp;gt;[Media}&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Answers&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/Question&amp;gt;
&lt;br&gt;&lt;br&gt;Notice the &amp;quot;[Media}&amp;quot;... Now the weird thing is that this caused an error on a large file, but not on a smaller one. I can correct the problem from my end, but I thought you might like to know! Is a &amp;quot;}&amp;quot; symbol not allowed in UTF-encoded XML files? It seems to work fine in a browser and like I said, also works fine in smaller files...
&lt;br&gt;&lt;br&gt;weird!&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677635.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677616</id>
	<title>Re: RegExp help needed!</title>
	<published>2009-12-07T05:57:09Z</published>
	<updated>2009-12-07T05:57:09Z</updated>
	<author>
		<name>antoinell</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;uhhm, in this case maybe the error you are encountering is a disguised 
&lt;br&gt;Out of Memory, or a bug with the XML parser.
&lt;br&gt;&lt;br&gt;you might want to try with different JDKs. I do not know whether the 
&lt;br&gt;xercesImpl.jar which ships with ant is actually used to parse XML files 
&lt;br&gt;in custom tasks or whether it would be some equivalent package from your 
&lt;br&gt;JDK. I wonder whether ant would run without the xercesImpl.jar. I guess 
&lt;br&gt;it is not needed with the recent JDKs.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Antoine
&lt;br&gt;&lt;br&gt;Jowie wrote:
&lt;br&gt;&amp;gt; Hi Antopine,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes the XML file loads fine in a browser. I am even declaring UTF-8 at the
&lt;br&gt;&amp;gt; top of the file. And when I split the file down the middle and test both
&lt;br&gt;&amp;gt; halves (keeping the header of course) it works fine too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677616&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677616&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677616.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677454</id>
	<title>Re: RegExp help needed!</title>
	<published>2009-12-07T05:46:01Z</published>
	<updated>2009-12-07T05:46:01Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;Just so you know, I created a file which was bigger than my original file as a test, and that worked fine... So I'm a bit confused as to how this XML file will not work when it is supposedly well formatted...
&lt;br&gt;&lt;br&gt;??&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677454.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677369</id>
	<title>Re: Recording tasks output while silencing stdout</title>
	<published>2009-12-07T05:38:26Z</published>
	<updated>2009-12-07T05:38:26Z</updated>
	<author>
		<name>antoinell</name>
	</author>
	<content type="html">Hello Francis,
&lt;br&gt;&lt;br&gt;you might want to write your own logger, and start ant specifying your 
&lt;br&gt;logger on the command line.
&lt;br&gt;&lt;br&gt;This way, you can handle output the way you want.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Antoine
&lt;br&gt;&lt;br&gt;Francis GALIEGUE wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello everyone,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a system which works OK, but now I want to go a step further
&lt;br&gt;&amp;gt; and record the output to log files but silence stdout. In fact, I want
&lt;br&gt;&amp;gt; to obtain something like the KBuild output which just outputs some
&lt;br&gt;&amp;gt; things like:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; CC somefile.o
&lt;br&gt;&amp;gt; CC someotherfile.o
&lt;br&gt;&amp;gt; LINK libsomething.o
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ant -emacs hides the [taskname], which is good. But I cannot obtain
&lt;br&gt;&amp;gt; the tasks themselves to go silent, which I don't want. I know how to
&lt;br&gt;&amp;gt; record the output using the &amp;lt;record&amp;gt; task. I know I could also use
&lt;br&gt;&amp;gt; &amp;lt;exec&amp;gt; and record the output, but I'd like to avoid that...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I can already silence &amp;lt;cvs&amp;gt; with reallyquiet=true, but I cannot
&lt;br&gt;&amp;gt; silence any other tasks. Here is an example of what I'd like to
&lt;br&gt;&amp;gt; silence:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;target name=&amp;quot;copy-sources&amp;quot; depends=&amp;quot;download&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;mkdir dir=&amp;quot;${flat.sources}&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;for list=&amp;quot;${modulelist}&amp;quot; param=&amp;quot;module&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;sequential&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;if&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;available file=&amp;quot;${cvsdir}/@{module}/src&amp;quot; type=&amp;quot;dir&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;then&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;copy todir=&amp;quot;${flat.sources}&amp;quot; includeemptydirs=&amp;quot;false&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fileset dir=&amp;quot;${cvsdir}/@{module}/src&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; includes=&amp;quot;**/*.java&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/copy&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/then&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/if&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/sequential&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/for&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;/target&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;record&amp;gt; won't help, since while it will record in a file, it will
&lt;br&gt;&amp;gt; also echo to stdout...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any hints?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677369&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677369&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Recording-tasks-output-while-silencing-stdout-tp26606347p26677369.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677322</id>
	<title>Re: RegExp help needed!</title>
	<published>2009-12-07T05:35:22Z</published>
	<updated>2009-12-07T05:35:22Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Hi Antopine,
&lt;br&gt;&lt;br&gt;Yes the XML file loads fine in a browser. I am even declaring UTF-8 at the top of the file. And when I split the file down the middle and test both halves (keeping the header of course) it works fine too.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;quote author=&quot;antoinell&quot;&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;the error below would not be an ant of xmltask error. The message
&lt;br&gt;&lt;br&gt;Invalid byte 3 of 3-byte UTF-8 sequence
&lt;br&gt;&lt;br&gt;&amp;nbsp;means that your XML file is not matching the UTF-8 convention. Does 
&lt;br&gt;your XML file specify UTF-8 in the XML declaration ?
&lt;br&gt;&lt;br&gt;Can you read your XML file using another tool than ant, for instance a 
&lt;br&gt;web browser, or the XML editor of Eclipse or another Java based 
&lt;br&gt;development environment ?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Antopine&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677322.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677294</id>
	<title>Re: RegExp help needed!</title>
	<published>2009-12-07T05:31:40Z</published>
	<updated>2009-12-07T05:31:40Z</updated>
	<author>
		<name>antoinell</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;the error below would not be an ant of xmltask error. The message
&lt;br&gt;&lt;br&gt;Invalid byte 3 of 3-byte UTF-8 sequence
&lt;br&gt;&lt;br&gt;&amp;nbsp;means that your XML file is not matching the UTF-8 convention. Does 
&lt;br&gt;your XML file specify UTF-8 in the XML declaration ?
&lt;br&gt;&lt;br&gt;Can you read your XML file using another tool than ant, for instance a 
&lt;br&gt;web browser, or the XML editor of Eclipse or another Java based 
&lt;br&gt;development environment ?
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Antopine
&lt;br&gt;&lt;br&gt;Jowie wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Doh... Looks like I have a problem using xmltask anyway unfortunately... The
&lt;br&gt;&amp;gt; GetAllQuestions.xml is too big for it to handle :-( it's nearly 1MB in size.
&lt;br&gt;&amp;gt; At least I'm pretty sure that's why, since if I run another piece of XML
&lt;br&gt;&amp;gt; which is a lot smaller it works fine. But in this case I get the error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask]
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
&lt;br&gt;&amp;gt; Invalid byte 3 of 3-byte UTF-8 sequence.
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask.documentFromStream(XmlTask.java:343)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask.documentFromFile(XmlTask.java:387)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask.access$000(XmlTask.java:27)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask$InputFile.getDocument(XmlTask.java:203)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:638)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at java.lang.reflect.Method.invoke(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at org.apache.tools.ant.Task.perform(Task.java:348)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at org.apache.tools.ant.Target.execute(Target.java:357)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.Project.executeTarget(Project.java:1306)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.Project.executeTargets(Project.java:1189)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
&lt;br&gt;&amp;gt; &amp;nbsp; [xmltask] 	at
&lt;br&gt;&amp;gt; org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; BUILD FAILED
&lt;br&gt;&amp;gt; C:\Work\LSIS\Brain Games\Main\ant\update_offline.xml:77: Invalid byte 3 of
&lt;br&gt;&amp;gt; 3-byte UTF-8 sequence.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bad times :(
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677294&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677294&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677294.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677287</id>
	<title>Re: RegExp help needed!</title>
	<published>2009-12-07T05:31:26Z</published>
	<updated>2009-12-07T05:31:26Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&amp;gt; That looks to me like your XML is not properly encoded. I 
&lt;br&gt;&amp;gt; suspect that if you use a command-line tool like xmlstarlet 
&lt;br&gt;&amp;gt; it'll confoirm that by giving you a very similar error. The 
&lt;br&gt;&amp;gt; below isn't size-related.
&lt;br&gt;&lt;br&gt;Thanks for the info. If you are right, this could still be a problem because
&lt;br&gt;the XML is being formed on a server and I don't really have control over
&lt;br&gt;that part of it!
&lt;br&gt;&lt;br&gt;I just tried splitting the file into two to test that theory... Both halves
&lt;br&gt;seem to work fine, but together they throw that error.
&lt;br&gt;&lt;br&gt;I also ran the XML file in Firefox to see what it thinks of the file, and it
&lt;br&gt;doesn't throw any encoding errors.
&lt;br&gt;&lt;br&gt;:(
&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677279.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677279.html&lt;/a&gt;&lt;br&gt;Sent from the Ant - Users mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677287&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677287&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677287.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677278</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T05:29:32Z</published>
	<updated>2009-12-07T05:29:32Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; That looks to me like your XML is not properly encoded. I 
&lt;br&gt;&amp;gt; suspect that if you use a command-line tool like xmlstarlet 
&lt;br&gt;&amp;gt; it'll confoirm that by giving you a very similar error. The 
&lt;br&gt;&amp;gt; below isn't size-related.
&lt;br&gt;&lt;br&gt;Thanks for the info. If you are right, this could still be a problem because
&lt;br&gt;the XML is being formed on a server and I don't really have control over
&lt;br&gt;that part of it!
&lt;br&gt;&lt;br&gt;I just tried splitting the file into two to test that theory... Both halves
&lt;br&gt;seem to work fine, but together they throw that error.
&lt;br&gt;&lt;br&gt;I also ran the XML file in Firefox to see what it thinks of the file, and it
&lt;br&gt;doesn't throw any encoding errors.
&lt;br&gt;&lt;br&gt;:(
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677278&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677278&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677278.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677203</id>
	<title>Re: FTP works in 1.6.5, fails in 1.7.1</title>
	<published>2009-12-07T05:23:20Z</published>
	<updated>2009-12-07T05:23:20Z</updated>
	<author>
		<name>antoinell</name>
	</author>
	<content type="html">Hello Ken,
&lt;br&gt;&lt;br&gt;would you mind sending a stack trace ? If you run your build with ant 
&lt;br&gt;-verbose, the output will finish with the stack trace.
&lt;br&gt;Maybe this is a new, unknown bug, which should be entered in bugzilla.
&lt;br&gt;Regards,
&lt;br&gt;&lt;br&gt;Antoine
&lt;br&gt;&lt;br&gt;Ken Turner wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have the following code snippet:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		&amp;lt;ftp 	server=&amp;quot;${oc4j.host.name}&amp;quot;
&lt;br&gt;&amp;gt; 			remotedir=&amp;quot;trips/schemas/${target.schemas.path}${hyphen.app.name.suffix}&amp;quot;
&lt;br&gt;&amp;gt; 			chmod=&amp;quot;0777&amp;quot;
&lt;br&gt;&amp;gt; 			userid=&amp;quot;${ftp.userid}&amp;quot;
&lt;br&gt;&amp;gt; 			password=&amp;quot;${ftp.password}&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; 			&amp;lt;fileset dir=&amp;quot;${tripsrootdir}Java/Projects/trips-types&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; 				&amp;lt;include name=&amp;quot;**/*.xml&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; 				&amp;lt;include name=&amp;quot;**/*.xsd&amp;quot;/&amp;gt;
&lt;br&gt;&amp;gt; 			&amp;lt;/fileset&amp;gt;
&lt;br&gt;&amp;gt; 		&amp;lt;/ftp&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; With Ant 1.6.5, this works fine, but with Ant 1.7.1 it appears to
&lt;br&gt;&amp;gt; successfully copy one file, and then falls over with a null pointer
&lt;br&gt;&amp;gt; exception.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Have I missed something here?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677203&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677203&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FTP-works-in-1.6.5%2C-fails-in-1.7.1-tp26677097p26677203.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677148</id>
	<title>Re: RegExp help needed!</title>
	<published>2009-12-07T05:19:21Z</published>
	<updated>2009-12-07T05:19:21Z</updated>
	<author>
		<name>Brian Agnew</name>
	</author>
	<content type="html">That looks to me like your XML is not properly encoded. I suspect that 
&lt;br&gt;if you use a command-line tool like xmlstarlet it'll confoirm that by 
&lt;br&gt;giving you a very similar error. The below isn't size-related.
&lt;br&gt;&lt;br&gt;On 07/12/2009 13:15, Jowie wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Doh... Looks like I have a problem using xmltask anyway unfortunately... The
&lt;br&gt;&amp;gt; GetAllQuestions.xml is too big for it to handle :-( it's nearly 1MB in size.
&lt;br&gt;&amp;gt; At least I'm pretty sure that's why, since if I run another piece of XML
&lt;br&gt;&amp;gt; which is a lot smaller it works fine. But in this case I get the error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask]
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
&lt;br&gt;&amp;gt; Invalid byte 3 of 3-byte UTF-8 sequence.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask.documentFromStream(XmlTask.java:343)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask.documentFromFile(XmlTask.java:387)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask.access$000(XmlTask.java:27)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask$InputFile.getDocument(XmlTask.java:203)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:638)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
&lt;br&gt;&amp;gt; Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at java.lang.reflect.Method.invoke(Unknown Source)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at org.apache.tools.ant.Task.perform(Task.java:348)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at org.apache.tools.ant.Target.execute(Target.java:357)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.Project.executeTarget(Project.java:1306)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; org.apache.tools.ant.Project.executeTargets(Project.java:1189)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;[xmltask] 	at
&lt;br&gt;&amp;gt; org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; BUILD FAILED
&lt;br&gt;&amp;gt; C:\Work\LSIS\Brain Games\Main\ant\update_offline.xml:77: Invalid byte 3 of
&lt;br&gt;&amp;gt; 3-byte UTF-8 sequence.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bad times :(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Brian Agnew &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://www.oopsconsultancy.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.oopsconsultancy.com&lt;/a&gt;&lt;br&gt;OOPS Consultancy Ltd
&lt;br&gt;Tel: +44 (0)7720 397526
&lt;br&gt;Fax: +44 (0)20 8682 0012
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677148&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26677148&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677148.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677097</id>
	<title>FTP works in 1.6.5, fails in 1.7.1</title>
	<published>2009-12-07T05:15:36Z</published>
	<updated>2009-12-07T05:15:36Z</updated>
	<author>
		<name>Ken Turner</name>
	</author>
	<content type="html">I have the following code snippet:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;ftp 	server=&amp;quot;${oc4j.host.name}&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; remotedir=&amp;quot;trips/schemas/${target.schemas.path}${hyphen.app.name.suffix}&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chmod=&amp;quot;0777&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; userid=&amp;quot;${ftp.userid}&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; password=&amp;quot;${ftp.password}&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;fileset dir=&amp;quot;${tripsrootdir}Java/Projects/trips-types&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;include name=&amp;quot;**/*.xml&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;include name=&amp;quot;**/*.xsd&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/fileset&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/ftp&amp;gt;
&lt;br&gt;&lt;br&gt;With Ant 1.6.5, this works fine, but with Ant 1.7.1 it appears to successfully copy one file, and then falls over with a null pointer exception.
&lt;br&gt;&lt;br&gt;Have I missed something here?&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FTP-works-in-1.6.5%2C-fails-in-1.7.1-tp26677097p26677097.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26677094</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T05:15:26Z</published>
	<updated>2009-12-07T05:15:26Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Doh... Looks like I have a problem using xmltask anyway unfortunately... The GetAllQuestions.xml is too big for it to handle :-( it's nearly 1MB in size. At least I'm pretty sure that's why, since if I run another piece of XML which is a lot smaller it works fine. But in this case I get the error:
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; [xmltask] com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 3 of 3-byte UTF-8 sequence.
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.oopsconsultancy.xmltask.ant.XmlTask.documentFromStream(XmlTask.java:343)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.oopsconsultancy.xmltask.ant.XmlTask.documentFromFile(XmlTask.java:387)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.oopsconsultancy.xmltask.ant.XmlTask.access$000(XmlTask.java:27)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.oopsconsultancy.xmltask.ant.XmlTask$InputFile.getDocument(XmlTask.java:203)
&lt;br&gt;&amp;nbsp; [xmltask] 	at com.oopsconsultancy.xmltask.ant.XmlTask.execute(XmlTask.java:638)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
&lt;br&gt;&amp;nbsp; [xmltask] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;nbsp; [xmltask] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at java.lang.reflect.Method.invoke(Unknown Source)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.apache.tools.ant.Task.perform(Task.java:348)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.apache.tools.ant.Target.execute(Target.java:357)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
&lt;br&gt;&amp;nbsp; [xmltask] 	at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
&lt;br&gt;&lt;br&gt;BUILD FAILED
&lt;br&gt;C:\Work\LSIS\Brain Games\Main\ant\update_offline.xml:77: Invalid byte 3 of 3-byte UTF-8 sequence.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----
&lt;br&gt;&lt;br&gt;&lt;br&gt;Bad times :(&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26677094.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26676679</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T04:39:33Z</published>
	<updated>2009-12-07T04:39:33Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Hi Gilbert,
&lt;br&gt;&lt;br&gt;Thanks very much for taking the time to help me out. Unfortunately I've not used Xpath before and don't really have time to learn :( but if I give you an example of my XML, could you perhaps point me in the right direction? Here is an example:
&lt;br&gt;&lt;br&gt;------
&lt;br&gt;&amp;nbsp; &amp;lt;Question ID=&amp;quot;531&amp;quot; Subject=&amp;quot;L&amp;quot; Category=&amp;quot;Punc&amp;quot; Presentation=&amp;quot;PT01&amp;quot; Engine=&amp;quot;MC01&amp;quot; Body=&amp;quot;test&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=12&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;TipID/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Answers&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1457&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;1&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=112&amp;quot;&amp;gt;txt&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1458&amp;quot; Valid=&amp;quot;true&amp;quot; Position=&amp;quot;2&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=113&amp;quot;&amp;gt;txt&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1459&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;3&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=114&amp;quot;&amp;gt;txt&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;Answer ID=&amp;quot;1460&amp;quot; Valid=&amp;quot;false&amp;quot; Position=&amp;quot;4&amp;quot; Media=&amp;quot;/bgmain/Image.ashx?ID=115&amp;quot;&amp;gt;txt&amp;lt;/Answer&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/Answers&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/Question&amp;gt;
&lt;br&gt;-----
&lt;br&gt;&lt;br&gt;So from this, I need to:
&lt;br&gt;1. Find any Media attribute, nested or otherwise (e.g. in E4X, questionXML..@Media)
&lt;br&gt;2. Store each of these to download them
&lt;br&gt;3. Replace the values in the XML with local path equivalents, e.g. &amp;quot;images/image_@{imageID}.jpg&amp;quot;
&lt;br&gt;4. Go through stored list, download the images and put them in the right place (I know how to do that bit with copy url)
&lt;br&gt;&lt;br&gt;Many thanks!
&lt;br&gt;&lt;br&gt;:-Joe
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Rebhan, Gilbert wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;hit the send button to soon, should be =
&lt;br&gt;&lt;br&gt;so you would go like that =
&lt;br&gt;&lt;br&gt;&amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;call path=&amp;quot;yourxpathexpression&amp;quot; target=&amp;quot;yourdownloadtarget&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &lt;param name...&quot; path=&quot;...&quot; /&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards, Gilbert
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
&lt;br&gt;For additional commands, e-mail: user-help@ant.apache.org
&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26676679.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26676525</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T04:24:53Z</published>
	<updated>2009-12-07T04:24:53Z</updated>
	<author>
		<name>Rebhan, Gilbert</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Jowie [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26676525&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe.nash@...&lt;/a&gt;] 
&lt;br&gt;Sent: Monday, December 07, 2009 1:02 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26676525&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: RegExp help needed!
&lt;br&gt;&lt;br&gt;/*
&lt;br&gt;so you would go like that =
&lt;br&gt;&lt;br&gt;&amp;lt;xmltask source=&amp;quot;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;call path=&amp;quot;//module/*[liefertyp/text()='build']&amp;quot; target=&amp;quot;yourdownloadtarget&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;param name...&amp;quot; path=&amp;quot;...&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;lt;/xmltask&amp;gt;
&lt;br&gt;/*
&lt;br&gt;&lt;br&gt;hit the send button to soon, should be =
&lt;br&gt;&lt;br&gt;so you would go like that =
&lt;br&gt;&lt;br&gt;&amp;lt;xmltask source=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;call path=&amp;quot;yourxpathexpression&amp;quot; target=&amp;quot;yourdownloadtarget&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;param name...&amp;quot; path=&amp;quot;...&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards, Gilbert
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26676525&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26676525&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26676525.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26676463</id>
	<title>RE: RegExp help needed!</title>
	<published>2009-12-07T04:18:15Z</published>
	<updated>2009-12-07T04:18:15Z</updated>
	<author>
		<name>Rebhan, Gilbert</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Jowie [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26676463&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe.nash@...&lt;/a&gt;] 
&lt;br&gt;Sent: Monday, December 07, 2009 1:02 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26676463&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: RegExp help needed!
&lt;br&gt;&lt;br&gt;/*
&lt;br&gt;Hi all,
&lt;br&gt;&lt;br&gt;I'm fumbling my way around Ant and finding the help on the web really
&lt;br&gt;confusing. I am using Ant simply as a macro copy/download/find-replace
&lt;br&gt;utility and am an ActionScript programmer, not a Java one.
&lt;br&gt;&lt;br&gt;Anyway... There's one bit I'm stuck on and really need your help please!
&lt;br&gt;&lt;br&gt;I have used Ant to download an XML file and store it locally. I now need a
&lt;br&gt;way of going through the XML, finding all the image URL attributes,
&lt;br&gt;downloading those images and replacing all the URLs in the XML to local
&lt;br&gt;relative paths. So far, all I have is:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;loadfile property=&amp;quot;questions&amp;quot; srcFile=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot;
&lt;br&gt;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;propertyregex input=&amp;quot;${questions}&amp;quot; property=&amp;quot;questions.output&amp;quot;
&lt;br&gt;regexp=&amp;quot;Media=&amp;quot;(.*?)&amp;quot;&amp;quot; select=&amp;quot;\1&amp;quot; global=&amp;quot;true&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo message=&amp;quot;${questions.output}&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;*/
&lt;br&gt;&lt;br&gt;regexp for xml or html is not recommended, better use xmltask and the power of xpath =
&lt;br&gt;&lt;br&gt;xmltask
&lt;br&gt;&lt;a href=&quot;http://www.oopsconsultancy.com/software/xmltask/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.oopsconsultancy.com/software/xmltask/&lt;/a&gt;&lt;br&gt;&lt;br&gt;xpath
&lt;br&gt;&lt;a href=&quot;http://www.w3schools.com/Xpath/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.w3schools.com/Xpath/&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.zvon.org/xxl/XPathTutorial/General/examples.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.zvon.org/xxl/XPathTutorial/General/examples.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;so you would go like that =
&lt;br&gt;&lt;br&gt;&amp;lt;xmltask source=&amp;quot;&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;call path=&amp;quot;//module/*[liefertyp/text()='build']&amp;quot; target=&amp;quot;yourdownloadtarget&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;param name...&amp;quot; path=&amp;quot;...&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;...
&lt;br&gt;&amp;nbsp; &amp;lt;/call&amp;gt;
&lt;br&gt;&amp;lt;/xmltask&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;you may post a snippet of your xml file to get the right xpath expression.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards, Gilbert
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26676463&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26676463&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26676463.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26676257</id>
	<title>RegExp help needed!</title>
	<published>2009-12-07T04:02:04Z</published>
	<updated>2009-12-07T04:02:04Z</updated>
	<author>
		<name>Jowie</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I'm fumbling my way around Ant and finding the help on the web really confusing. I am using Ant simply as a macro copy/download/find-replace utility and am an ActionScript programmer, not a Java one.
&lt;br&gt;&lt;br&gt;Anyway... There's one bit I'm stuck on and really need your help please!
&lt;br&gt;&lt;br&gt;I have used Ant to download an XML file and store it locally. I now need a way of going through the XML, finding all the image URL attributes, downloading those images and replacing all the URLs in the XML to local relative paths. So far, all I have is:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;loadfile property=&amp;quot;questions&amp;quot; srcFile=&amp;quot;${local.path}GetAllQuestions.xml&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;propertyregex input=&amp;quot;${questions}&amp;quot; property=&amp;quot;questions.output&amp;quot; regexp=&amp;quot;Media=&amp;quot;(.*?)&amp;quot;&amp;quot; select=&amp;quot;\1&amp;quot; global=&amp;quot;true&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;echo message=&amp;quot;${questions.output}&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;This only traces the first one in the XML, but obviously I want to find all of the instances, add them to some kind of array and then loop through that array and load them all. I've done a for list before so that bit is okay, but the question is how do I get Ant to iterate through and find all individual instances of that regexp?
&lt;br&gt;&lt;br&gt;Please help... Thanks!
&lt;br&gt;&lt;br&gt;:-Joe&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/RegExp-help-needed%21-tp26676257p26676257.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26676192</id>
	<title>Re: Build failure propogation</title>
	<published>2009-12-07T03:56:47Z</published>
	<updated>2009-12-07T03:56:47Z</updated>
	<author>
		<name>Raja Nagendra Kumar</name>
	</author>
	<content type="html">Initially we were throwing new BuildException() as this did not work, we now have the code like this 
&lt;br&gt;&lt;br&gt;project.fireBuildFinished(error)
&lt;br&gt;&lt;br&gt;This approach is resulting build fail error for the current ant programmatic ant execution but the same failure is not getting propagated to the build file which uses &amp;lt;ant&amp;gt; to invoke next one.. 
&lt;br&gt;&lt;br&gt;Any other suggestions from others pl.. I think we need some help on error prorogation mechanism/design clues when mix of xml and custom tasks are used.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Raja Nagendra Kumar,
&lt;br&gt;C.T.O
&lt;br&gt;www.tejasoft.com&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Build-failure-propogation-tp26666990p26676192.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675967</id>
	<title>Re: Build failure propogation</title>
	<published>2009-12-07T03:33:36Z</published>
	<updated>2009-12-07T03:33:36Z</updated>
	<author>
		<name>Francis Galiegue-4</name>
	</author>
	<content type="html">On Mon, Dec 7, 2009 at 12:12, Raja Nagendra Kumar
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675967&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nagendra.Raja@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; We use &amp;lt;ant&amp;gt; with in build file also in with custom task , we use ant class
&lt;br&gt;&amp;gt; task as api. In this place it fails.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; new Ant() etc.. and calling execute() method.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Well, from what I know, if you want to propagate a failure, you should
&lt;br&gt;throw BuildException. If you do that and it doesn't work, I cannot
&lt;br&gt;help any further I'm afraid :/
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Francis Galiegue
&lt;br&gt;ONE2TEAM
&lt;br&gt;Ingénieur système
&lt;br&gt;Mob : +33 (0) 683 877 875
&lt;br&gt;Tel : +33 (0) 178 945 552
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675967&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;fge@...&lt;/a&gt;
&lt;br&gt;40 avenue Raymond Poincaré
&lt;br&gt;75116 Paris
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675967&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26675967&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Build-failure-propogation-tp26666990p26675967.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26675759</id>
	<title>Re: Build failure propogation</title>
	<published>2009-12-07T03:12:01Z</published>
	<updated>2009-12-07T03:12:01Z</updated>
	<author>
		<name>Raja Nagendra Kumar</name>
	</author>
	<content type="html">We use &amp;lt;ant&amp;gt; with in build file also in with custom task , we use ant class task as api. In this place it fails.
&lt;br&gt;&lt;br&gt;new Ant() etc.. and calling execute() method.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Nagendra&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Ant---Users-f107.html&quot; embed=&quot;fixTarget[107]&quot; target=&quot;_top&quot; &gt;Ant - Users&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Build-failure-propogation-tp26666990p26675759.html" />
</entry>

</feed>
