Compiling Flex Applications In Eclipse
Posted By : todd sharp Posted At : April 24, 2007 8:05 AM Posted In: Flex
7
A few folks have commented on my entry about Setting up Eclipse for Flex 2 asking how to compile a Flex application from within Eclipse (without Flex Builder). I'd like to post a complete step-by-step guide on how to do so but the truth is it's already been done - so I'll just link to it here. For compiling I personally use Flex2Ant which is a very cool way to do this. The guide at Flex2Ant.org is very detailed and takes you through installing the jar file, creating a build.xml file and running the Ant task that compiles the SWF. I've found this method to work pretty flawlessly. There is a bit of extra work involved when deploying the project (you'll likely want to use one of the HTML wrappers that ship with the Flex 2 SDK). But then again you can't beat the price ($0.00).
Oh yeah - there's also a few options up at Labs for compiling. As I said above though, Flex2Ant works well for me so I really never felt the need to look into those solutions. Post a comment if you use them - or something else - to compile your SWFs.



I've been thinking about including Apollo functionality for completeness. I might do an update on the website in the next month or so depending on the amount of work necessary.
Thanks for your help and support.