[ http://jira.codehaus.org/browse/MPIDEA-37?page=comments#action_47087 ]
Eirik Maus commented on MPIDEA-37: ---------------------------------- After trying both alternatives, I find my self ending up with these directories as both source and libraries in Idea. You want the source-option because you want all the edit possibilities, AND you want them as libraries so when you run you want the newliy edited version of the file to be in the classpath BEFORE the old version that maved has copied to classes / test-classes some while ago (in a previous run). It is extremely annoying to spend 15 minutes wondering/exploring why the new changes you just made in spring.xml apparently has no effect when you hit the run-test button in Idea, only to discover that, again, maven has played a trick on you last time you ran from the command line, putting old copies of these files all around the classpath. With the exisitng (and source-dir-only) setup, the default behaviour is that changes have no effect since old copies lying aroung in the classpath take precedence. That is extremely annoying, almost worse than (the current practice of) not being able to run the tests at all because NO copies of the resource files are in the classpath. Actually, I would like to have resource files that are both editable and available when you run, both under maven and Idea, and I would also like changes to take effect just as it does with java source files. It is as simple as that. > Add resources dirs as source directories > ---------------------------------------- > > Key: MPIDEA-37 > URL: http://jira.codehaus.org/browse/MPIDEA-37 > Project: maven-idea-plugin > Type: Improvement > Reporter: Eirik Maus > > > We use spring for configuration of the modules in a large project. The spring > xml files of the respective modules are of course in the resources / test > resources directories as specified in the maven POM. With the current IDEA > plugin we have to map these directories as source manually each time we > regenerate the idea project file from the POMs (at least once a day). The > Idea plugin should set up this by default. -- 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, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
