我希望我的ant
构建器同时构建Scala
和Java
. 如何在我的lang
领域和includes
领域中同时包含两种语言?需要使用什么分隔符?目前target
看起来是这样的:
<target name="foobar">
<target lang="java"> [Here I need to include both Scala and Java]
<classpath>
<useimport path="imports"/>
</classpath>
<source base="src/foobar" includes="**/*.java"/> [Here I need to include both Scala and Java file regex]
</target>
</target>
我如何实现这一目标?