0

我希望我的ant构建器同时构建ScalaJava. 如何在我的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>

我如何实现这一目标?

4

0 回答 0