You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2016/08/13 21:46:43 UTC

svn commit: r1756295 - in /manifoldcf/trunk: CHANGES.txt build.xml framework/build.xml

Author: kwright
Date: Sat Aug 13 21:46:43 2016
New Revision: 1756295

URL: http://svn.apache.org/viewvc?rev=1756295&view=rev
Log:
Fix for CONNECTORS-1334.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/build.xml
    manifoldcf/trunk/framework/build.xml

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1756295&r1=1756294&r2=1756295&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Sat Aug 13 21:46:43 2016
@@ -3,6 +3,10 @@ $Id$
 
 ======================= 2.5-dev =====================
 
+CONNECTORS-1334: Break out forbidden api check into separate
+precommit target.
+(Furkan KAMACI)
+
 CONNECTORS-1332: Add check for forbidden api's to ant build.
 (Furkan KAMACI)
 

Modified: manifoldcf/trunk/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/build.xml?rev=1756295&r1=1756294&r2=1756295&view=diff
==============================================================================
--- manifoldcf/trunk/build.xml (original)
+++ manifoldcf/trunk/build.xml Sat Aug 13 21:46:43 2016
@@ -494,7 +494,7 @@
         <ant dir="framework" target="clean"/>
     </target>
 
-    <target name="build" depends="deliver-connectors, forbidden-checks"/>
+    <target name="build" depends="deliver-connectors"/>
     <target name="tmpclean" depends="cleanup-afterbuild"/>
     <target name="buildcln" depends="build,tmpclean"/>
     <target name="javadoc" depends="deliver-connectors-doc"/>
@@ -2445,5 +2445,7 @@ Use Apache Forrest version forrest-0.9-d
     <target name="forbidden-checks">
         <ant dir="framework" target="forbidden-checks"/>
     </target>
-    
+
+    <target name="precommit" description="Run basic checks before committing" depends="forbidden-checks,rat-sources"/>
+
 </project>

Modified: manifoldcf/trunk/framework/build.xml
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/build.xml?rev=1756295&r1=1756294&r2=1756295&view=diff
==============================================================================
--- manifoldcf/trunk/framework/build.xml (original)
+++ manifoldcf/trunk/framework/build.xml Sat Aug 13 21:46:43 2016
@@ -2052,6 +2052,7 @@
             <bundledsignatures name="jdk-non-portable"/>
             <fileset dir="../">
                 <exclude name="**/target/**"/>
+                <exclude name="test-materials/**"/>
             </fileset>
         </forbiddenapis>
     </target>