[Dspace-general] installation problem

Richard Davis r.davis at ulcc.ac.uk
Wed Nov 2 10:56:00 EST 2005


sagar wrote:
> when am trying to issue the ant command it is 
> showing "command not found error.


Sagar

Assuming you are running Linux or similar: as with any executable file 
in Unix, either the $ANT_HOME/bin directory needs to be in your path and 
"ant" set executable, or you must call it by using "sh" or specifying 
the directory it is in.

$ pwd
/usr/local/apache-ant-1.6.5/bin
$ ls
ant      antenv.cmd  antRun.pl            lcp.bat    runrc.cmd
ant.bat  antRun      complete-ant-cmd.pl  runant.pl
ant.cmd  antRun.bat  envset.cmd           runant.py
$ ls -og ant
-rwxr-xr-x    1     8837 Jun  2 14:15 ant
$ ant
bash: ant: command not found
$ sh ant
Buildfile: build.xml does not exist!
Build failed
$ ./ant
Buildfile: build.xml does not exist!
Build failed

This site may be of further assistance:
http://sunsite.utk.edu/diglib/dspace/

If your Unix is rusty you may find some useful links here:
http://del.icio.us/search/?all=unix+commands+reference+howto

Good luck

Richard


-- 
/
\ Richard M Davis
/ Digital Archives Specialist
\ University of London Computer Centre
/ Tel: +44 (0) 20 7692 1350
\ mailto: r.davis at ulcc.ac.uk
/


More information about the Dspace-general mailing list