Thanks a lot. I was thinking something along those lines but was
hoping that it would be possible to specify multiple files somehow.

Aejaz

--- In [email protected], Maciek Sakrejda <msakre...@...> wrote:
>
> Refactor your build.xml to pass the module mxml target as an ant
> property, and call this from another target. E.g.,
> 
> <target name="build-modules">
>   <antcall target="build-module"">
>     <param name="module.mxml" value="module1.mxml"/>
>   </antcall>
>   <antcall target="build-module"">
>     <param name="module.mxml" value="module2.mxml"/>
>   </antcall>
>   <antcall target="build-module"">
>     <param name="module.mxml" value="module3.mxml"/>
>   </antcall>
> </target>
> 
> <target name="build-module">
>   <mxmlc file="flex/src/${module.mxml}" ...
> 
> -- 
> Maciek Sakrejda
> Truviso, Inc.
> http://www.truviso.com
> 
> -----Original Message-----
> From: aejaz_98 <aejaz...@...>
> Reply-To: [email protected]
> To: [email protected]
> Subject: [flexcoders] How to compile multiple modules with mxmlc ant
> task
> Date: Tue, 27 Jan 2009 18:31:32 -0000
> 
> Hi,
> 
> Is it possible to give multiple mxml files under the 
> file property of mxmlc task ?
> 
> Without this my build.xml is becoming very big due to 
> repetition of many mxmlc sections, the only difference being 
> the value of the file property.
> 
> Thanks,
> Aejaz
>


Reply via email to