Add build.xml ant file

This commit is contained in:
Arnaud Roques 2011-01-30 18:55:02 +01:00
parent 6987ea42ab
commit 035c16ebfa
2 changed files with 32 additions and 0 deletions

32
build.xml Normal file
View File

@ -0,0 +1,32 @@
<project default="main" basedir=".">
<property name="tomcat-home" value="/tomcat" />
<path id="project-classpath">
<fileset dir="WEB-INF/lib" includes="*.jar" />
<fileset dir="${tomcat-home}/lib" includes="*.jar" />
</path>
<target name="main" depends="clean,compile,war">
</target>
<target name="clean">
<delete file="plantuml.war" />
<delete dir="WEB-INF/classes" />
<mkdir dir="WEB-INF/classes" />
</target>
<target name="compile">
<javac srcdir="WEB-INF/src" destdir="WEB-INF/classes" classpathref="project-classpath" />
</target>
<target name="war">
<war destfile="plantuml.war"
webxml="WEB-INF/web.xml">
<classes dir="WEB-INF/classes" />
<fileset file="favicon.ico" />
<lib dir="WEB-INF/lib" />
</war>
</target>
</project>

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB