It becomes a linux question more than about dspace. First of all, check that your commands in profile are actually taking effect:
echo $PATH check that /usr/local/ant/bin is within the path Besides, make sure you have the ant program in your path: ls -l /usr/local/ant/bin/ant check that you have the file "ant" check that it is executable by your user Welcome back with more information for more help. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Zico wrote: > when i go to *ant fresh_install *as "dspace" user in my > /opt/src/dspace-1.5.1-release/ > dspace > the error comes that, *ant: command not found > > *But, i have added the path in my //etc/profile /file. > > Here is my entry in //etc/profile /file: > > JAVA_HOME="/usr/local/java/jdk1.5.0_06" > PATH="$PATH:/usr/local/java/jdk1.5.0_06/bin" > export JAVA_HOME > export PATH > > PATH="$PATH:/opt/apache-maven-2.0.9/bin" > > export ANT_HOME=/usr/local/ant > PATH="$PATH:/usr/local/ant/bin" > export ANT_HOME > export PATH > > JAVA_OPTS="-Xmx512M -Xms64M -Dfile.encoding=UTF-8" > Export JAVA_OPTS > > What do you suggest me to do? > > > -- > Best, > Z > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > > > ------------------------------------------------------------------------ > > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

