ASDoc を使用して 2 つのプロジェクトのコードを生成しようとしています。1 つは AIR で実行され、もう 1 つは Flash で実行されます。それぞれ個別に機能する ASDoc 構成ファイルを作成できますが、それらを組み合わせると、AIR と Flash には個別の API があるため、contextMenu と File に関するエラーが発生します。
私の設定:
<flex-config>
<doc-classes>
<class>FlashProject</class>
<class>AIRProject</class>
</doc-classes>
<compiler>
<external-library-path>
<path-element>${flexlib}\libs\player\10.0\playerglobal.swc</path-element>
<path-element>${flexlib}\libs\air\airglobal.swc</path-element>
</external-library-path>
<library-path>
<path-element>${flexlib}\libs</path-element>
<path-element>${flexlib}\libs\air</path-element>
<path-element>${flexlib}\locale\{locale}</path-element>
</library-path>
<source-path>
<path-element>FlashProject\src</path-element>
<path-element>AIRProject\src</path-element>
</source-path>
</compiler>
</flex-config>