posted 19 years ago
I'm using Jbuilder 2005, and have the following file structure:
C:\Documents and Settings\aaa\My Documents\projects\web\src\com\xxxxxx\web\mvc\QueryServlet.java
The parameters I put in my javadoc configuration is "-author -d ($Docpath) ($FilePath)", the error I got when I run Javadoc is:
C:\Borland\JBuilder2005\jdk1.4\bin\javadoc.exe -author -d C:\Documents and Settings\aaa\My Documents\projects\web\doc; C:\Documents and Settings\aaa\My Documents\projects\web\src\com\xxxxxx\web\mvc\QueryServlet.java
javadoc: Illegal package name: "Settings\aaa\My" javadoc: Illegal package name: "Documents\projects\web\doc;" javadoc: Illegal package name: "C:\Documents" javadoc: Illegal package name: "Settings\aaa\My" javadoc: File not found: "Documents\projects\web\src\com\xxxxxx\web\mvc\QueryServlet.java" javadoc: warning - No source files for package and javadoc: warning - No source files for package and Loading source files for package and... Loading source files for package and... 5 errors 2 warnings
$Docpath = "C:\Documents and Settings\aaa\My Documents\projects\web\doc;"
$FilePath="C:\Documents and Settings\aaa\My Documents\projects\web\src\com\xxxxxx\web\mvc\QueryServlet.java"
It looks like the space in the directory name caused the problem. How can I fix it without change the directory name?