Re: resources-plugin, testResources, relative path, eclipse plugin
> Any other options? Keep fighting Eclipse until you have the "luxury" to fix things properly. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: resources-plugin, testResources, relative path, eclipse plugin
I don't have the luxury -- product is preparing to ship, build refactorings won't be allowed. Not under my control right now. Believe me there are a lot of things I'd like to fix the right way. Any other options? On Thu, Jun 3, 2010 at 12:39 PM, Wayne Fay wrote: >> I have a multi-module project. I have some test resources that a >> project needs at runtime that are defined in another project. I know >> the correct would be to move shared resources into their own project, >> but I don't have that luxury right now. So, I do this: > > You know what you should do -- just spend the time and fix it right. > Surely that will take less time than constantly fighting with Eclipse, > sending emails to this list, etc right?? > > Wayne > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Zeno Consulting, Inc. home: http://www.zenoconsulting.biz blog: http://zenoconsulting.wikidot.com p: 248.894.4922 f: 313.884.2977 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: resources-plugin, testResources, relative path, eclipse plugin
> I have a multi-module project. I have some test resources that a > project needs at runtime that are defined in another project. I know > the correct would be to move shared resources into their own project, > but I don't have that luxury right now. So, I do this: You know what you should do -- just spend the time and fix it right. Surely that will take less time than constantly fighting with Eclipse, sending emails to this list, etc right?? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
resources-plugin, testResources, relative path, eclipse plugin
Hi, I have a multi-module project. I have some test resources that a project needs at runtime that are defined in another project. I know the correct would be to move shared resources into their own project, but I don't have that luxury right now. So, I do this: ${basedir}/../other-project/src/test/resources/ some-file.xml Then run: mvn process-test-resources This puts some-file.xml under target/test-classes/some-file.xml, which is great b/c I need it there on the test classpath. So far so good...until I create the eclipse project and the eclipse plugin adds this line to the .classpath file: The problem is the windows path-name [C:/path/other-project/src/test/resources]...apparently, eclipse can't deal with it. Under the problems tab in eclipse, it notes that the resource can't be found, and the project can't be built. I have to manually go into Eclipse and delete the link, and link it back in manually. I've tried a number of different ways to get around this looking at the various options for maven-eclipse-plugin and maven-resources-plugin, but I'm coming up short. Any ideas?? Thanks in advance, Davis - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org