Bug 1113275

Summary: Need to update /etc/ant.d/apache-ivy
Product: [Fedora] Fedora Reporter: Pete MacKinnon <pmackinn>
Component: apache-ivyAssignee: Michal Srb <msrb>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, mizdebsk, msrb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: apache-ivy-2.3.0-15.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-26 05:38:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pete MacKinnon 2014-06-25 20:11:46 UTC
/etc/ant.d/apache-ivy has to contain a valid path string to the ivy jar location.

apache-ivy-2.3.0-13 has this as "ivy" which was the old jar location:
/usr/share/java/ivy.jar

However, -13 installs the jar (and no softlinks) to:
/usr/share/java/apache-ivy/ivy.jar

This causes failures in the ivy builds such as for pig and hive. For example:

ivy-init-antlib:                                                                                                                                                                                                                             
     [echo] Project: hive                                                                                                                                                                                                                    
  [typedef] Could not load definitions from resource org/apache/ivy/ant/antlib.xml. It could not be found.                                                                                                                                   

BUILD FAILED                                                                                                                                                                                                                                 
/home/pmackinn/rpmbuild/BUILD/hive-release-0.12.0/build.xml:246: You need Apache Ivy 2.1 or later from http://ant.apache.org/                                                                                                                
      It could not be loaded from http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy-2.3.0.jar

Comment 1 Michal Srb 2014-06-26 05:38:13 UTC
Thanks for the bug report. The issue should be fixed in apache-ivy-2.3.0-15.fc21.