Review Board 1.7.22


Avoid to create a symlink for hive-contrib.jar file in dist\lib folder.

Review Request #7840 - Created Nov. 2, 2012 and updated

Kanna Karanam
hive
HIVE-3664
Reviewers
hive
ashutoshc, carl
hive
It forces us to enumerate all the jars except this jar on Windows instead of directly referencing the “dist\lib\*.jar” folder in the class path.

 

Diff revision 1 (Latest)

  1. trunk/build.xml: Loading...
trunk/build.xml
Revision 1405070 New Change
[20] 529 lines
[+20]
530
    </copy>
530
    </copy>
531
    <chmod perm="ugo+x" type="file" parallel="false">
531
    <chmod perm="ugo+x" type="file" parallel="false">
532
      <fileset dir="${target.bin.dir}"/>
532
      <fileset dir="${target.bin.dir}"/>
533
    </chmod>
533
    </chmod>
534

    
   
534

   
535
    <symlink overwrite="true" link="${target.lib.dir}/hive_contrib.jar" resource="hive-contrib-${version}.jar"/>

   
536
    <!-- special case because builtins compilation depends on packaging
535
    <!-- special case because builtins compilation depends on packaging
537
         up everything else first -->
536
         up everything else first -->
538
    <ant antfile="${hive.root}/builtins/build.xml" target="package"
537
    <ant antfile="${hive.root}/builtins/build.xml" target="package"
539
         inheritAll="false" />
538
         inheritAll="false" />
540
    <copy todir="${target.lib.dir}" preservelastmodified="true" flatten="true">
539
    <copy todir="${target.lib.dir}" preservelastmodified="true" flatten="true">
[+20] [20] 839 lines
  1. trunk/build.xml: Loading...