hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r789169 - in /hadoop/hbase/trunk/src/contrib: build-contrib.xml stargate/build.xml
Date Sun, 28 Jun 2009 23:10:17 GMT
Author: stack
Date: Sun Jun 28 23:10:17 2009
New Revision: 789169

URL: http://svn.apache.org/viewvc?rev=789169&view=rev
Log:
HBASE-1588 Rig our build to support our new contribs -- stargate and THBase/ITHBase--modified
stargate in its init and clean targets -- need to do jar and package

Modified:
    hadoop/hbase/trunk/src/contrib/build-contrib.xml
    hadoop/hbase/trunk/src/contrib/stargate/build.xml

Modified: hadoop/hbase/trunk/src/contrib/build-contrib.xml
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/build-contrib.xml?rev=789169&r1=789168&r2=789169&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/contrib/build-contrib.xml (original)
+++ hadoop/hbase/trunk/src/contrib/build-contrib.xml Sun Jun 28 23:10:17 2009
@@ -230,6 +230,9 @@
   <!-- ================================================================== -->
   <!-- Clean.  Delete the build files, and their directories              -->
   <!-- ================================================================== -->
+  <!-- to be overridden by sub-projects -->
+  <target name="clean-contrib"/>
+
   <target name="clean">
     <echo message="contrib: ${name}"/>
     <delete dir="${build.dir}"/>

Modified: hadoop/hbase/trunk/src/contrib/stargate/build.xml
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/stargate/build.xml?rev=789169&r1=789168&r2=789169&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/contrib/stargate/build.xml (original)
+++ hadoop/hbase/trunk/src/contrib/stargate/build.xml Sun Jun 28 23:10:17 2009
@@ -1,4 +1,5 @@
 <project name="stargate" default="archives" basedir=".">
+  <import file="../build-contrib.xml"/>
 
   <import file="../build-contrib.xml"/>
   
@@ -13,12 +14,9 @@
   <property name="javac.debug" value="on"/>
   <property name="javac.source" value="1.6"/>
   
-  <target name="init">
+  <target name="init-contrib">
     <tstamp/>
-    <mkdir dir="${build.dir}"/>
-    <mkdir dir="${build.classes}"/>
     <mkdir dir="${build.war.classes}"/>
-    <mkdir dir="${build.test}"/>
   </target>
   
   <target name="javadoc">
@@ -27,7 +25,9 @@
     </javadoc>
   </target>
   
-  <target name="compile" depends="compile-jar, compile-war"/>
+  <target name="compile" depends="compile-jar, compile-war">
+    <echo message="contrib: ${name}"/>
+  </target>
 
   <target name="compile-jar" depends="init">
     <javac srcdir="${src.dir}" destdir="${build.classes}" debug="${javac.debug}" source="${javac.source}">
@@ -100,8 +100,8 @@
        file="${build.dir}/${war.file}"/>
   </target>
   
-  <target name="clean">
-    <delete dir="${build.dir}"/>
+  <target name="clean-contrib">
+    <delete dir="dist"/>
   </target>
 
 </project>



Mime
View raw message