You need to set your $CLASSPATH also.
Sue
________________________________
From: Zico [mailto:[email protected]]
Sent: Monday, January 19, 2009 1:24 AM
To: Tech DSpace
Subject: [Dspace-tech] ant fresh_install problem
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