Wrong regex for splitting paths in Library (classes, sources and javadocs) -- 
Breaks paths containing whitespaces, doesn't obbey system path separator
------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MIDEA-114
                 URL: http://jira.codehaus.org/browse/MIDEA-114
             Project: Maven 2.x IDEA Plugin
          Issue Type: Bug
    Affects Versions: 2.2, 2.3
            Reporter: Raul Igrisan
         Attachments: maven-idea-plugin.MIDEA-paths_split.patch

org.apache.maven.plugin.idea.Library should use "[" + File.pathSeparatorChar + 
"]+" instead of "[,\\s]+"

also needed refactoring (extract method) since the code is duplicated 3 times

I have attached my patch (needs whitespace formatting)

-- 
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

        

Reply via email to