Community
Participate
Working Groups
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"?
FYI, the same "default ant" strategy works fine on the Mac test machine.
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.
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,