<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Quick tips to speed up your Ant build</title>
	<atom:link href="http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/</link>
	<description></description>
	<lastBuildDate>Thu, 05 Jul 2012 13:41:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Carl van Tonder</title>
		<link>http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/comment-page-1/#comment-8641</link>
		<dc:creator>Carl van Tonder</dc:creator>
		<pubDate>Wed, 23 May 2012 20:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/#comment-8641</guid>
		<description>&lt;p&gt;Thanks for the tip — I&#039;m using both incremental and uptodate, and build times have gone down from a regular 4 minutes to 17 seconds (where only a single module has changed). Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for the tip — I&#8217;m using both incremental and uptodate, and build times have gone down from a regular 4 minutes to 17 seconds (where only a single module has changed). Thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ricki</title>
		<link>http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/comment-page-1/#comment-7843</link>
		<dc:creator>Ricki</dc:creator>
		<pubDate>Sun, 14 Jun 2009 20:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/#comment-7843</guid>
		<description>&lt;p&gt;Hi Theo
That is great, I&#039;ll surly include that n my compile macro somehow.&lt;/p&gt;

&lt;p&gt;Thanks for elaborating:)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Theo
That is great, I&#8217;ll surly include that n my compile macro somehow.</p>

<p>Thanks for elaborating:)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/comment-page-1/#comment-7842</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Sun, 14 Jun 2009 11:06:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/#comment-7842</guid>
		<description>&lt;p&gt;This tip works for telling Ant whether or not to run a target, so to use it to conditionally compile N separate SWFs you need N+1 targets (apart from the init target that contains the uptodate-statements); one for each file and one that depends on all the others (so you can type &quot;ant compile&quot; and compile the lot). You also need N uptodate-statements in the init target, and make sure the init target runs first:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;&lt;code&gt;&lt;target name=&quot;init&quot;&gt;
  &lt;uptodate property=&quot;uptodate.someswf&quot; targetfile=&quot;path/to/some.swf&quot;&gt;
    &lt;srcfiles dir=&quot;path/to/src&quot;&gt;
      ...
    &lt;/srcfiles&gt;
  &lt;/uptodate&gt;
  &lt;uptodate property=&quot;uptodate.someotherswf&quot; targetfile=&quot;path/to/another.swf&quot;&gt;
    &lt;srcfiles dir=&quot;path/to/some/other/src&quot;&gt;
      ...
    &lt;/srcfiles&gt;
  &lt;/uptodate&gt;
  ...
&lt;/target&gt;&lt;/p&gt;

&lt;p&gt;&lt;target name=&quot;build&quot; depends=&quot;init, compile1, compile2, compile3&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&lt;target name=&quot;compile1&quot; unless=&quot;uptodate.someswf&quot;&gt;
  &lt;mxmlc .../&gt;
&lt;/target&gt;&lt;/p&gt;

&lt;p&gt;&lt;target name=&quot;compile2&quot; unless=&quot;uptodate.someotherswf&quot;&gt;
  &lt;mxmlc .../&gt;
&lt;/target&gt;&lt;/p&gt;

&lt;p&gt;...
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This tip works for telling Ant whether or not to run a target, so to use it to conditionally compile N separate SWFs you need N+1 targets (apart from the init target that contains the uptodate-statements); one for each file and one that depends on all the others (so you can type &#8220;ant compile&#8221; and compile the lot). You also need N uptodate-statements in the init target, and make sure the init target runs first:</p>

<p><pre><code>&lt;target name="init"&gt;
  &lt;uptodate property="uptodate.someswf" targetfile="path/to/some.swf"&gt;
    &lt;srcfiles dir="path/to/src"&gt;
      ...
    &lt;/srcfiles&gt;
  &lt;/uptodate&gt;
  &lt;uptodate property="uptodate.someotherswf" targetfile="path/to/another.swf"&gt;
    &lt;srcfiles dir="path/to/some/other/src"&gt;
      ...
    &lt;/srcfiles&gt;
  &lt;/uptodate&gt;
  ...
&lt;/target&gt;</code></pre></p>

<p>&lt;target name="build" depends="init, compile1, compile2, compile3"/&gt;</p>

<p>&lt;target name="compile1" unless="uptodate.someswf"&gt;
  &lt;mxmlc .../&gt;
&lt;/target&gt;</p>

<p>&lt;target name="compile2" unless="uptodate.someotherswf"&gt;
  &lt;mxmlc .../&gt;
&lt;/target&gt;</p>

<p>...
</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Ricki</title>
		<link>http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/comment-page-1/#comment-7841</link>
		<dc:creator>Ricki</dc:creator>
		<pubDate>Sat, 13 Jun 2009 16:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/#comment-7841</guid>
		<description>&lt;p&gt;Hi
This looks great! Im just in the process of putting together an Ant script for our main project. I compiles 9 different modules into one AIR app, so what you are suggesting here could really save me some time.&lt;/p&gt;

&lt;p&gt;Im just not quite sure how to implement this.
What if I have 9 swf&#039;s, am I suppose to write something resembling the init target for each of these? I have already put all of the compile action into a macro to produce a less cluttered script, how would this work for multiple swf&#039;s (which is the whole point: )&lt;/p&gt;

&lt;p&gt;Thanks again for trying to save other peoples time :) a noble course.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi
This looks great! Im just in the process of putting together an Ant script for our main project. I compiles 9 different modules into one AIR app, so what you are suggesting here could really save me some time.</p>

<p>Im just not quite sure how to implement this.
What if I have 9 swf&#8217;s, am I suppose to write something resembling the init target for each of these? I have already put all of the compile action into a macro to produce a less cluttered script, how would this work for multiple swf&#8217;s (which is the whole point: )</p>

<p>Thanks again for trying to save other peoples time :) a noble course.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/comment-page-1/#comment-5776</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Fri, 22 Feb 2008 16:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/#comment-5776</guid>
		<description>&lt;p&gt;The incremental flag is for recompiling only that which has changed, but I don&#039;t think it skips the compilation if nothing has changed, at least not when I have tried. I think the problem with incremental is that if class A has changed it still compiles the classes that class A uses, and then the classes that those classes use and so on... so in reality the benefit quickly approaches zero (but I could be wrong, I&#039;m not sure if it&#039;s actually that dumb).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The incremental flag is for recompiling only that which has changed, but I don&#8217;t think it skips the compilation if nothing has changed, at least not when I have tried. I think the problem with incremental is that if class A has changed it still compiles the classes that class A uses, and then the classes that those classes use and so on&#8230; so in reality the benefit quickly approaches zero (but I could be wrong, I&#8217;m not sure if it&#8217;s actually that dumb).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Maz</title>
		<link>http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/comment-page-1/#comment-5775</link>
		<dc:creator>Maz</dc:creator>
		<pubDate>Fri, 22 Feb 2008 15:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.iconara.net/2008/02/22/quick-tips-to-speed-up-your-ant-build/#comment-5775</guid>
		<description>&lt;p&gt;That&#039;s a great tip indeed !&lt;/p&gt;

&lt;p&gt;Do you know the &quot;incremental&quot; command-line argument of mxmlc ? It is supposed to do quite the same job, but it never works for me...&lt;/p&gt;

&lt;p&gt;Thanks for sharing&lt;/p&gt;

&lt;p&gt;{Maz}&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That&#8217;s a great tip indeed !</p>

<p>Do you know the &#8220;incremental&#8221; command-line argument of mxmlc ? It is supposed to do quite the same job, but it never works for me&#8230;</p>

<p>Thanks for sharing</p>

<p>{Maz}</p>]]></content:encoded>
	</item>
</channel>
</rss>
