-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
31 lines (28 loc) · 1.22 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
<project name="File Manager Ant Helper" default="maven">
<condition property="maven.executable" value="mvn.bat">
<os family="windows"/>
</condition>
<property name="maven.executable" value="mvn"/>
<property file="build.properties"/>
<target name="maven">
<property name="target" value="clean install"/>
<exec dir="." executable="${maven.executable}" failonerror="true">
<arg line="-DapplicationVersion=${applicationVersion} ${target}"/>
</exec>
<exec dir="./file-manager-web" executable="${maven.executable}" failonerror="true">
<arg line="-DapplicationVersion=${applicationVersion} jetty:run"/>
</exec>
</target>
<target name="tree">
<property name="target" value="dependency:tree"/>
<exec dir="." executable="${maven.executable}" failonerror="true">
<arg line="-DapplicationVersion=${applicationVersion} ${target}"/>
</exec>
</target>
<target name="clean">
<property name="target" value="clean"/>
<exec dir="." executable="${maven.executable}" failonerror="true">
<arg line="-DapplicationVersion=${applicationVersion} ${target}"/>
</exec>
</target>
</project>