The following comment has been added to this issue:

     Author: Brett Porter
    Created: Tue, 13 Apr 2004 9:06 PM
       Body:
the reason is that useexternalfile's default changed. It would also have failed in RC1 
with that setting enabled.

workaround in RC2: set maven.javadoc.useexternalfile=no

I will investigate if there is an ant fix to this
---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJAVADOC-21&page=comments#action_18611

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJAVADOC-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-21
    Summary: Can't generate javadoc in directories with whitspace
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin

   Assignee: Brett Porter
   Reporter: Hugo Palma

    Created: Thu, 25 Mar 2004 10:26 AM
    Updated: Tue, 13 Apr 2004 9:06 PM
Environment: Windows

Description:
Since rc2 i haven't been able to generate any javadoc at all for my projects.
All my projects are in a directory that has whitespaces in them and this seems to be 
the problem.
For example, for a project that i have in "C:\Documents and Settings\in000101\My 
Documents\Projectos\SocketClient" when i try to generate the javadoc i get:

xdoc:init:
    [mkdir] Created dir: C:\Documents and Settings\in000101\My Documents\Project
os\SocketClient\target\generated-xdocs
    [mkdir] Created dir: C:\Documents and Settings\in000101\My Documents\Project
os\SocketClient\target\docs

maven-javadoc-plugin:report:
    [mkdir] Created dir: C:\Documents and Settings\in000101\My Documents\Project
os\SocketClient\target\docs\apidocs
    [mkdir] Created dir: C:\Documents and Settings\in000101\My Documents\Project
os\SocketClient\target\javadoc
    [javadoc] Generating Javadoc
    [javadoc] Javadoc execution
    [javadoc] javadoc: Illegal package name: "C:\Documents"
    [javadoc] javadoc: Illegal package name: "Settings\in000101\My"
    [javadoc] javadoc: File not found: "Documents\Projectos\SocketClient\src\jav
a\pt\euro2004\sdk\DataEventHandler.java"
    [javadoc] javadoc: Illegal package name: "C:\Documents"
    [javadoc] javadoc: Illegal package name: "Settings\in000101\My"
    [javadoc] javadoc: File not found: "Documents\Projectos\SocketClient\src\jav
a\pt\euro2004\sdk\GenevaAdapter.java"
    [javadoc] javadoc: Illegal package name: "C:\Documents"
    [javadoc] Loading source files for package and...
    [javadoc] Loading source files for package and...
    [javadoc] Loading source files for package and...
    [javadoc] 9 errors
    [javadoc] 3 warnings
    [javadoc] javadoc: Illegal package name: "Settings\in000101\My"
    [javadoc] javadoc: File not found: "Documents\Projectos\SocketClient\src\jav
a\pt\euro2004\sdk\SocketManager.java"
    [javadoc] javadoc: warning - No source files for package and
    [javadoc] javadoc: warning - No source files for package and
    [javadoc] javadoc: warning - No source files for package and
BUILD SUCCESSFUL
Total time: 5 seconds
Finished at: Thu Mar 25 15:14:53 GMT 2004


I repeat, this has only started to happen upon the upgrade to rc2.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to