I'm using Maven 1.0rc4, JDK 1.4.2_04, on Win2k with Cygwin under the bash shell.

When building any project, the javadoc phase always gives errors of the form shown 
below.  (The entire build transcript is also attached for reference, but compressed.)  
Pretty clearly, it's unable to cope with the Windowsish pathnames containing spaces.  
I know such pathnames are clearly evil, but they are also a regrettably unavoidable 
fact of work life for me.

Any suggestions as to how to work around this?  I suspect there must be such a 
workaround, since (a) the other plugins cope, (b) it used to work in 1.0rc1, and (c) I 
can't possibly be the only person building from bash on Windows with uncooperative 
pathnames.

Other than this, I must say that I really like Maven!

>[...]
>maven-javadoc-plugin:report:
>    [mkdir] Created dir: C:\Documents and Settings\nm67644\My 
> Documents\laboratory\knn\target\docs\apidocs
>    [mkdir] Created dir: C:\Documents and Settings\nm67644\My 
> Documents\laboratory\knn\target\javadoc
>    [javadoc] Generating Javadoc
>    [javadoc] Javadoc execution
>    [javadoc] javadoc: Illegal package name: "C:\Documents"
>    [javadoc] javadoc: Illegal package name: "Settings\nm67644\My"
>    [javadoc] javadoc: File not found: 
> "Documents\laboratory\knn\src\java\com\aventis\knn\Combiner.java"
>    [javadoc] javadoc: Illegal package name: "C:\Documents"
>    [javadoc] javadoc: Illegal package name: "Settings\nm67644\My"
>    [javadoc] javadoc: File not found: 
> "Documents\laboratory\knn\src\java\com\aventis\knn\CombinerAbstract.java"
>    [javadoc] javadoc: Illegal package name: "C:\Documents"
>    [javadoc] javadoc: Illegal package name: "Settings\nm67644\My"
>    [javadoc] javadoc: File not found: 
> "Documents\laboratory\knn\src\java\com\aventis\knn\CombinerWeightedAverage.java"
> [...]

__________
Steve Rowley <[EMAIL PROTECTED]> Cambridge, MA: (617) 768-4054 ICQ: 52-377-390

Attachment: maven-build-transcript.txt.gz
Description: maven-build-transcript.txt.gz

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

Reply via email to