1 <project name="vimdoclet-run" default="run" basedir=".">
3 <path id="javadoc.classpath">
4 <fileset dir="build"> <include name="vimdoclet.jar"/> </fileset>
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/**" />
14 name="com.naildrivin5.applications.vimdoclet.Main"
15 pathref="javadoc.classpath">
16 <param name="-outputDir" value="${vimdoclet.outputDir}" />
20 <fileset dir="${vimdoclet.outputDir}" includes="java.awt.List.txt, java.awt.List.*.txt" />
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" />
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" />