Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370309

Summary: Ant not found on hudson-slave6
Product: Community Reporter: Nicolas Bros <nicolas.bros>
Component: CI-JenkinsAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gdupe
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Nicolas Bros CLA 2012-02-01 04:45:38 EST
I am getting an error when trying to call "ant" on hudson-slave6:
 ant: command not found

Could you install ant (if it's not already), set ANT_HOME, and add ${ANT_HOME}/bin to the PATH?
Comment 1 Eclipse Webmaster CLA 2012-02-02 10:54:43 EST
I suspect the issue was there was a typo including the global hudson profile in the local user profile.  I fixed that and when I use the local hudson account it can now find ant:

hudson-slave6:~> which ant
/shared/common/apache-ant-1.7.1/bin/ant

-M.