1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-09-30 15:59:05 +00:00
plantuml-server/build.xml

41 lines
1.2 KiB
XML
Raw Normal View History

2011-01-30 17:55:02 +00:00
<project default="main" basedir=".">
<target name="main" depends="clean,compile,war">
</target>
<target name="init">
<!-- overwrite with your own values in a user.property file -->
<property file="user.property" />
<property name="tomcat-home" value="/tomcat" />
<property name="debug" value="false" />
<path id="project-classpath">
<fileset dir="WEB-INF/lib" includes="*.jar" />
<fileset dir="${tomcat-home}/lib" includes="*.jar" />
</path>
</target>
2011-01-30 17:55:02 +00:00
<target name="clean">
<delete file="plantuml.war" />
<delete dir="WEB-INF/classes" />
<mkdir dir="WEB-INF/classes" />
</target>
<target name="compile" depends="init">
<javac srcdir="WEB-INF/src" destdir="WEB-INF/classes" debug="${debug}" classpathref="project-classpath" />
2011-01-30 17:55:02 +00:00
</target>
<target name="war">
<war destfile="plantuml.war"
webxml="WEB-INF/web.xml">
<classes dir="WEB-INF/classes" />
<fileset dir="content" />
2011-01-30 17:55:02 +00:00
<lib dir="WEB-INF/lib" />
</war>
</target>
<target name="deploy" depends="main">
<copy file="plantuml.war" todir="${tomcat-home}/webapps" overwrite="true" />
</target>
2011-01-30 17:55:02 +00:00
</project>