Permalink
Browse files

Tweaks to build system

  • Loading branch information...
1 parent fbc0b48 commit a744b5c6a86bdfbdea222a91b08c13f52b6e9017 Rajat Venkatesh committed Jul 3, 2012
Showing with 11 additions and 1 deletion.
  1. +1 −0 README.txt
  2. +1 −1 makefile
  3. +9 −0 squeal/build.xml
View
@@ -27,6 +27,7 @@ Compile:
Set the following environment variables:
HADOOP_HOME - Directory containing the hadoop installation.
PIG_HOME - Directory containing Apache Pig installation.
+ PIG_JAR- Name of pig jar.
BUILDDIR - Temporary directory for storing build files.
pig_version- Pig version.
VERTICA_JAR- Path to Vertica JDBC jar.
View
@@ -8,7 +8,7 @@
###
# Load the standard make definitions
###
-export BUILD_ARGS := -lib ${HADOOP_HOME}/ -lib ${PIG_HOME}/lib -Dhadoop.dir=${HADOOP_HOME} -Dbuild.dir=${BUILDDIR} -Ddist=${JAR_DIR} -Dpig.jar=${PIG_HOME}/pig-$(pig_version)-withouthadoop.jar -Dpig.version="$(pig_version)" -Dvertica.jar=$(VERTICA_JAR) -Dhadoop-connector.jar=$(JAR_DIR)/hadoop-vertica.jar -Dpig-connector.jar=$(JAR_DIR)/pig-vertica.jar -Ddoc.dir=$(JAR_DIR)/doc/
+export BUILD_ARGS := -lib ${HADOOP_HOME}/ -lib ${PIG_HOME}/lib -Dhadoop.dir=${HADOOP_HOME} -Dbuild.dir=${BUILDDIR} -Ddist=${JAR_DIR} -Dpig.jar=${PIG_HOME}/${PIG_JAR} -Dpig.version="$(pig_version)" -Dvertica.jar=$(VERTICA_JAR) -Dhadoop-connector.jar=$(JAR_DIR)/hadoop-vertica.jar -Dpig-connector.jar=$(JAR_DIR)/pig-vertica.jar -Ddoc.dir=$(JAR_DIR)/doc/
jar:
JAVA_HOME=${JDK16} ant $(BUILD_ARGS) jar
View
@@ -71,6 +71,15 @@
</javac>
</target>
+ <target name="doc">
+ <javadoc destdir="${doc.dir}/pig-connector" breakiterator="yes">
+ <classpath refid="compile.classpath"/>
+ <fileset dir="${src.dir}">
+ <include name="**/*.java"/>
+ </fileset>
+ </javadoc>
+ </target>
+
<target name="jar" depends="compile" description="Create main jar">
<mkdir dir="${dist}"/>
<tstamp>

0 comments on commit a744b5c

Please sign in to comment.