Hello I have a simple ant build script to generate javadoc for a bunch of projects.
The ant script is:
<project name="javadocs" default="doc" basedir=".">
What it looks like is happening is that Javadoc is being invoked with each java file as part of the parameter list, obviously this won't work because Windows has a limit on the size of the parameter that you can pass to programs. Any help appreciated as to how to make this work.
The beginning of your stack-trace is informative:
C:\\work\\icade_svn\\build_javadoc.xml:19: Javadoc failed: java.io.IOException: Cannot run program "C:\\Program Files\\Java\\jdk1.7.0_15\\bin\\javadoc.exe": CreateProcess error=206, The filename or extension is too long
It seems there is good information related to this problem:
https://www.google.com/search?q=CreateProcess+error%3D206%2C+The+filename+or+extension+is+too+long
Including this potential work-around: https://stackoverflow.com/a/10598074/2736496
I hope this helps. Good luck.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.