check this (-dump-config):
http://kb2.adobe.com/cps/404/kb404341.html
this will get you a xml config file with (hopefully) all includes, which you
can use in your ant task:
<target name="compile" depends="stamp-revision">
<mxmlc file="${source.dir}/dummy.mxml"
output="${deploy.dir}/dummy_v${version.num}r${src.revision}b${build.number}.swf">
<load-config
filename="${basedir}/build/buildconfig-${release.type}.xml"/>
</mxmlc>
</target>
k.
--- In [email protected], "pratikshah83" <pratiksha...@...> wrote:
>
> Hi Folks,
>
> I am trying to automate flex build process using ANT build script. But I am
> facing an issue and cannot find any enough documentation.
> According to the flex docs
> <compc output="${DEPLOY_DIR}/MyComps.swc"
> include-classes="custom.MyButton custom.MyLabel">
> <source-path path-element="${basedir}/components"/>
> <include-file name="f1-1.jpg" path="assets/images/f1-1.jpg"/>
> </compc>
>
> I need to include each and every class and assets files, but I have like 200
> different classes and images in my project, do you know any easier way to
> include everything ?
>
> Suggestions would be appreciated.
>
> Thanks
> Pratik
>