another windows specific problem. This one relates to the xdoc plugin and I
have no idea how to fix it...

The self-defined tag "performJSL" (line 108) creates two patterns
(fromPattern, and toPattern) for file name transformation. The "fromPattern"
uses "${srcdir}" as part of the pattern. If maven.gen.docs is not defined,
srcdir defaults to <projectHome>/target/generated-xdocs. In Windows, the
drive letter in my project home is lower case, e.g. "c:/"

Unfortunately, fileScanner (line 119) returns path name which uses capital
case drive letter, e.g. "C:/". 

This causes the mapper.mapFileName (line 138) to fail because "c:/" doesn't
match to "C:/" and thus ${outFile} is a null string.

I can workaround this problem by defining maven.gen.docs to "C:/...." but
this should probably be fixed.

(line number might not be exact as I have been doing some debugging to reach
this conclusion)

Thanks
Charles



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

Reply via email to