[ http://jira.codehaus.org/browse/MIDEA-24?page=all ] Brett Porter reopened MIDEA-24: -------------------------------
> Resources should be in the classpath, not sources > ------------------------------------------------- > > Key: MIDEA-24 > URL: http://jira.codehaus.org/browse/MIDEA-24 > Project: Maven 2.x Idea Plugin > Type: Improvement > Reporter: Patrick Lightbody > Assignee: Edwin Punzalan > Fix For: 2.0 > Attachments: idea.resources.diff > > > I think resources should be marked in the classpath, not in the sources > directory. Although sources can be copied, but defalt some files aren't (like > .gif, .js, etc). Brett agreed this would be a fine change, so I am attaching > a patch. Note: this patch is a bit ghetto since I didn't know how to tell if > a java Resource is of the "resources" type or the "java source" type. Feel > free to tweak the endsWith("resources") check as needed :) -- 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