source: hadoop4win-setup/my_packages/ant/bin/ant-init @ 235

Last change on this file since 235 was 235, checked in by jazz, 14 years ago
  • modified hadoop4win-setup.bat
    • change the URL of HBASE_MIRROR
    • change the version of HBASE_FILE
    • add installation of Apache ANT
  • add my_packages/ant*
    • related to Apache ANT installation
  • modified my_packages/hadoop/conf-examples/core-site.xml
    • change ${hadoop.tmp.dir} to c:/hadoop4win/var/hadoop
  • modified my_packages/hadoop/conf-examples/hadoop-env.sh
    • set HADOOP_HEAPSIZE to 256 MB
  • modified Makefile
    • change version to 0.1.4
  • Property svn:executable set to *
File size: 290 bytes
Line 
1#!/bin/bash
2if [ ! -f /usr/src/ant-*.zip ]; then
3  echo "Hbase tar ball not found at /usr/src/hbase-*.tar.gz!!"
4  exit
5fi
6
7if [ ! -f /opt/apache-ant* ]; then
8  unzip /usr/src/ant-*.zip -C /opt
9  ln -s /opt/apache-ant-* /opt/ant
10
11  echo "export PATH=/opt/ant/bin/:\$PATH" >> /etc/profile
12fi
Note: See TracBrowser for help on using the repository browser.