Quick Example : Using COMPC to compile SWCs http://weblogs.macromedia.com/mesh/archives/2006/05/quick_example_u.html
Example : Using ANT with COMPC to compile SWCs http://weblogs.macromedia.com/mesh/archives/2006/05/example_using_a.html mike chambers [EMAIL PROTECTED] dorkie dork from dorktown wrote: > > > This was just posted on one of the adobe blogs. > > http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks > <http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks> > > On 1/24/07, *dorkie dork from dorktown* > <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > cool. thank you > > > On 1/24/07, *Darron J. Schall* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Have a look at one of the build scripts I wrote for the > ActionScript 3.0 > Libraries on Google Code: > > http://as3syndicationlib.googlecode.com/svn/trunk/build/ > <http://as3syndicationlib.googlecode.com/svn/trunk/build/> > > The "lib" target is what you're looking for. If you need additional > options, just run "compc -help" from the command line and follow > the > instructions for detailed help. > > -d > > > > dorkie dork from dorktown wrote: > > > > Is there an Ant build script that will export a component to > an swc? I > > have written what seems to be a very basic one that exports a > mxml > > component using a script file but it doesn't work with the > flex-config > > file. > > > > build.xml - > > > > <?xml version="1.0" ?> > > <project default="main"> > > <target name="main" depends="compile" description="Main target"> > > <echo> > > Building the component for you > > </echo> > > </target> > > > > <target name="compile" description="Compilation target"> > > <exec command="compc -load-config Countdown-config.xml"/> > > </target> > > > > </project> > > > > Countdown-config.xml - > > > > <?xml version="1.0"?> > > <flex-config xmlns=" http://www.adobe.com/2006/flex-config > <http://www.adobe.com/2006/flex-config> > > <http://www.adobe.com/2006/flex-config > <http://www.adobe.com/2006/flex-config>>"> > > <compiler> > > <source-path> > > <path-element>.</path-element> > > <path-element>C:\Documents and Settings\Judah\My > > Documents\Flex Builder 2\Countdown</path-element> > > </source-path> > > <output>C:\Documents and Settings\Judah\My Documents\Flex > > Builder 2\ComponentTester\swc\Countdown.swc</output> > > </compiler> > > > > <include-classes> > > <class>Countdown</class> > > </include-classes> > > </flex-config> > > > > > > > > > >
