Compiling Flex Applications In Eclipse

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.

Comments
Todd, glad to hear you like flex2ant. If you have any suggestions for improving flex2ant then please let know by sending a email to info {at} flex2ant [.] org.
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.
# Posted By Luke | 4/25/07 7:51 PM
flex compiler shell seems to increase builds by 50% i dont know if this applies with ant taks inside eclipse but i would be interested to see some real implementations in eclipse with that and some benchmark tests... dam thing i am to much of an dumb dude to do myself.. mama why?
# Posted By kzm | 6/27/07 10:31 AM
Thanks for sharing this, it works great!
# Posted By martha flag | 7/23/07 2:08 PM
I'm new to flex/eclipse. I would like to do all flex development using eclipse. I've tried following the blog instructions to no avail. Do I need to buy flex builder in order for this to work? Someone help before I have no hair left!!
# Posted By matt | 1/4/08 6:39 PM
I have installed eclipse 3.4 and I have installed all the zip folders as mentioned in the post "emf-sdo-xsd-SDK-2.2.2.zip, GEF-SDK-3.2.2.zip, JEM-SDK-1.2.3_jem.zip, wtp-wst-R-1.5.3.zip ", could not able to find the xml catalog and I am was unable to find mxml.xsd, since I am using flex_sdk_3. Please email me how to setup flex with eclipse, since we want to work out this without flex builder.

Thanks for your help and support.
# Posted By Stalin Selvam | 7/21/08 8:18 AM

Calendar

Sun Mon Tue Wed Thu Fri Sat
     12
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31       

Subscribe

Enter your email address to subscribe to this blog.

Tags

actionscript ajax blogging cfsnippets coldfusion flash forms flex funny stuff misc model-glue off topic personal project learn slidesix sql

Recent Comments

ColdFusion/Sharepoint Integration - Part 1 - Authenticating
todd sharp said: Jenn: Check your email. Todd [More]

ColdFusion/Sharepoint Integration - Part 1 - Authenticating
Jenn said: When does the next issue of FAQU come out? For that matter is it at all possible to get a preview o... [More]

A Major Milestone In My Marriage
Brian Meloche said: I converted my wife last year. That said, I find Firefox 3 a bit crashy. [More]

SlideSix Gets PDF Support
todd sharp said: Do you mean add numbering to the PDF output? If so, yeah, that would be easy. Just to be clear tho... [More]

SlideSix Gets PDF Support
salvatore fusto said: nice work Todd, but can you add slide numbering: 1/N, 2 of N and so long? it would be useful. regard... [More]

RSS


coldfusionbloggers

FullAsAGoog MXNA

Consumed By Feed-Squirrel.com