Hi m2eclipse people,

I've been using m2eclipse for some time with great enjoyment. The other day
I started a new project and wanted to make it module based (earlier on I've
only been working with single module POMs).

It worked fine when creating the project and it's module projects but when I
committed it to our SVN server and checked it out on another machine, the
module "ghost projects" where not created. This was not really a problem at
first, untill we started running tests in our modules testware. The line as
follows does not resolve a working file:

File file = new File("src/test/resources/scd2test_historic.csv");

And this is of course because the project root in eclipse is now the parent
project instead of the module project. How do you guys overcome such
problems? Is there a way to recreate the ghost projects for each module? Or
do you have any good hacks for accessing files relative to the module root
instead of the parent project root?

Best regards,
Kasper Sørensen

>

Reply via email to