-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
37 lines (30 loc) · 1.06 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
35
36
37
<project name="History Flow Subversion plugin" default="deploy-plugin-jar" basedir=".">
<property file="build.properties" />
<target name="prepare">
<!-- Create the build directory -->
<mkdir dir="build" />
</target>
<target name="make-plugin-jar" depends="prepare">
<!-- Delete old JAR -->
<delete file="build/${plugin.jar}" />
<!-- Create JAR -->
<jar destfile="build/${plugin.jar}" manifest="manifest.mf">
<fileset dir="bin">
<include name="**" />
</fileset>
</jar>
</target>
<target name="deploy-plugin-jar" depends="make-plugin-jar">
<copy file="build/${plugin.jar}" todir="${historyflow.dir}/plugins" overwrite="yes" />
<copy todir="${historyflow.dir}/plugins">
<fileset dir="lib">
<include name="jdom.jar" />
<include name="svnkit.jar" />
<include name="swixml.jar" />
</fileset>
</copy>
</target>
<target name="run-historyflow" depends="deploy-plugin-jar">
<java dir="${historyflow.dir}" fork="true" jar="${historyflow.dir}/historyflow.jar" />
</target>
</project>