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_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to