• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Compile Multiple MXML files(FLEX) from ANT

 
Manish Doomra
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I am compiling mxml files(Flex files) from Ant, for the Flex-ant tasks, I am including "flexTasks.jar"

The problem is that mxmlc task which compiles only a single file.
The syntax of mxmlc task is as follows:-


But our application requires multiple mxml files to get compiled.

Can you suggest a method for the same.

I have tried making a batch file which i have found it on internet, but unable to proceed with it.
The content of batch file is as follows, this batch file was then called by ant.


For your reference:-

Can you suggest me with a new approach to do the same...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34863
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manish,
Do you want to compile them all in one shot or one at a time. (I've never used Flex so I don't know how things work.)

If the later, you could use Ant-Contrib's looping tag to go through the mxml files and compile them one at a time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic