Simplify code in module script/xml generation
Pass classpath and annotation roots explicitly instead of wrapped in a callback
This commit is contained in:
@@ -3,28 +3,28 @@
|
||||
<module name="name" outputDir="output">
|
||||
<sources path="s1"/>
|
||||
<sources path="s2"/>
|
||||
<!-- External annotations -->
|
||||
<externalAnnotations path="a1/f1"/>
|
||||
<externalAnnotations path="a2"/>
|
||||
<!-- s1 -->
|
||||
<!-- Classpath -->
|
||||
<!-- Output directory, commented out -->
|
||||
<!--
|
||||
<classpath path="cp1"/>
|
||||
-->
|
||||
<classpath path="cp2"/>
|
||||
<!-- External annotations -->
|
||||
<externalAnnotations path="a1/f1"/>
|
||||
<externalAnnotations path="a2"/>
|
||||
</module>
|
||||
<!-- Module script for tests -->
|
||||
<module name="name2" outputDir="output2">
|
||||
<sources path="s12"/>
|
||||
<sources path="s22"/>
|
||||
<!-- External annotations -->
|
||||
<externalAnnotations path="a12/f12"/>
|
||||
<externalAnnotations path="a22"/>
|
||||
<!-- s12 -->
|
||||
<!-- Classpath -->
|
||||
<!-- Output directory, commented out -->
|
||||
<!--
|
||||
<classpath path="cp12"/>
|
||||
-->
|
||||
<classpath path="cp22"/>
|
||||
<!-- External annotations -->
|
||||
<externalAnnotations path="a12/f12"/>
|
||||
<externalAnnotations path="a22"/>
|
||||
</module>
|
||||
</modules>
|
||||
|
||||
Reference in New Issue
Block a user