fixed some formatting typos
[vimdoclet.git] / run.xml
blobd28d5203e680df40cbb04221e650dd77d772659d
1 <project name="vimdoclet-run" default="run" basedir=".">
3     <path id="javadoc.classpath">
4         <fileset dir="build"> <include name="vimdoclet.jar"/> </fileset>
5     </path>
7     <target name="run" depends="check.run.properties"
8         description="Runs the doclet on the java source.  See README">
9         <delete dir="${vimdoclet.outputDir}" />
10         <mkdir dir="${vimdoclet.outputDir}" />
11         <javadoc maxmemory="512M" classpathref="javadoc.classpath">
12             <packageset dir="${vimdoclet.source.root}" excludes="com/**, sun/**, sunw/**, org/**" />
13             <doclet 
14                 name="com.naildrivin5.applications.vimdoclet.Main"
15                 pathref="javadoc.classpath">
16                 <param name="-outputDir" value="${vimdoclet.outputDir}" />
17             </doclet>
18         </javadoc>
19         <delete>
20             <fileset dir="${vimdoclet.outputDir}" includes="java.awt.List.txt, java.awt.List.*.txt" />
21         </delete>
22     </target>
24     <target name="check.run.properties" depends="check.run.properties.source.root, check.run.properties.outputDir" />
25     <target name="check.run.properties.source.root" unless="vimdoclet.source.root">
26         <fail message="You must set vimdoclet.source.root to the root of the sources you wish to process" />
27     </target>
28     <target name="check.run.properties.outputDir" unless="vimdoclet.outputDir">
29         <fail message="You must set vimdoclet.outputDir to the directory where you want the files to go" />
30     </target>
31     
32 </project>