日期:2014-05-17  浏览次数:20709 次

请教bulid.xml编译失败?
用svn下载的源码,用ANT编译出现下面错误:

然后在eclipse用ant也提示
BUILD FAILED
D:\Documents and Settings\Administrator\workspace\openmeetings\build.xml:654: Javadoc failed: java.io.IOException: Cannot run program "javadoc.exe": CreateProcess error=87, 2?êy2?
打开指向的错误是:
<target name="build.only.webservice.doc">
<javadoc classpathref="build.webservice.classpath">
<source file="src/userservice/org/openmeetings/axis/services/UserWebService.java" />
<source file="src/roomservice/org/openmeetings/axis/services/RoomWebService.java" />
<source file="src/fileservice/org/openmeetings/axis/services/FileWebService.java" />
<doclet name="org.openmeetings.doc.WebServiceDoclet" pathref="build.webservice.classpath">
</doclet>

怎么回事?谢谢!!

------解决方案--------------------
D:\Documents and Settings 这个文件夹下有空格,所以你ant报错。把ant放到d:\ant文件夹下试试