[ http://jira.codehaus.org/browse/XDP-151?page=comments#action_55321 ]
Grégory Joseph commented on XDP-151: ------------------------------------ It should indeed be fixed, but it's just that I'm not convinced by a very specific fix (i.e. there is another usage of startsWith in the exact same plugin, also to check some path's validity, so that one could also cause problems) and very system-dependent. I'm hoping to find a more transparent way to achieve the same result... > 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 > 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://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest