Articles about ant’

Mar 9, 2009

Optimising the data loading process with Flex, AIR & Ant: compiled SWF files instead of verbose XML files

Posted by in ActionScript, Flex 6 comments

The project I’m currently working on needs to load large amounts of data. The application uses data which is supplied to us in the form of Excel sheets. The data for one object consists of 4500 records. XML files are typically used for this kind of task. However in this case the XML files are [...]


Feb 3, 2009

OutOfMemory error:PermGen Space with Eclipse/Flex Builder Plugin/Ant

Posted by in Flex 8 comments

This gave me a headache! This error occurred when I was trying to compile 38 separate ActionScript classes into SWF files: OutOfMemory error:PermGen Space If you search for this error you’ll find many blogposts written by utterly frustrated Java developers. It appears to be a dreaded error that is raised when deploying war files to [...]


Aug 4, 2008

How to add the Subversion revision number to an ActionScript class using Ant

Posted by in ActionScript, Flex 4 comments

This comes in quite handy when you want to keep track of which version of your swf file resides on the server. You can trace it out and use Flashtracer or other tools like Flash Inspector. In short, this is what you have to do: Make sure you have the latest Subversion Create a template [...]


Apr 24, 2008

Flex Builder + Ant Build + Debug + Console Output

Posted by in ActionScript, Flex 4 comments

Flex Builder, as opposed to Visual Studio, doesn’t have post-build scripts that allow you to easily copy assets to the build folder. If you need to do this Ant is a good alternative. There can be problems connecting the Ant build process to the debugger though. The solution to this problem is to add a [...]