BUILD FAILED
/home/ser/minu/test/build.xml:3: Execute failed: java.io.IOException: Cannot run program "source": java.io.IOException: error=2, No such file or directory
Total time: 0 seconds
Could anyone tell me what could be the problem?
Thanks in advance!
SCBCD5, SCWCD5, SCJP5
"Even if you're on the right track, you'll get run over if you just sit there."
Minu Jain
Ranch Hand
Joined: Mar 24, 2008
Posts: 74
posted
0
Also, if instead I run the above script by directly typing the command on the prompt like this
The "executable" property of <exec> must be a an executable file. "source' is not an executable file, rather it is a command built into the shell. Besides, I doubt that sourcing a shell within an Ant script will get you what you want - the environment set by setWLSEnv.sh will not be retained for any subsequent shells that you invoke.