Ant から asdoc を作成するときに依存関係を除外する方法について、StackOverflow に関するいくつかの質問を読みましたが、正しく理解できない可能性があります。
ここ ( http://livedocs.adobe.com/flex/3/html/help.html?content=asdoc_9.html ) では、単に -exclude-dependencies 引数を true または false に設定するように指示されていますが、エラーが発生します。以下は、Ant の出力です。
Generate ASDoc:
[echo] --- Generate ASDoc ---
[exec] Error: no default arguments are expected
[exec] Use 'asdoc -help' for information about using the command line.
[exec] Adobe ASDoc
[exec] Version 4.6.0 build 23201
[exec] Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
[exec] Result: 1
Ant タスクは次のとおりです。
<target name="Generate ASDoc">
<echo>--- Generate ASDoc ---</echo>
<!-- delete all files in the doc dir -->
<delete
includeemptydirs="true"
>
<fileset
dir="${DOCS_TARGET_DIRECTORY}"
includes="**/*"
/>
</delete>
<!-- create docs -->
<exec executable="${ASDOC_DIRECTORY}" >
<arg line="-doc-sources '${SOURCE_DIRECTORY}' "/>
<arg line="-exclude-dependencies true"/>
<arg line="-output '${DOCS_TARGET_DIRECTORY}' "/>
<arg line="-main-title 'Title' "/>
<arg line="-window-title 'Title' "/>
</exec>
<!-- compress docs -->
<antcall target="Compress ASDoc" description="Compress asdocs" />
</target>
使い方が間違っているのではないかと。何か案は?ありがとう!