<?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 &#038; 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>Software Development, IT, Gadgets, and Startups</description>
	<pubDate>Tue, 06 Jan 2009 05:39:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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'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't understand why it would effect an external compilation.  I don'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 - 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 - 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'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:

&#38;ltmxmlc&#38;nbspfile="${flexsrc.dir}/${filename.@{file}}.mxml"&#38;nbsp&#38;nbspoutput="${bin.dir}/${filename.@{file}}.swf"&#38;nbspkeep-generated-actionscript="true"&#38;nbspdebug="true"&#38;gt

&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;lt!--&#38;nbspGet&#38;nbspdefault&#38;nbspcompiler&#38;nbspoptions.&#38;nbsp--&#38;gt

&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;ltload-config&#38;nbspfilename="${FLEX_HOME}/frameworks/flex-config.xml"/&#38;gt


&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;lt!--&#38;nbspList&#38;nbspof&#38;nbsppath&#38;nbspelements&#38;nbspthat&#38;nbspform&#38;nbspthe&#38;nbsproots&#38;nbspof&#38;nbspActionScript&#38;nbspclass&#38;nbsphierarchies.&#38;nbsp--&#38;gt

&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;ltsource-path&#38;nbsppath-element="${FLEX_HOME}/frameworks"/&#38;gt


&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;lt!--&#38;nbspList&#38;nbspof&#38;nbspSWC&#38;nbspfiles&#38;nbspor&#38;nbspdirectories&#38;nbspthat&#38;nbspcontain&#38;nbspSWC&#38;nbspfiles.&#38;nbsp--&#38;gt

&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;ltcompiler.library-path&#38;nbspdir="${FLEX_HOME}/frameworks"&#38;nbspappend="true"&#38;gt

&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;ltinclude&#38;nbspname="${flex.lib.dir}"&#38;nbsp/&#38;gt

&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;ltinclude&#38;nbspname="../bundles/{locale}"&#38;nbsp/&#38;gt

&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;lt/compiler.library-path&#38;gt


&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;ltcompiler.external-library-path&#38;nbspdir="${flex.lib.dir}"&#38;nbspappend="true"&#38;gt

&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;ltinclude&#38;nbspname="*.swc"/&#38;gt
&#38;nbsp&#38;nbsp&#38;nbsp&#38;nbsp&#38;lt/compiler.external-library-path&#38;gt

&#38;lt/mxmlc&#38;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'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 "include-namespaces" 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 - 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'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="http://labs.adobe.com/wiki/index.php/Talk:Flex_Ant_Tasks#Tasks_don.27t_support_spaces_in_paths" rel="nofollow"&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....

&#60;property name="FLEX_HOME" value="C:\Program Files\Adobe\Flex Builder 2 Plug-in\Flex SDK 2"/&#62;
&#60;property name="flexSDK.libraries" location="${FLEX_HOME}\frameworks\libs" /&#62;
.....
&#60;target name="compile FlexLibrary SWC"&#62;
				&#60;echo&#62;Compile shared FlexLibrary to SWC file &#60;/echo&#62;		
				&#60;exec dir="." executable="cmd" failonerror="true"&#62;
				    &#60;arg line="/c '${flex.compc}'
				        -library-path 	'${flexSDK.libraries}'
					-output=${FlexLibrary.output}"/&#62;
				&#60;/exec&#62;  
	&#60;/target&#62;</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 'compc'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 'C:\Program'&lt;/b&gt; every time even if I use quote characters surrounding -library-path'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>
