Flex Builder Ant Scripts

Welcome to the FlashGen.Com Flex Biulder Ant Script page.Here you will find the latest information on the Flex Builder Ant scripts developed to in some way make your development processes smoother and easier.

Articles on how to use these scripts:

At this point in time these scripts will only work on Mac OS X 10.4+ (tested) and *nix (untested). This is due to the fact that they utilise a lot of bash shell commands. I suspect you would have no trouble using them on Windows but you will need to install Cygwin. A Windows version is planned in the future but no firm releae date has been set.

Currently these scripts include the following:

  • Generate a custom Manifest.xml file (used in the Flex Library, advanced compiling and namespace management)
  • Generate a custom Config.xml file (allowing the overriding of compiler information and remove the need to set flags in the preferences panel)
  • ASDoc support from within Flex Builder (this one is a biggy for Mac users as there is a pathing bug in the ASDoc scripts that prevent paths with spaces working correctly)

Things on the todo list are:

  • Add in the services parameter (this I have working but I just need to tidy up the logic in the main script)
  • Include my ASDocs tasks
  • Include a few more of the compiler parameters
  • Work out how to get the code hinting to work if you use a namespace in this manner as opposed to the xxx.* style namesapces
  • Windows version

Download the latest version of the scripts here*

*Please note these are provided without warranty or support and FlashGen.Com cannot be held responsible if these scripts achieve world dominance or just mess stuff up!

Change Log
0.8

  • Fixed ASDoc Ant task
  • Added additional parameters to ASDoc execution
  • Added Window text support
  • Added Page title text support
  • Added Footer text support
  • Updated Symbolic Linking to automatically remove at process exit

0.7

  • Added ASDoc support in Ant script
  • Added script sub directory
  • Added Symbolic linking
  • Migrated external scripts to script directory

0.6

  • Fixed erroneous parameter in Ant task
  • Added services support in Ant and Shell scripts

0.5

  • Added flex-config support
  • Added manifest sorting
  • Added manifest commenting of base files

0.4

  • Fixed manifest xml regex
  • Added flex-config parameters to Ant script

0.3

  • Created Shell script "GenerateConfig"

0.2

  • Fixed regex bug in directory listing
  • Added find command to "GenerateManifest"
  • Added external parameters for directory location
  • Removed ls command

0.1

  • Created initial Shell script GenerateManifest
  • Created initial Ant script
  • Added initial sed regex for directory manipulation of files

Known Issues:
0.7: If your main application file name is lower case the XML manifest will not convert it (Regex)
0.5: Additional Ant parameter being passed in task to create custom flex-config XML)
0.3: Regex doesn’t comment out root MXML file by default
0.1: Regex issue when writing directory listing (ordering is not correct)

One Comment

  1. Pingback: koko8829's me2DAY

Leave a Reply

Your email address will not be published. Required fields are marked *