forked from violetlib/vaquaclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
28 lines (22 loc) · 981 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="VAquaClient" default="install" basedir=".">
<property name="debug" value="true"/>
<property name="bootclasspath" location="${user.home}/javalib/boot/rt8.jar" />
<property name="jarfile" value="release/dist/VAquaClient.jar"/>
<target name="build">
<ant dir="release"/>
</target>
<target name="install" depends="build">
<copy todir="${user.home}/javalib/" file="${jarfile}"/>
<copy todir="${user.home}/build/products/jars/" file="${jarfile}"/>
<exec dir="${basedir}" executable="mvn" os="Mac OS X">
<arg value="org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install-file"/>
<arg value="-Dfile=${jarfile}"/>
<arg value="-DgroupId=org.violetlib"/>
<arg value="-DartifactId=vaquaclient"/>
<arg value="-Dversion=1.0-SNAPSHOT"/>
<arg value="-Dpackaging=jar"/>
</exec>
</target>
<target name="VAquaClient" depends="install"/>
</project>