Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 377680 - some default ant needs to be on window7test machine
Summary: some default ant needs to be on window7test machine
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: CI-Jenkins (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eclipse Webmaster CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 377365
  Show dependency tree
 
Reported: 2012-04-25 14:02 EDT by David Williams CLA
Modified: 2012-04-25 16:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2012-04-25 14:02:42 EDT
I'd think any is there somewhere? Maybe just not on default path? 

With changes recently required in running the Platform's unit tests on Hudson, we first check out, eclipsebuild via git, that works, 

But, then as the first "build step", I want to install "base builder" from cvs, via ant. 

Added a simple step to use "default" ant, and execute getBaseBuilder.xml.

But, before I get other errors, I get "ant.bat not found" ... which is, I'm pretty sure, pure hudson setup. 


Snippet from log at 
https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/JUnit-win2/79/console I

.....

[org.eclipse.releng.eclipsebuilder] $ cmd.exe /C '"ant.bat -file getBaseBuilder.xml ....

'ant.bat' is not recognized as an internal or external command,
operable program or batch file.

.....

Is it configured such that I should specify some specific ant, instead of "default"?
Comment 1 David Williams CLA 2012-04-25 14:48:07 EDT
FYI, the same "default ant" strategy works fine on the Mac test machine.
Comment 2 Denis Roy CLA 2012-04-25 15:23:13 EDT
I'm not sure about 'default' but I've put ant 1.8.3 in:
C:\Program Files\apache-ant-1.8.3

I've also defined it as a Tool on the windows slave.  Let me know if there's something you can do with that.
Comment 3 David Williams CLA 2012-04-25 16:58:37 EDT
Well, I doubt that change fixed it :) Had same problem again, but your comment got me looking deeper, and there is a list of ant versions (besides just "default"). 1.8.3 was not one of those (maybe will be after a restart?) .. only went up to 1.8.2 ... but ... it had one named "auto install ant 1.7.1" ....that sure sounded good, so I picked that one, and next try worked. Go figure. 

But, I'm counting as "fixed" (not "worksforme") since your suggestion helped, and, who knows .. maybe in future, after a restart or something it will have a default based on your install and configuring as a "tool". 

Thanks,