Skip to content

Instantly share code, notes, and snippets.

@mimshwright
Created November 14, 2009 00:28
Show Gist options
  • Save mimshwright/234294 to your computer and use it in GitHub Desktop.
Save mimshwright/234294 to your computer and use it in GitHub Desktop.
sample ant using asdoc
<property name="project.sourcePath" location="${basedir}/src"/>
<property name="project.libraryPath" location="${basedir}/libs"/>
<property name="project.output.docsPath" location="${basedir}/docs"/>
<!-- Point this to the binary path in the SDK folder that you're using. -->
<property name="flex.binaryPath" location="${FLEX_HOME}/bin">
<target name="docs" description="Compiles the asdocs in the source code into HTML.">
<exec executable="${flex.binaryPath}/asdoc" failonerror="true" description="Compiles the asdocs">
<arg line="-source-path ${project.sourcePath}"/>
<arg line="-library-path ${project.libraryPath}"/>
<arg line="-doc-sources ${project.sourcePath}"/>
<arg line="-window-title "My project title"/>
<arg line="-output ${project.output.docsPath}"/>
</exec>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment