You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2013/08/09 07:15:57 UTC

svn commit: r1512138 - /hive/trunk/hcatalog/webhcat/svr/build.xml

Author: hashutosh
Date: Fri Aug  9 05:15:57 2013
New Revision: 1512138

URL: http://svn.apache.org/r1512138
Log:
HIVE-4992 : add ability to skip javadoc during build (Sergey Shelukhin via Ashutosh Chauhan)

Modified:
    hive/trunk/hcatalog/webhcat/svr/build.xml

Modified: hive/trunk/hcatalog/webhcat/svr/build.xml
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/webhcat/svr/build.xml?rev=1512138&r1=1512137&r2=1512138&view=diff
==============================================================================
--- hive/trunk/hcatalog/webhcat/svr/build.xml (original)
+++ hive/trunk/hcatalog/webhcat/svr/build.xml Fri Aug  9 05:15:57 2013
@@ -41,12 +41,15 @@
     <fileset dir="${build.dir}/lib/compile"/>
   </path>
 
-  <target name="compile-resource">
+  <target name="compile-resource" depends="javadoc">
     <echo message="${ant.project.name}"/>
     <property name="resources.dir"  location="${path.to.basedir}/conf"/>
     <copy todir="${build.classes}/">
       <fileset dir="${basedir}/src/main/config/"/>
     </copy>
+  </target>
+  
+  <target name="javadoc" unless="skip.javadoc">
     <echo message="Generating wadl xml file"/>
     <javadoc access="public" classpathref="compile.class.path" useexternalfile="yes">
       <fileset dir="${basedir}/src/main/java" defaultexcludes="yes"/>