PageRenderTime 20ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/release-0.2.0-rc0/hive/external/jdbc/build.xml

#
XML | 62 lines | 32 code | 8 blank | 22 comment | 0 complexity | 6d43e2a0fd61664291eadfa5d87103a1 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2
 3<!--
 4   Licensed to the Apache Software Foundation (ASF) under one or more
 5   contributor license agreements.  See the NOTICE file distributed with
 6   this work for additional information regarding copyright ownership.
 7   The ASF licenses this file to You under the Apache License, Version 2.0
 8   (the "License"); you may not use this file except in compliance with
 9   the License.  You may obtain a copy of the License at
10
11       http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18-->
19
20<project name="jdbc" default="jar">
21  <property name="src.dir" value="${basedir}/src"/>
22    
23  <!--
24    Override properties defined in ../build-common.xml.
25  <property name="test.junit.output.format" value="brief"/>
26  <property name="test.output" value="false"/>
27  <property name="test.junit.output.usefile" value="false"/>
28  -->
29
30  <import file="../build-common.xml"/>
31
32  <path id="test.classpath">
33    <pathelement location="${test.build.classes}" />
34    <pathelement location="" />
35    <pathelement location="${test.src.data.dir}/conf"/>
36    <pathelement location="${hive.conf.dir}"/>
37    <fileset dir="${test.src.data.dir}" includes="files/*.jar"/>
38    <fileset dir="${hive.root}" includes="testlibs/*.jar"/>
39    <pathelement location="${build.dir.hive}/ql/test/classes"/>
40    <path refid="classpath"/>
41  </path>
42
43  <target name="core-compile" depends="init">
44    <javac
45     encoding="${build.encoding}"
46     srcdir="${src.dir}/java"
47     includes="**/*.java"
48     destdir="${build.classes}"
49     debug="${javac.debug}"
50     deprecation="${javac.deprecation}"
51     >
52      <classpath refid="classpath"/>
53    </javac>
54  </target>
55 
56  <target name="compile" depends="core-compile">
57  </target>
58
59  <target name="clean">
60      <delete dir="${build.classes}/../"/>
61  </target>
62</project>