PageRenderTime 88ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 1ms

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

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