Generates ASDoc for MX Button including the parent classes that this control inherits its members from. : Ant Script « Development « Flex






Generates ASDoc for MX Button including the parent classes that this control inherits its members from.

 

<!--
Code from Flex 4 Documentation "Using Adobe Flex 4".

This user guide is licensed for use under the terms of the Creative Commons Attribution 
Non-Commercial 3.0 License. 

This License allows users to copy, distribute, and transmit the user guide for noncommercial 
purposes only so long as 
  (1) proper attribution to Adobe is given as the owner of the user guide; and 
  (2) any reuse or distribution of the user guide contains a notice that use of the user guide is governed by these terms. 
The best way to provide notice is to include the following link. 
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/

-->



<project name="ASDoc Builder" basedir=".">
    <property name="FLEX_HOME" value="C:/p4/flex/flex/sdk" />
    <property name="OUTPUT_DIR" value="C:/temp/ant/asdoc" />
    <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" />
    <target name="doc">
        <asdoc output="${OUTPUT_DIR}" lenient="true" failonerror="true">
            <compiler.source-path
                path-element="${FLEX_HOME}/frameworks/projects/framework/src" />
            <doc-classes class="mx.controls.Button" />
        </asdoc>
    </target>
    <target name="clean">
        <delete includeEmptyDirs="true">
            <fileset dir="${OUTPUT_DIR}" includes="**/*" />
        </delete>
    </target>
</project>

   
  








Related examples in the same category

1.Generate ASDoc for all components in the Spark namespace
2.Using Ant to create Html wrapper for Flex application
3.Compile Flex component with Jpg image resource, and css file
4.mxmlc task explicitly defines the source-path and library-path options