1 <project name="vimdoclet-run" default="run" basedir=".">
3 <path id="javadoc.classpath">
4 <fileset dir="bin"> <include name="*.jar"/> </fileset>
5 <fileset dir="lib"> <include name="*.jar"/> </fileset>
8 <target name="run" depends="check.run.properties"
9 description="Runs the doclet on the java source. See README">
10 <delete dir="${vimdoclet.outputDir}" />
11 <mkdir dir="${vimdoclet.outputDir}" />
12 <javadoc maxmemory="512M" classpathref="javadoc.classpath">
13 <packageset dir="${vimdoclet.source.root}" excludes="com/**, sun/**, sunw/**, org/ietf/**, org/jcp/**, org/relaxng/**" />
15 name="com.naildrivin5.applications.vimdoclet.Main"
16 pathref="javadoc.classpath">
17 <param name="-outputDir" value="${vimdoclet.outputDir}" />
21 <fileset dir="${vimdoclet.outputDir}" includes="java.awt.List.txt, java.awt.List.*.txt" />
25 <target name="check.run.properties" depends="check.run.properties.source.root, check.run.properties.outputDir" />
26 <target name="check.run.properties.source.root" unless="vimdoclet.source.root">
27 <fail message="You must set vimdoclet.source.root to the root of the sources you wish to process" />
29 <target name="check.run.properties.outputDir" unless="vimdoclet.outputDir">
30 <fail message="You must set vimdoclet.outputDir to the directory where you want the files to go" />