-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_ExemploIGTI.xml
34 lines (26 loc) · 1.02 KB
/
build_ExemploIGTI.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="pegasus" default="run" basedir="." >
<description>
ExemploIGTI
</description>
<property name="basedir" location="." />
<property name="src.dir" location="src" />
<property name="build.dir" location="${basedir}/classes"/>
<property name="hadoop.version" value="3.0.3"/>
<property name="hadoop.dir" value="/usr/local/hadoop"/>
<property name="app.jar" location="${basedir}/ExemploIGTI.jar"/>
<!-- classpath definitions -->
<path id="build.classpath">
<pathelement location="${build.dir}"/>
<pathelement location="${hadoop.dir}/hadoop-core-${hadoop.version}.jar"/>
</path>
<target name="compile" description="compile all Java classes">
<mkdir dir="${build.dir}"/>
<javac classpathref="build.classpath" destdir="${build.dir}" debug="on" deprecation="off">
<src path="${src.dir}"/>
</javac>
</target>
<target name="makejar" description="wrap the application class in a JAR file" depends="compile">
<jar destfile="${app.jar}" basedir="${build.dir}" includes="IGTI/**"/>
</target>
</project>