pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject svn commit: r1604069 - in /pig/trunk: CHANGES.txt build.xml
Date Fri, 20 Jun 2014 01:28:23 GMT
Author: daijy
Date: Fri Jun 20 01:28:22 2014
New Revision: 1604069

URL: http://svn.apache.org/r1604069
Log:
PIG-4028: add a flag to control the ivy resolve/retrieve output

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=1604069&r1=1604068&r2=1604069&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Fri Jun 20 01:28:22 2014
@@ -24,6 +24,8 @@ INCOMPATIBLE CHANGES
  
 IMPROVEMENTS
 
+PIG-4028: add a flag to control the ivy resolve/retrieve output (gkesavan via daijy)
+
 PIG-4015: Provide a way to disable auto-parallism in tez (daijy)
 
 PIG-3846: Implement automatic reducer parallelism (daijy)

Modified: pig/trunk/build.xml
URL: http://svn.apache.org/viewvc/pig/trunk/build.xml?rev=1604069&r1=1604068&r2=1604069&view=diff
==============================================================================
--- pig/trunk/build.xml (original)
+++ pig/trunk/build.xml Fri Jun 20 01:28:22 2014
@@ -196,6 +196,7 @@
     <!-- IVY properteis set here -->
     <property name="ivy.repo.dir" value="${user.home}/ivyrepo" />
     <property name="ivy.dir" location="ivy" />
+    <property name="loglevel" value="quiet" />
     <loadproperties srcfile="${ivy.dir}/libraries.properties"/>
 
     <property name="hadoopversion" value="20" />
@@ -1610,46 +1611,46 @@
 
      <target name="ivy-resolve" depends="ivy-init" unless="ivy.resolved" description="Resolve
Ivy dependencies">
        <property name="ivy.resolved" value="true"/>
-       <ivy:resolve settingsRef="${ant.project.name}.ivy.settings" conf="compile"/>
+       <ivy:resolve log="${loglevel}" settingsRef="${ant.project.name}.ivy.settings" conf="compile"/>
      </target>
 
      <target name="ivy-compile" depends="ivy-resolve" description="Retrieve Ivy-managed
artifacts for compile configuration">
-       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings"
+       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings" log="${loglevel}"
                  pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" conf="compile"/>
        <ivy:cachepath pathid="compile.classpath" conf="compile"/>
      </target>
 
      <target name="ivy-test" depends="ivy-resolve" description="Retrieve Ivy-managed artifacts
for test configuration">
-       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings"
+        <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings" log="${loglevel}"
                  pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" conf="test"/>
      </target>
 
      <target name="ivy-javadoc" depends="ivy-resolve" description="Retrieve Ivy-managed
artifacts for javadoc configuration">
-       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings"
+        <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings" log="${loglevel}"
                  pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" conf="javadoc"/>
        <ivy:cachepath pathid="javadoc.classpath" conf="javadoc"/>
      </target>
 
      <target name="ivy-releaseaudit" depends="ivy-resolve" description="Retrieve Ivy-managed
artifacts for releaseaudit configuration">
-       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings"
+        <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings" log="${loglevel}"
 
                  pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" conf="releaseaudit"/>
        <ivy:cachepath pathid="releaseaudit.classpath" conf="releaseaudit"/>
      </target>
 
      <target name="ivy-checkstyle" depends="ivy-resolve" description="Retrieve Ivy-managed
artifacts for checkstyle configuration">
-       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings"
+        <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings" log="${loglevel}"
                  pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" conf="checkstyle"/>
        <ivy:cachepath pathid="checkstyle.classpath" conf="checkstyle"/>
      </target>
 
      <target name="ivy-buildJar" depends="ivy-resolve" description="Retrieve Ivy-managed
artifacts for buildJar configuration">
-       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings"
+       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings" log="${loglevel}"
                  pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" conf="buildJar"/>
        <ivy:cachepath pathid="buildJar.classpath" conf="buildJar"/>
      </target>
 
      <target name="ivy-jdiff" depends="ivy-resolve" description="Retrieve Ivy-managed
artifacts for jdiff configuration">
-       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings"
+       <ivy:retrieve settingsRef="${ant.project.name}.ivy.settings" log="${loglevel}"
                  pattern="${build.ivy.lib.dir}/${ivy.artifact.retrieve.pattern}" conf="jdiff"/>
        <ivy:cachepath pathid="jdiff.classpath" conf="jdiff"/>
      </target>



Mime
View raw message