Well, there are instructions around for using Ant, I believe.  I use  
maven myself and just released v1.1 of the flex maven plugin.  These  
tend to be a bit more robust than using a shell script, and both can  
include configuration to interact with your CVS/SVN/whatever server.

You're right though, the documentation on the command-line approach to  
flex compilation is a little weak, and lots of options are documented  
without a lot of real-world examples, sadly.  I would tend to take the  
simplest approach first, only adding the options you know you are  
using based on your FB settings, and add what you need on top.

I've little familiarity with relevant ANT builds of flex, but if you  
decide to try out maven and are having any trouble, shoot me an e- 
mail, and I'll try to help.

Christian.

On 10-Sep-07, at 11:24 AM, 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 :-)
>
>
>
>
>
>
>
> ________________________________
>
> 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
>>
>>
>>
>>
>>
>
>
>

Reply via email to