Well I got around to playing with fcsh and man it’s so much faster. For one of my projects, each build (with incremental=true option) takes about 4-5 seconds. Under fcsh, the same project initally takes that long but each build thereafter using the compile id command took only 200ms or so even with changes to various source files.
Now to figure out how to use it with Ant. I found this post by Brian Diette and tried out his suggestion by setting the inputstring attribute for an exec task which worked. However, this approach executes a new shell process each time so it does not take advantage of the libraries loaded into memory with a single persistent one. For now, I have fcsh as an external tool in Eclipse which shows up in the console view. I then edited my Ant build script to echo the mxml command string instead of executing which I can paste it into the fcsh console and then just call compile id on subsequent builds. Yea it’s ugly but it’ll do for now.
Tagged: flash