<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fusioncube &#187; ant</title>
	<atom:link href="http://www.fusioncube.net/index.php/category/tools/ant/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fusioncube.net</link>
	<description>The online journey of a technophile, by Steve Brownlee</description>
	<lastBuildDate>Wed, 01 Feb 2012 04:17:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flex: Annoyed with COMPC Ant task</title>
		<link>http://www.fusioncube.net/index.php/flex-annoyed-with-compc-ant-task</link>
		<comments>http://www.fusioncube.net/index.php/flex-annoyed-with-compc-ant-task#comments</comments>
		<pubDate>Fri, 05 Feb 2010 15:17:57 +0000</pubDate>
		<dc:creator>Steve Brownlee</dc:creator>
				<category><![CDATA[ant]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://www.fusioncube.net/?p=736</guid>
		<description><![CDATA[In my continuing journey with TeamCity, I&#8217;ve discovered something highly annoying&#8230; not with TeamCity but with Adobe. I&#8217;m trying to build a master configuration with an Ant script that will automatically build several child modules. First thing I realize is that I have to override the path properties of the child Ant script with relatives [...]]]></description>
			<content:encoded><![CDATA[<p>In my continuing journey with TeamCity, I&#8217;ve discovered something highly annoying&#8230; not with TeamCity but with Adobe.</p>
<p>I&#8217;m trying to build a master configuration with an Ant script that will automatically build several child modules.  First thing I realize is that I have to override the path properties of the child Ant script with relatives paths from the parent script.  Ok, that makes sense since it&#8217;s a subtask being called from the scope of the parent, so the paths have to be from that directory.</p>
<p>Then I try to call COMPC in the child Ant script.  It chokes hard with:</p>
<pre class="code"><code>[compc] command line: Error: unable to open 'api/src/Manifest.xml'</code></pre>
<p>&#8220;That&#8217;s odd,&#8221; I think.  I know I&#8217;m passing it the right path (contained in the ${src.dir} property).  However, just to check, let&#8217;s echo out the contents of the path I&#8217;m sending to the child script.</p>
<pre class="code"><code>&lt;fileset id="dir.contents" dir="${src.dir}" includes="*"/&gt;
&lt;property name="file.name" refid="dir.contents"/&gt;
&lt;echo&gt;${file.name}&lt;/echo&gt;</code></pre>
<p>I run the script again, and lo and behold, guess what echoes out?</p>
<pre class="code"><code> [echo] Manifest.xml</code></pre>
<p>wtf?</p>
<p>Ant says that the file exists in the path contained in the ${src.dir} property, but the COMPC task says it doesn&#8217;t exist?</p>
<pre class="code"><code>&lt;compc output="${build.dir}/${build.file}" debug="false"&gt;
	&lt;include-namespaces uri="${namespace}" /&gt;
	&lt;namespace uri="${namespace}" manifest="${src.dir}/${manifest.filename}" /&gt;
   ...</code></pre>
<p>Still haven&#8217;t figured this one out, because I&#8217;m now stuck in the process of throwing darts with a blindfold on, simply <strong>guessing</strong> which directory COMPC <em>thinks</em> it&#8217;s starting from, because, of course, there&#8217;s no way to output anything from inside the COMPC task.</p>
<p>ARGH!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fusioncube.net/index.php/flex-annoyed-with-compc-ant-task/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

