Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 使用Flex Compant任务将目录/通配符的内容编译到SWC_Apache Flex_Ant_Compc - Fatal编程技术网

Apache flex 使用Flex Compant任务将目录/通配符的内容编译到SWC

Apache flex 使用Flex Compant任务将目录/通配符的内容编译到SWC,apache-flex,ant,compc,Apache Flex,Ant,Compc,以下是我通常如何编写编译任务: <compc keep-generated-actionscript="true" include-classes="Class1 Class2 com.package.Class3" output="${module.output.dir}/output.swc" fork="${flex.fork}" maxmemory="256m"> <source-path path-element

以下是我通常如何编写编译任务:

    <compc keep-generated-actionscript="true"
        include-classes="Class1 Class2 com.package.Class3"
        output="${module.output.dir}/output.swc" fork="${flex.fork}" maxmemory="256m">
        <source-path path-element="${module.basedir}/src"/>
    </compc>

我要寻找的是一种编译整个类控制器的方法,而不必指定每个类。我确信已经有了一个选项,但我无法理解确切的语法


提前谢谢你

好吧,多亏了里克·赫里克,我找到了答案:

    <compc output="${module.output.dir}/output.swc" fork="${flex.fork}" maxmemory="256m">
        <source-path path-element="${module.basedir}/src"/>
        <include-sources dir="${module.basedir}/src" includes="*" />
    </compc>

摘自: