﻿<?xml version="1.0" encoding="UTF-8"?><project name="asdoc" default="main" basedir=".">	<!-- The Location of Flex on your Computer -->	<property name="Flex.dir" location="C:\Program Files\Adobe\Flex Builder 2 Plug-in"/>		<!-- The Location of FlexSDK on your Computer -->	<property name="FlexSDK.dir" location="${Flex.dir}\Flex SDK 2"/>			<!-- The Location of ASDocs on your Computer -->	<property name="AsDocs.dir" location="${FlexSDK.dir}\bin\asdoc.exe"/>		<!--	The Location of your Application Classes on your Computer	NOTE: This Path should be reletive to the build.xml file.	NOTE: ${basedir} is an ant property that represents the directory holding the build.xml file	NOTE: I have encountered issues with this folder containing Spaces	-->	<property name="AppClasses.dir" location="${basedir}\..\src"/>			<!--	The Location you wish to output to on your Computer	NOTE: I have encountered issues with this folder containing Spaces	NOTE: This location gets DELETED and re-generated each time the build is run	-->	<property name="Output.dir" location="${basedir}\output\AppDocs" />	 	<!-- Execute the ASDoc Compile -->	<target name="main" depends="clean,compile" description="full build of asdocs"/>	<!--	DELETE the existing output folder and files and then re-generate the output folder	-->	<target name="clean">		<delete dir="${Output.dir}" failOnError="false" includeEmptyDirs="true"/>		<mkdir dir="${Output.dir}"/>	</target>	<!--	Run the ASDoc executable and generate the ASDocs to the new output folder	-->	<target name="compile">		<exec executable="${AsDocs.dir}" failonerror="true">			<arg line='-doc-sources ${AppClasses.dir}'/>			<arg line='-window-title "My Application"'/>			<arg line='-output ${Output.dir}'/>		</exec>	</target>	</project>