-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.xml
More file actions
executable file
·32 lines (29 loc) · 928 Bytes
/
build.xml
File metadata and controls
executable file
·32 lines (29 loc) · 928 Bytes
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
<!--
*
* Copyright 2008-2018, Concur Technologies, Inc.
*
-->
<project name="TripIt API Java binding" default="dist" basedir=".">
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="tripitjar" location="tripit-api.jar"/>
<target name="compile" description="compile the source">
<echo>(using jdk-${ant.java.version})</echo>
<mkdir dir="${build}"/>
<javac srcdir="${src}" destdir="${build}">
<classpath>
<fileset dir="lib">
<include name="**/*.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="dist" depends="compile" description="generate a jar">
<jar jarfile="${tripitjar}" basedir="${build}"/>
</target>
<target name="clean" description="clean up" >
<delete dir="${build}"/>
<delete file="${tripitjar}"/>
</target>
</project>