What does happen if you have a root directory with no "code" (src dir), just the project.properties to set up multiproject, and you run eclipse:multiproject?
I know there are some people using eclipse to work with Geronimo, which has a project structure with a root project with no code, and a lot of subprojects. I don't know what they use to set up eclipse however.
david jencks
On Feb 17, 2005, at 8:50 AM, James Adams wrote:
David your approach looks to be as simple as possible. The only problem is that Eclipse really doesn't allow me to have my entire project under a root directory, hence I'll probably take Arnaud's suggestion and create a "root" project at the same level as the other projects/modules. With this arrangement your solution will not work unaltered since if I run "maven multiproject:install" from the root project directory it doesn't know about any subprojects since they're all on the same level as the root project, instead of under it. With this in mind is there still a way to make your solution work ? Everything I've tried so far has bombed. Maybe it's just as easy to use Arnaud's suggested solution ?
Thanks in advance, I really appreciate the help.
--James
there's a simpler way...
in each subproject include a project.properties file with (at least) a line like
maven.multiproject.type=ejb
(or war, rar, jar, ear, plugin etc depending what it
is)
then on the top level project
maven multiproject:install
will build and install all the subprojects.
I don't use eclipse but I thought that the eclipse plugin handled multiproject structures. Try maven eclipse:multiproject and see what happens.
david jencks
__________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
