Author: daijy
Date: Mon Apr 11 20:53:42 2016
New Revision: 1738642

URL: http://svn.apache.org/viewvc?rev=1738642&view=rev
Log:
PIG-3906: ant site errors out

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/build.xml

Modified: pig/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1738642&r1=1738641&r2=1738642&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Mon Apr 11 20:53:42 2016
@@ -105,6 +105,8 @@ PIG-4639: Add better parser for Apache H
 
 BUG FIXES
 
+PIG-3906: ant site errors out (nielsbasjes via daijy)
+
 PIG-4851: Null not padded when input has less fields than declared schema for 
some loader (rohini)
 
 PIG-4850: Registered jars do not use submit replication (rdblue via cheolsoo)

Modified: pig/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/pig/trunk/build.xml?rev=1738642&r1=1738641&r2=1738642&view=diff
==============================================================================
--- pig/trunk/build.xml (original)
+++ pig/trunk/build.xml Mon Apr 11 20:53:42 2016
@@ -643,11 +643,23 @@
        </copy>
     </target>
 
-    <target name="forrest.check" unless="forrest.home">
+    <target name="forrest.check" depends="forrest.check.plugins" 
unless="forrest.home">
        <fail message="'forrest.home' is not defined.
       Please pass -Dforrest.home=&lt;base of Apache Forrest installation&gt; 
to Ant on the command-line." />
     </target>
 
+    <target name="forrest.check.plugins" >
+        <fail message="${forrest.home}/plugins is not writeable. Fix: chmod 
a+rwX -R ${forrest.home}/plugins">
+            <condition>
+                <not>
+                    <isfileselected file="${forrest.home}/plugins">
+                        <writable />
+                    </isfileselected>
+                </not>
+            </condition>
+        </fail>
+    </target>
+
     <target name="source-jar" depends="cc-compile">
        <jar duplicate="preserve" jarfile="${output.jarfile.sources}" 
basedir="${src.dir}/" excludes="docs/**, overview.html">
             <manifest>


Reply via email to