r4 - 26 Jun 2003 - 16:53:51 - BobKrzaczekYou are here: TWiki >  Help Web  >  AdminStuff > SoftwareInstalls > BuildingAnt
Tags:
create new tag
, view all tags
  • Version: 1.5.3-1
  • Summary: A program maintenance tool, targeted for Java and XML.

Obtaining

Pull down the latest version of ANT, starting at http://ant.apache.org/ Check the integrity of the distribution with MD5; use PGP instead if you can. Then unpack it under /cis/src/misc just as if your IQ was normal. If you encounter directory checksum errors, you need to use a different tar program; ANT contains some "very long" file and dir names.
   cd /cis/src/misc
   cat apache-ant-1.5.3-1-bin.tar.bz2.md5
      49ea1624c2cab948d72042dee62932ae
   openssl md5 <apache-ant-1.5.3-1-bin.tar.bz2
      49ea1624c2cab948d72042dee62932ae
   gzip -dc apache-ant-1.5.3-1-bin.tar.bz2 |tar xf -
   cd apache-ant-1.5.3-1

Installing

This is a hack, but it reflects the fact that ANT wants to find all of its files underneath an ANT_HOME environment variable. I'd like to split things into /cis/bin, /cis/etc/ant, and so on, but it's not obvious whether it will work without serious hackery of the ant shell scripts.

So, we'll just copy the package to /cis/var, put some hacks into /cis/bin, and tell our users to set ANT_HOME to that directory in the UsingAnt topic.

   mkdir -m 0775 /cis/opt/ant
   tar cf - . |( cd /cis/opt/ant ; tar xf - )
   chown -R root:support /cis/opt/ant
   chmod -R ug=rwX,o=rX /cis/opt/ant
   ln -s /cis/opt/ant/docs /cis/share/doc/ant
   ln -s /cis/opt/ant/bin/* /cis/bin
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
Help.BuildingAnt moved from Help.InstallingAnt on 30 May 2003 - 19:10 by BobKrzaczek - put it back
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback