[ http://jira.codehaus.org/browse/XDP-151?page=comments#action_55314 ]
Grégory Joseph commented on XDP-151: ------------------------------------ Shash, I'm not really enclined for such fixes, mostly because they are due to a user mistake, are identifiable, and because the fix is so restrained that the same (or another) problem will probably arise elsewhere later on - this just hides the user's mistake. I would change my mind if it was "fixed" at a larger level (i.e if the fixed method was in the abstract Plugin base class for instance - or if another mechanism than a simple startsWith was used, maybe some File utility methods allow something similar) > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
