StringIndexOutOfBoundsException when call gwt:resources on module with no 
package prefix
----------------------------------------------------------------------------------------

                 Key: MGWT-298
                 URL: http://jira.codehaus.org/browse/MGWT-298
             Project: Maven 2.x GWT Plugin
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Tim Clemons
         Attachments: patch.txt

When calling gwt:resources on a module named Foo (which has no package), a 
StringIndexOutOfBoundsException is thrown.  Examined the GwtModule.getPackage() 
method and the return value from String.lastIndexOf() isn't checked for errors.

Patch is attached.

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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to