We had a build setup with only a root user on CentOS. Ant command was running fine until we created some users. Now these users are not able to run ant command. Users see following error message
axis:
[taskdef] Could not load definitions from resource axis-tasks.properties. It could not be found.
BUILD FAILED
/home/akshay/code_17sp1/vobs/company/ipnpm_src/Pwg/build.xml:100: Problem: failed to create task or type axis-wsdl2java
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
And build.xml:100
<axis-wsdl2java url="${company-pwg.base}/src/NpViewService.wsdl"
output="${axis.output}">
I figure it has something to do with classpath OR permissions.
EDIT:
Classpaths:
export MSPSDK=8.10.0.3
export SONA_WSDL_VERSION=12.5.0.1
export TMPDIR=$HOME/tmp
export RELEASE=$HOME/Release
export JAVA_HOME=/usr/java/current
export ANT_HOME=/usr/local/apache-ant-1.6.5
export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH
for root $HOME = /root for user akshay $HOME = /home/akshay