-
Notifications
You must be signed in to change notification settings - Fork 30
/
build.xml
34 lines (29 loc) · 1.24 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" ?>
<!DOCTYPE project>
<!-- Configuration of the Ant build system to generate a Jar file -->
<project name="Bootstrap.jsp" default="jar">
<target name="classpath">
<path id="tomcat">
<fileset dir="/home/darrenscott/Abscissa/eclipse/tomcat/lib" includes="*.jar"/>
<fileset dir="lib" includes="*.jar"/>
</path>
</target>
<target name="jar" description="Create Jar file" depends="tldgen">
<jar jarfile="dist/bootstrap.jsp.jar" basedir="build/classes" />
</target>
<target name="tldgen" description="Create taglib.tld" depends="classpath">
<javadoc access="private" useexternalfile="true" sourcepath="src" classpathref="tomcat" docletpathref="tomcat">
<doclet name="org.tldgen.TldDoclet">
<param name="-name" value="taglib"/>
<param name="-displayName" value="Bootstrap.jsp"/>
<param name="-uri" value="http://bootstrapjsp.org/"/>
<param name="-tldFolder" value="build/classes/META-INF"/>
<param name="-htmlFolder" value="docs/tags"/>
</doclet>
</javadoc>
</target>
<target name="docs" description="Create Javadocs" depends="classpath">
<javadoc access="private" useexternalfile="true" sourcepath="src" classpathref="tomcat" destdir="docs/api">
</javadoc>
</target>
</project>