Two new tools: Flex Ant tasks and Flex compiler shell

Check out the wiki pages for two new command-line tools that we are releasing on Labs:

  • Flex Ant tasks — Makes building your large projects much easier with the mxmlc, flex, and html-wrapper custom Ant tasks.
  • Flex compiler shell — Compiles Flex apps quicker because it loads the framework classes into memory.

Enjoy. Deploy.

3 Responses to Two new tools: Flex Ant tasks and Flex compiler shell

  1. judah says:

    i’m having a tough time getting this to work. could you elaborate on the subtopics in this section.http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks#Using_Flex_Ant_tasksspecifically you state,To use the custom Flex Ant tasks in your Ant projects, you must add the flexTasks.jar file to your project’s lib directory (my project doesnt have a lib directory), and then point to that JAR file in the taskdef task (what is a taskdef and how do i create one?). In addition, for most projects you set the value of the FLEX_HOME variable so that Ant can find your flex-config.xml file (what is that and how do i do it?).

  2. Matthew Horn says:

    > (what is a taskdef> and how do i create one?).A taskdef is like a classpath entry for your Ant project: you need to add one for new tasks that are not part of the Ant package. In this case, you are adding the Flex ant tasks (like adding a package of classes). To make one available for use in your ant projects, use something like this:> In addition, for most projects you> set the value of the FLEX_HOME variable so that Ant can find your> flex-config.xml file (what is that and how do i do it?).Your flex-config.xml file is in your frameworks directory. You set FLEX_HOME (or whatever you want to call it) to be the directory above that:I would suggest you pick up a book like “Ant: The Definitive Guide” from Amazon. It took me about half a day to read the first few chapters, which was all I really needed to start writing my own Ant scripts. In addition, you can check the Ant documentation here: http://ant.apache.org/manual/index.htmlhth,matt hornflex docs

  3. klip indir says:

    Thank you for your nice and didactic writing.