<?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: Automating Flex Compilation Using ANT</title>
	<atom:link href="http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/</link>
	<description>News and updates from the people at SmartLogic Solutions</description>
	<lastBuildDate>Sat, 17 Dec 2011 12:57:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: deep</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/comment-page-1/#comment-3947</link>
		<dc:creator>deep</dc:creator>
		<pubDate>Mon, 19 Apr 2010 18:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/#comment-3947</guid>
		<description>Hi 

I have created my build.xml to compile flex project. 
in that project we called anothe file in project properties tab under felx project-&gt; properties.

while i compile through command prompt using ant -buildfile=location of my build.xml file.

i was getting error that interface not found.

how to add that file in my build.xml file which is called in project properties tab.

actually all interface are call in that file. so the referance are not found while i compile the code using 

build.xml file.


please anybody help me to sort it out..</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>I have created my build.xml to compile flex project.<br />
in that project we called anothe file in project properties tab under felx project-&gt; properties.</p>
<p>while i compile through command prompt using ant -buildfile=location of my build.xml file.</p>
<p>i was getting error that interface not found.</p>
<p>how to add that file in my build.xml file which is called in project properties tab.</p>
<p>actually all interface are call in that file. so the referance are not found while i compile the code using </p>
<p>build.xml file.</p>
<p>please anybody help me to sort it out..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toks</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/comment-page-1/#comment-3572</link>
		<dc:creator>Toks</dc:creator>
		<pubDate>Wed, 30 Dec 2009 10:14:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/#comment-3572</guid>
		<description>Hi Greg,

Any clue to my ealier request?

In the mean-time, I&#039;m using a batch file to execute the command line: to compile and run the application thus:

 import flash.net.URLRequest;
 private function mxmlFilesComplied():void {
		        
    var request : URLRequest = new URLRequest
               (&#039;C:\\Users\\CELfm\\Desktop\\test.bat&#039;);
    navigateToURL(request );
 }

But not satisfy with this.

Could you help?

Toks</description>
		<content:encoded><![CDATA[<p>Hi Greg,</p>
<p>Any clue to my ealier request?</p>
<p>In the mean-time, I&#8217;m using a batch file to execute the command line: to compile and run the application thus:</p>
<p> import flash.net.URLRequest;<br />
 private function mxmlFilesComplied():void {</p>
<p>    var request : URLRequest = new URLRequest<br />
               (&#8216;C:\\Users\\CELfm\\Desktop\\test.bat&#8217;);<br />
    navigateToURL(request );<br />
 }</p>
<p>But not satisfy with this.</p>
<p>Could you help?</p>
<p>Toks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toks</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/comment-page-1/#comment-3538</link>
		<dc:creator>Toks</dc:creator>
		<pubDate>Mon, 21 Dec 2009 18:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/#comment-3538</guid>
		<description>Hi Greg,

Sorry stressing you! Am confused.

Let me layout my ambition clearly:

Am developing a small Educational Authoring tool, to be used by teachers (without programming skill), to create interactive multiple lessons within each topic of interest. The tool generates an xml file which is converted to main mxml file (as wrapper) and custom components (also mxml files - one for each lesson).

Problem:
 The teacher should be able to click a button on the authoring tool to build the new application (Similar to debug or run on the flex builder 3).

How do I implement the command line compiler or ant on click of a button.

Greatful if you can provide a way out.

Toks</description>
		<content:encoded><![CDATA[<p>Hi Greg,</p>
<p>Sorry stressing you! Am confused.</p>
<p>Let me layout my ambition clearly:</p>
<p>Am developing a small Educational Authoring tool, to be used by teachers (without programming skill), to create interactive multiple lessons within each topic of interest. The tool generates an xml file which is converted to main mxml file (as wrapper) and custom components (also mxml files &#8211; one for each lesson).</p>
<p>Problem:<br />
 The teacher should be able to click a button on the authoring tool to build the new application (Similar to debug or run on the flex builder 3).</p>
<p>How do I implement the command line compiler or ant on click of a button.</p>
<p>Greatful if you can provide a way out.</p>
<p>Toks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toks</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/comment-page-1/#comment-3536</link>
		<dc:creator>Toks</dc:creator>
		<pubDate>Mon, 21 Dec 2009 16:39:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/#comment-3536</guid>
		<description>Hi Greg

Thank you. I&#039;ll try it and get back to you later.

Toks</description>
		<content:encoded><![CDATA[<p>Hi Greg</p>
<p>Thank you. I&#8217;ll try it and get back to you later.</p>
<p>Toks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Jastrab</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/comment-page-1/#comment-3535</link>
		<dc:creator>Greg Jastrab</dc:creator>
		<pubDate>Mon, 21 Dec 2009 16:28:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/#comment-3535</guid>
		<description>Toks: This specific example applies to just Flex, since it&#039;s mxmlc.  For AIR, there is an amxmlc compiler which just passes alternate options to mxmlc.  You can either use the exec Ant tag to run amxmlc or pass the appropriate parameters to mxmlc (specifying the air-config.xml instead of flex-config.xml, etc).</description>
		<content:encoded><![CDATA[<p>Toks: This specific example applies to just Flex, since it&#8217;s mxmlc.  For AIR, there is an amxmlc compiler which just passes alternate options to mxmlc.  You can either use the exec Ant tag to run amxmlc or pass the appropriate parameters to mxmlc (specifying the air-config.xml instead of flex-config.xml, etc).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toks</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/comment-page-1/#comment-3532</link>
		<dc:creator>Toks</dc:creator>
		<pubDate>Mon, 21 Dec 2009 11:00:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/#comment-3532</guid>
		<description>Does the above applies to AIR project, mxmlc is meant for flex main application?

Also, if I have a mxml component specified within the main application mxml (i.e. WindowedApplication), how do I automatte the compilation?</description>
		<content:encoded><![CDATA[<p>Does the above applies to AIR project, mxmlc is meant for flex main application?</p>
<p>Also, if I have a mxml component specified within the main application mxml (i.e. WindowedApplication), how do I automatte the compilation?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Audio Visual Installations</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/comment-page-1/#comment-3468</link>
		<dc:creator>Audio Visual Installations</dc:creator>
		<pubDate>Mon, 14 Dec 2009 05:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/#comment-3468</guid>
		<description>You not going to believe it but I have wasted all day searching for some information about this.  Thanks for this, it was a wonderful read and really helped me out.  Thanks again,&lt;a href=&quot;http://www.rabonesystems.com.au/blog/dynalite/the-benefits-of-dynalite-lighting-control-systems/&quot; rel=&quot;nofollow&quot;&gt;Dynalite&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>You not going to believe it but I have wasted all day searching for some information about this.  Thanks for this, it was a wonderful read and really helped me out.  Thanks again,<a href="http://www.rabonesystems.com.au/blog/dynalite/the-benefits-of-dynalite-lighting-control-systems/" rel="nofollow">Dynalite</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hem Talreja</title>
		<link>http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/comment-page-1/#comment-150</link>
		<dc:creator>Hem Talreja</dc:creator>
		<pubDate>Thu, 24 Jul 2008 19:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.smartlogicsolutions.com/2008/06/15/automating-flex-compilation-using-ant/#comment-150</guid>
		<description>Hi!
You do not need to include individual swc&#039;s in flex 3

Here is the ant script that I&#039;ve used that works...


//////////////////////////////////////////////////////////////////////////////
ANT SCRIPT (Build.xml)
//////////////////////////////////////////////////////////////////////////////



&lt;!-- myMXMLCBuild.xml --&gt;


    

	

    

    

    

	&lt;!-- assuming the name of the &quot;Main mxml file&quot; is  the same as the project name --&gt;
	
        

            &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;
            
                
                
            

			&lt;!-- List of SWC files or directories that contain SWC files. --&gt;
            
                
            

            &lt;!-- Set size of output SWF file. --&gt;
            &lt;!--  --&gt;
        

	

    
        
        
            
        
    








///////////////////////////////////////////////////////////////
Call to the Build.xml

ant -buildfile Build.txt main
///////////////////////////////////////////////////////////////</description>
		<content:encoded><![CDATA[<p>Hi!<br />
You do not need to include individual swc&#8217;s in flex 3</p>
<p>Here is the ant script that I&#8217;ve used that works&#8230;</p>
<p>//////////////////////////////////////////////////////////////////////////////<br />
ANT SCRIPT (Build.xml)<br />
//////////////////////////////////////////////////////////////////////////////</p>
<p><!-- myMXMLCBuild.xml --></p>
<p>	<!-- assuming the name of the "Main mxml file" is  the same as the project name --></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>			<!-- List of SWC files or directories that contain SWC files. --></p>
<p>            <!-- Set size of output SWF file. --><br />
            &lt;!&#8211;  &#8211;&gt;</p>
<p>///////////////////////////////////////////////////////////////<br />
Call to the Build.xml</p>
<p>ant -buildfile Build.txt main<br />
///////////////////////////////////////////////////////////////</p>
]]></content:encoded>
	</item>
</channel>
</rss>

