[ http://jira.codehaus.org/browse/XDP-151?page=comments#action_56278 ] 

Grégory Joseph commented on XDP-151:
------------------------------------

Shash, I've applied the patch to generama (See GRA-7)  + patched plugin-plugin 
accordingly.
Would you mind trying it out and see if it fixes your specific problem? (I 
don't have a windows machine handy)
Thanks

(I just deployed generama-1.2.2-SNAPSHOT and 
xdoclet-plugin-plugin-1.0.4-SNAPSHOT on dist.codehaus.org)

> plugin-plugin fails on Windows when basedir and output location have 
> case-mismatch in drive letter
> --------------------------------------------------------------------------------------------------
>
>          Key: XDP-151
>          URL: http://jira.codehaus.org/browse/XDP-151
>      Project: XDoclet 2 Plugins
>         Type: Bug

>     Versions: 1.0.3
>  Environment: Windows XP Pro
> Sun JDK-1.5
> Maven 2 (2.0.1)
>     Reporter: Shash Chatterjee
>     Assignee: Grégory Joseph
>  Attachments: plugin-plugin-patch.txt
>
>
> When using the xdoclet2-maven2-plugin, and invoking plugin-plugin, sometimes 
> the plugin will fail.  The root cause is that sometimes plugin-plugin 
> determines the basedir to start with "C:" (uppercase), and the maven plugin 
> is provided a configured value with "c:" (lowercase), and a 
> String.startsWith() fails.
> A patch is attached, that checks if the second character of the path is a 
> colon, indicating a Windows drive designator, and converts the drive 
> character to upper-case for comparision purposes.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to