subant を使用していますが、プロローグでコンテンツが許可されていませんという問題が発生しています。
<subant target="main" genericantfile="build.xml">
<fileset dir = "." />
</subant>
エラー:
The following error occurred while executing this line:
pattern.py:1: Content is not allowed in prolog.
これらのフォルダーには、python ファイルなどの異なるファイルがあることに注意してください。
ファイルリストを使用して明示的なリストを使用すると、すべて正常に機能します。
<subant target="main" genericantfile="build.xml">
<filelist dir="."
files = "A/build.xml,
B/build.xml"
/>
</subant>