Nice. Is that up and searchable on the web (other than in this archive)? It'd be a nice thing to put up on a wiki somewhere.
Christian. On 10-Sep-07, at 11:46 AM, Scott - FastLane wrote: > Jumping in a bit late here... but, I build on the command line using > ant after checking code out of a cvs repos. > > Here are the pertinent sections from my build script... > > <!-- Need this in order to define the flex tasks that we will use > --> > <taskdef resource="flexTasks.tasks" classpath="$ > {proj.dir.thirdparty}/flex/ant_tasks/flexTasks.jar" /> > > <!-- compile the flex code --> > <target name="compileFlex" depends="cleanFlex"> > <echo message="building flex source"/> <mxmlc > file="${tait-flex.dir.src}/MainView.mxml" > output="${proj-flex.dir.bin}/MainView.swf" > actionscript-file-encoding="UTF-8" > keep-generated-actionscript="true" > accessible="false" > incremental="false"> <load-config filename="$ > {proj.dir.flex}/frameworks/flex-config.xml"/> > <source-path path-element="${proj-flex.dir.src}"/ > > <compiler.library-path dir="${proj- > flex.dir.thirdparty}/adobe/" append="true"> > <include name="libs" /> > <include name="datavisualization.swc" /> > </compiler.library-path> </mxmlc> > > <echo message="done building flex source"/> > > </target> > > Notes: You will need to download the flexTasks.jar jar > <http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks > > file, and you may not need the datavisualization stuff... I have > that for AdvancedDataGrid. > > hth > Scott > > Mark Ingram wrote: >> >> Well that's exactly what I'm planning to do. I have a development >> server setup and I have a powershell script which can checkout >> specific revisions of code. The next step from here is to build >> those revisions and that's when I hit the brick wall J >> >> >> >> >> ------------------------------------------------------------------------ >> >> *From:* flexcoders@yahoogroups.com >> [mailto:[EMAIL PROTECTED] *On Behalf Of *Christian Edward >> Gruber >> *Sent:* 10 September 2007 16:09 >> *To:* flexcoders@yahoogroups.com >> *Subject:* Re: [flexcoders] How to build on command line? >> >> >> Depending on how you want to work from the command-line, there are >> also automated ways of doing it, using ant or maven. For one-shot >> efforts, or to test things out it's probably not worth it, but if >> you're going to build often from the command-line, you might want to >> consider using an automated build system and configure it to work >> with >> your config. >> >> regards, >> Christian. >> >> On 10-Sep-07, at 10:30 AM, Mark Ingram wrote: >> >> > That's great, thanks. I've outputted the compiler options from >> > FlexBuilder, rather than use this complete file, should I just take >> > the >> > relevant sections and apply these on the command line? >> > >> > >> > >> > Thanks, >> > >> > >> > >> > Mark >> > >> > >> > >> > >> > >> > ________________________________ >> > >> > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com >> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com >> >] >> > On >> > Behalf Of John Robinson >> > Sent: 10 September 2007 15:24 >> > To: flexcoders@yahoogroups.com <mailto:flexcoders >> %40yahoogroups.com> >> > Subject: Re: [flexcoders] How to build on command line? >> > >> > >> > >> > The simplest use I can think of: >> > >> > >> > >> > mxmlc -output=path/to/whatever.swf -file-specs=path/to/ >> whatever.mxml >> > >> > >> > >> > There are a bunch more options available but that should at least >> get >> > you an swf. >> > >> > >> > >> > John >> > >> > >> > >> > On Sep 10, 2007, at 9:23 AM, Mark Ingram wrote: >> > >> > >> > >> > >> > >> > Hi, what steps do I need to take to build a flex project from the >> > command line? I've had a look at mxmlc and it's options, but it >> > doesn't >> > give me any clear clues about what parameters I need to pass >> through >> > to >> > it. >> > >> > Are there any good examples out there? >> > >> > >> > >> > Cheers, >> > >> > >> > >> > Mark >> > >> > >> > >> > >> > >> >> >