PDA

View Full Version : Ant and ActionScript 3


EvLSnoopY
11-10-2009, 09:38 PM
Quick question, is it a good idea to use Ant with ActionScript 3? And if so when and where would I use it? It seems like it was primarly used for ActionScript 2. Am I right?

asf8
11-10-2009, 10:43 PM
Looks like AS3 also...

http://hubflanger.com/category/ant/ (4 part tutorial)
http://blog.jodybrewster.net/2008/04/09/installing-ant-in-flex-builder-3/
http://www.simonwhatley.co.uk/using-ant-with-eclipse
http://www.dopelogik.com/documents/actionscript_ant/
http://www.boostworthy.com/blog/?p=194

wvxvw
11-11-2009, 10:29 PM
Ant is basically designed for Javac. In AS3 you can use it in conjunction with flexTask.jar (that is the tasks file that can run MXMLC, COMPC and HTML template generator). It is an interesting thing by itself, and, may automate building big projects composed of number of modules, including HTML templates and / or XML configuration files that need to be updated with every build, but, for an average project you will hardly ever need that... So, if you don't absolutely have to, I'd spend time on learning something else instead :)

EvLSnoopY
11-11-2009, 10:59 PM
Thanks for the information asf8. wvxwv, that is exactly what I needed to hear! I really don't want to waste my time learning something right now that I'm not going to necessary need in the future. And thanks for the explaination, I didn't fully understand what Ant was.