<?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: Flex2 &amp; ANT</title>
	<atom:link href="http://blog.gtuhl.com/2007/02/20/flex2-ant/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/</link>
	<description>Development, IT, Gadgets, and Startups</description>
	<lastBuildDate>Mon, 15 Aug 2011 08:57:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jay</title>
		<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/comment-page-1/#comment-3704</link>
		<dc:creator>Jay</dc:creator>
		<pubDate>Thu, 02 Jul 2009 00:17:50 +0000</pubDate>
		<guid isPermaLink="false">http://gtuhl.nfshost.com/blog/?p=5#comment-3704</guid>
		<description>Thanks for this!  I kept trying to use some form of an external-library-path path-element= tag, and was getting nowhere.  This is an extremely helpful example!</description>
		<content:encoded><![CDATA[<p>Thanks for this!  I kept trying to use some form of an external-library-path path-element= tag, and was getting nowhere.  This is an extremely helpful example!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suzanne Dorman</title>
		<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/comment-page-1/#comment-116</link>
		<dc:creator>Suzanne Dorman</dc:creator>
		<pubDate>Thu, 06 Dec 2007 17:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://gtuhl.nfshost.com/blog/?p=5#comment-116</guid>
		<description>I figured out one part of the problem - I was using compiler.library-external-path for my local SWC files instead of library-path.  But it doesn&#039;t resolve the problem of getting different results if Flex Builder is up and running.  The Ant script generates many files if Flex Builder is running - it creates all the same files that Flex Builder does when you use it to compile.  I can&#039;t understand why it would effect an external compilation.  I don&#039;t see any environmental variables getting changed.

Sorry for the messy posts before.  Feel free to delete them.</description>
		<content:encoded><![CDATA[<p>I figured out one part of the problem &#8211; I was using compiler.library-external-path for my local SWC files instead of library-path.  But it doesn&#8217;t resolve the problem of getting different results if Flex Builder is up and running.  The Ant script generates many files if Flex Builder is running &#8211; it creates all the same files that Flex Builder does when you use it to compile.  I can&#8217;t understand why it would effect an external compilation.  I don&#8217;t see any environmental variables getting changed.</p>
<p>Sorry for the messy posts before.  Feel free to delete them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suzanne Dorman</title>
		<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/comment-page-1/#comment-115</link>
		<dc:creator>Suzanne Dorman</dc:creator>
		<pubDate>Thu, 06 Dec 2007 16:06:02 +0000</pubDate>
		<guid isPermaLink="false">http://gtuhl.nfshost.com/blog/?p=5#comment-115</guid>
		<description>Can you give me a hint as to how to get the post the ant information without it being filtered?  Apparently using html tags wasn&#039;t the solution.</description>
		<content:encoded><![CDATA[<p>Can you give me a hint as to how to get the post the ant information without it being filtered?  Apparently using html tags wasn&#8217;t the solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suzanne Dorman</title>
		<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/comment-page-1/#comment-114</link>
		<dc:creator>Suzanne Dorman</dc:creator>
		<pubDate>Thu, 06 Dec 2007 16:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://gtuhl.nfshost.com/blog/?p=5#comment-114</guid>
		<description>Well, my task got filtered on my last post.  Trying again:

&amp;ltmxmlc&amp;nbspfile=&quot;${flexsrc.dir}/${filename.@{file}}.mxml&quot;&amp;nbsp&amp;nbspoutput=&quot;${bin.dir}/${filename.@{file}}.swf&quot;&amp;nbspkeep-generated-actionscript=&quot;true&quot;&amp;nbspdebug=&quot;true&quot;&amp;gt

&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt!--&amp;nbspGet&amp;nbspdefault&amp;nbspcompiler&amp;nbspoptions.&amp;nbsp--&amp;gt

&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltload-config&amp;nbspfilename=&quot;${FLEX_HOME}/frameworks/flex-config.xml&quot;/&amp;gt


&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt!--&amp;nbspList&amp;nbspof&amp;nbsppath&amp;nbspelements&amp;nbspthat&amp;nbspform&amp;nbspthe&amp;nbsproots&amp;nbspof&amp;nbspActionScript&amp;nbspclass&amp;nbsphierarchies.&amp;nbsp--&amp;gt

&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltsource-path&amp;nbsppath-element=&quot;${FLEX_HOME}/frameworks&quot;/&amp;gt


&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt!--&amp;nbspList&amp;nbspof&amp;nbspSWC&amp;nbspfiles&amp;nbspor&amp;nbspdirectories&amp;nbspthat&amp;nbspcontain&amp;nbspSWC&amp;nbspfiles.&amp;nbsp--&amp;gt

&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltcompiler.library-path&amp;nbspdir=&quot;${FLEX_HOME}/frameworks&quot;&amp;nbspappend=&quot;true&quot;&amp;gt

&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltinclude&amp;nbspname=&quot;${flex.lib.dir}&quot;&amp;nbsp/&amp;gt

&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltinclude&amp;nbspname=&quot;../bundles/{locale}&quot;&amp;nbsp/&amp;gt

&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt/compiler.library-path&amp;gt


&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltcompiler.external-library-path&amp;nbspdir=&quot;${flex.lib.dir}&quot;&amp;nbspappend=&quot;true&quot;&amp;gt

&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltinclude&amp;nbspname=&quot;*.swc&quot;/&amp;gt
&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt/compiler.external-library-path&amp;gt

&amp;lt/mxmlc&amp;gt</description>
		<content:encoded><![CDATA[<p>Well, my task got filtered on my last post.  Trying again:</p>
<p>&amp;ltmxmlc&amp;nbspfile=&#8221;${flexsrc.dir}/${filename.@{file}}.mxml&#8221;&amp;nbsp&amp;nbspoutput=&#8221;${bin.dir}/${filename.@{file}}.swf&#8221;&amp;nbspkeep-generated-actionscript=&#8221;true&#8221;&amp;nbspdebug=&#8221;true&#8221;&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt!&#8211;&amp;nbspGet&amp;nbspdefault&amp;nbspcompiler&amp;nbspoptions.&amp;nbsp&#8211;&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltload-config&amp;nbspfilename=&#8221;${FLEX_HOME}/frameworks/flex-config.xml&#8221;/&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt!&#8211;&amp;nbspList&amp;nbspof&amp;nbsppath&amp;nbspelements&amp;nbspthat&amp;nbspform&amp;nbspthe&amp;nbsproots&amp;nbspof&amp;nbspActionScript&amp;nbspclass&amp;nbsphierarchies.&amp;nbsp&#8211;&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltsource-path&amp;nbsppath-element=&#8221;${FLEX_HOME}/frameworks&#8221;/&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt!&#8211;&amp;nbspList&amp;nbspof&amp;nbspSWC&amp;nbspfiles&amp;nbspor&amp;nbspdirectories&amp;nbspthat&amp;nbspcontain&amp;nbspSWC&amp;nbspfiles.&amp;nbsp&#8211;&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltcompiler.library-path&amp;nbspdir=&#8221;${FLEX_HOME}/frameworks&#8221;&amp;nbspappend=&#8221;true&#8221;&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltinclude&amp;nbspname=&#8221;${flex.lib.dir}&#8221;&amp;nbsp/&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltinclude&amp;nbspname=&#8221;../bundles/{locale}&#8221;&amp;nbsp/&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt/compiler.library-path&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltcompiler.external-library-path&amp;nbspdir=&#8221;${flex.lib.dir}&#8221;&amp;nbspappend=&#8221;true&#8221;&amp;gt</p>
<p>&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;ltinclude&amp;nbspname=&#8221;*.swc&#8221;/&amp;gt<br />
&amp;nbsp&amp;nbsp&amp;nbsp&amp;nbsp&amp;lt/compiler.external-library-path&amp;gt</p>
<p>&amp;lt/mxmlc&amp;gt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suzanne Dorman</title>
		<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/comment-page-1/#comment-113</link>
		<dc:creator>Suzanne Dorman</dc:creator>
		<pubDate>Thu, 06 Dec 2007 15:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://gtuhl.nfshost.com/blog/?p=5#comment-113</guid>
		<description>I have an Ant script that I am using for mxmlc.  I am having problems getting the debug flag to work.  It seems to have no effect.  I have commented out the loading of the config file to avoid option conflicts but I still get the same results.  Oddly, if I have Flex Builder up and running when I run my Ant script (outside of Flex Builder), it does create debug files (even if I have debug off).  It seems to pick up Flex Builder&#039;s compile options.  Here is my task:


                    
  &lt;!-- Get default compiler options. --&gt;
  

  &lt;!-- List of path elements that form the roots of ActionScript class hierarchies. --&gt;
  

  &lt;!-- List of SWC files or directories that contain SWC files. --&gt;
  
       
       
  

  
       
  



FLEX_HOME is set to the Flex SDK directory via an Ant properties file:

FLEX_HOME=C:/Program Files/Adobe/Flex Builder 2/Flex SDK 2</description>
		<content:encoded><![CDATA[<p>I have an Ant script that I am using for mxmlc.  I am having problems getting the debug flag to work.  It seems to have no effect.  I have commented out the loading of the config file to avoid option conflicts but I still get the same results.  Oddly, if I have Flex Builder up and running when I run my Ant script (outside of Flex Builder), it does create debug files (even if I have debug off).  It seems to pick up Flex Builder&#8217;s compile options.  Here is my task:</p>
<p>  <!-- Get default compiler options. --></p>
<p>  <!-- List of path elements that form the roots of ActionScript class hierarchies. --></p>
<p>  <!-- List of SWC files or directories that contain SWC files. --></p>
<p>FLEX_HOME is set to the Flex SDK directory via an Ant properties file:</p>
<p>FLEX_HOME=C:/Program Files/Adobe/Flex Builder 2/Flex SDK 2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JabbyPanda</title>
		<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/comment-page-1/#comment-50</link>
		<dc:creator>JabbyPanda</dc:creator>
		<pubDate>Fri, 20 Apr 2007 15:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://gtuhl.nfshost.com/blog/?p=5#comment-50</guid>
		<description>Thanks for the answer. 

Thanks for the pointing me to page http://labs.adobe.com/wiki/index.php/Talk:Flex_Ant_Tasks, I missed this entry.


--
Yes, I am trying to use compc ANT task in the Adobe Labs in parallel too as possible second solution :)

Unfortunately, I cannot figure out how to use &quot;include-namespaces&quot; directive with this util. It is not documented properly here: 
http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks

I posted recently about my problem here: http://tech.groups.yahoo.com/group/flexcomponents/message/2052
and here: 
http://labs.adobe.com/wiki/index.php/Talk:Flex_Ant_Tasks

My solution - do not use namespaces and manifest files together with compc util from the Adobe Labs  :)</description>
		<content:encoded><![CDATA[<p>Thanks for the answer. </p>
<p>Thanks for the pointing me to page <a href="http://labs.adobe.com/wiki/index.php/Talk:Flex_Ant_Tasks" rel="nofollow">http://labs.adobe.com/wiki/index.php/Talk:Flex_Ant_Tasks</a>, I missed this entry.</p>
<p>&#8211;<br />
Yes, I am trying to use compc ANT task in the Adobe Labs in parallel too as possible second solution <img src='http://blog.gtuhl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Unfortunately, I cannot figure out how to use &#8220;include-namespaces&#8221; directive with this util. It is not documented properly here:<br />
<a href="http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks" rel="nofollow">http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks</a></p>
<p>I posted recently about my problem here: <a href="http://tech.groups.yahoo.com/group/flexcomponents/message/2052" rel="nofollow">http://tech.groups.yahoo.com/group/flexcomponents/message/2052</a><br />
and here:<br />
<a href="http://labs.adobe.com/wiki/index.php/Talk:Flex_Ant_Tasks" rel="nofollow">http://labs.adobe.com/wiki/index.php/Talk:Flex_Ant_Tasks</a></p>
<p>My solution &#8211; do not use namespaces and manifest files together with compc util from the Adobe Labs  <img src='http://blog.gtuhl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gtuhl</title>
		<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/comment-page-1/#comment-49</link>
		<dc:creator>gtuhl</dc:creator>
		<pubDate>Fri, 20 Apr 2007 13:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://gtuhl.nfshost.com/blog/?p=5#comment-49</guid>
		<description>Hey,

Thanks for the question.  Unfortunately I haven&#039;t had to use compc and thus am not much help here.  I would say try using the compc ANT task in the Adobe Labs project I mentioned in the post though it seems likely you would have the same issue.

Also, it looks like other people are having issues with spaces in paths as well (&lt;a href=&quot;http://labs.adobe.com/wiki/index.php/Talk:Flex_Ant_Tasks#Tasks_don.27t_support_spaces_in_paths&quot; rel=&quot;nofollow&quot;&gt;here is a question&lt;/a&gt; on the wiki page for the ANT tasks project).  It looks like there are a couple suggestions related to it and maybe those will work.

Hopefully it can be figured out, sorry I am not much help.

Joe</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>Thanks for the question.  Unfortunately I haven&#8217;t had to use compc and thus am not much help here.  I would say try using the compc ANT task in the Adobe Labs project I mentioned in the post though it seems likely you would have the same issue.</p>
<p>Also, it looks like other people are having issues with spaces in paths as well (<a href="http://labs.adobe.com/wiki/index.php/Talk:Flex_Ant_Tasks#Tasks_don.27t_support_spaces_in_paths" rel="nofollow">here is a question</a> on the wiki page for the ANT tasks project).  It looks like there are a couple suggestions related to it and maybe those will work.</p>
<p>Hopefully it can be figured out, sorry I am not much help.</p>
<p>Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JabbyPanda</title>
		<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/comment-page-1/#comment-48</link>
		<dc:creator>JabbyPanda</dc:creator>
		<pubDate>Fri, 20 Apr 2007 13:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://gtuhl.nfshost.com/blog/?p=5#comment-48</guid>
		<description>One more posting with probably fixed formatting....

&lt;property name=&quot;FLEX_HOME&quot; value=&quot;C:\Program Files\Adobe\Flex Builder 2 Plug-in\Flex SDK 2&quot;/&gt;
&lt;property name=&quot;flexSDK.libraries&quot; location=&quot;${FLEX_HOME}\frameworks\libs&quot; /&gt;
.....
&lt;target name=&quot;compile FlexLibrary SWC&quot;&gt;
				&lt;echo&gt;Compile shared FlexLibrary to SWC file &lt;/echo&gt;		
				&lt;exec dir=&quot;.&quot; executable=&quot;cmd&quot; failonerror=&quot;true&quot;&gt;
				    &lt;arg line=&quot;/c &#039;${flex.compc}&#039;
				        -library-path 	&#039;${flexSDK.libraries}&#039;
					-output=${FlexLibrary.output}&quot;/&gt;
				&lt;/exec&gt;  
	&lt;/target&gt;</description>
		<content:encoded><![CDATA[<p>One more posting with probably fixed formatting&#8230;.</p>
<p>&lt;property name=&#8221;FLEX_HOME&#8221; value=&#8221;C:\Program Files\Adobe\Flex Builder 2 Plug-in\Flex SDK 2&#8243;/&gt;<br />
&lt;property name=&#8221;flexSDK.libraries&#8221; location=&#8221;${FLEX_HOME}\frameworks\libs&#8221; /&gt;<br />
&#8230;..<br />
&lt;target name=&#8221;compile FlexLibrary SWC&#8221;&gt;<br />
				&lt;echo&gt;Compile shared FlexLibrary to SWC file &lt;/echo&gt;<br />
				&lt;exec dir=&#8221;.&#8221; executable=&#8221;cmd&#8221; failonerror=&#8221;true&#8221;&gt;<br />
				    &lt;arg line=&#8221;/c &#8216;${flex.compc}&#8217;<br />
				        -library-path 	&#8216;${flexSDK.libraries}&#8217;<br />
					-output=${FlexLibrary.output}&#8221;/&gt;<br />
				&lt;/exec&gt;<br />
	&lt;/target&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JabbyPanda</title>
		<link>http://blog.gtuhl.com/2007/02/20/flex2-ant/comment-page-1/#comment-47</link>
		<dc:creator>JabbyPanda</dc:creator>
		<pubDate>Fri, 20 Apr 2007 13:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://gtuhl.nfshost.com/blog/?p=5#comment-47</guid>
		<description>Do you have an experience with using compc and Ant?

U have an difficulty when I point &#039;compc&#039;s command line parameter -library-path 	to location that contains spaces 

Example:



.....

				Compile shared FlexLibrary to SWC file 		
				
				    
				  
	
.....

I receive an error  &lt;b&gt;command line: Error: unable to open &#039;C:\Program&#039;&lt;/b&gt; every time even if I use quote characters surrounding -library-path&#039;s value :(</description>
		<content:encoded><![CDATA[<p>Do you have an experience with using compc and Ant?</p>
<p>U have an difficulty when I point &#8216;compc&#8217;s command line parameter -library-path 	to location that contains spaces </p>
<p>Example:</p>
<p>&#8230;..</p>
<p>				Compile shared FlexLibrary to SWC file 		</p>
<p>&#8230;..</p>
<p>I receive an error  <b>command line: Error: unable to open &#8216;C:\Program&#8217;</b> every time even if I use quote characters surrounding -library-path&#8217;s value <img src='http://blog.gtuhl.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

