-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
39 lines (36 loc) · 1.66 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
38
39
<?xml version="1.0"?>
<!--
* @author Nigel Cook
*
* (C) Copyright 2010-2012. Nigel Cook. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Licensed under the terms described in LICENSE file that accompanied this code, (the "License"); you may not use this file
* except in compliance with the License.
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
-->
<project name="build" default="dist" basedir=".">
<description> Build file for Workflow project </description>
<property name="dist.dir" value="dist" />
<property name="JARS" value="jars" />
<target name="dist" depends="" description="-- Create project deliverables">
<jar jarfile="lib/agent.jar">
<fileset dir="build" includes="**/*.class" />
<fileset dir="build" includes="**/*.properties" />
<manifest>
<attribute name="Main-Class" value="n3phele.agent.Service"/>
</manifest>
</jar>
<!-- Create a combined jar file that includes dependent jars
<delete file="${dist.dir}/agent.zip" quiet="true"/>
<zip destfile="${dist.dir}/agent.zip" >
<fileset dir="./lib" includes="**" />
</zip> -->
<delete file="${dist.dir}/new_agent.tgz" quiet="true"/>
<tar tarfile="${dist.dir}/new_agent.tgz" basedir="./lib"
includes="**" longfile="gnu" compression="gzip" />
</target>
</project>