By "ghost project" I mean those virtual projects that are made in eclipse to represent the modules. I guess I saw the term "ghost project" at some website and thought it was an accepted term :) Anyways, the link you refered to helped me. I had to use "import -> Other -> Materialize Maven projects". Then I pressed "Next" (without adding any Maven artifacts to the former dialog) and selected the root directory of my parent project as "Location" instead of "Use default Workspace Location".
Even though this solves my problem I would like to propose a more user friendly way of materializing maven projects based on modules of a parent project. Ideally I think it should be available directly from the right-click menu on parent projects. Best regards, Kasper Sørensen 2008/10/1 Eugene Kuleshov <[EMAIL PROTECTED]> > Kasper, > > What exactly do you call "ghost project"? > > Please note that when you are importing Maven projects into Eclipse you > need to make sure you are using one of the Maven import wizards. See > http://docs.codehaus.org/display/M2ECLIPSE/Importing+Maven+projects > If you want to create small test projects with modules and see if you can > import it from local folder into the ide using those wizards. If you'll have > issues with that, please create bug report and attach that project in there. > > regards, > Eugene > > > Kasper Sørensen wrote: > >> 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 >> >> 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). >> > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Med venlig hilsen / Best regards Kasper Sørensen Allersgade 2, 2. th DK-2200 København N T: (+45) 26134307 E: [EMAIL PROTECTED]