Can anyone tell me why I am getting this error message
Buildfile: C:\\Users\\Tara\\workspace\\Testing\\build.xml
doc:
[delete] Deleting directory C:\\Users\\
javadoc is not in the path. With newer ant you can provide attribute (executable) to specify exe location. See documentation here
Add javadoc.exe to your build path.
Providing you have a jdk installed and added to Eclipse:
You can then
Credit for a similar solution: http://blog.darevay.com/2008/12/running-javadoc-ant-task-from-eclipse/
Change Ant Config : [Edit Configuration] -> [JRE] -> Change jre to jdk and I solve this problem
I came across the same issue and solved it by adding an additional JREs definitions under:
Windows > Preferences > Java > Installed JREs
At the time it failed, I was using Jre7
in C:\Program Files\Java\jre7
then I have added and selected Jre
in C:\Program Files\Java\jdk1.7.0_07\jre
.
make sure the javadoc.exe is on your path; this error usually means the ant task cannot find the executable