|
From: Ivo v. D. <ivo...@gm...> - 2007-10-14 11:04:41
|
Hi,
I've gone ahead and refactored the project setup to one with a parent and 2
modules. The structure now looks as follows:
trunk/
webical-core/
pom.xml (core pom)
webical-war/
pom.xml (war pom, depends on core)
pom.xml (parent pom)
To continue development take the following steps:
1. DO NOT UPDATE YOUR LOCAL WORKING COPY. This will only lead to merge hell!
2. Checkout a fresh copy of trunk in your workspace as webical-parent
3. Run mvn eclipse:eclipse
4. Delete the project from your workspace (But don't delete the files)
5. Import the webical-war and webical-core projects
6. Enable aspectj on webical-core
7. Merge your outstanding changes with the new projects (but please, do take
care not to override the new structure)
That is it. You cannot include the parent project in your workspace at the
same time as the modules as eclipse doesn't support nested projects (yet)/
This doesn't really matter because most changes will occur in the modules.
To make changes to the parent project just create a separate workspace and
checkout a fresh copy there. Don't import the modules here, only the parent
project.
Now for the good news: We have a working maven repository with nightly
snapshots deployed on it. This devision also makes our build much more
transparent (at least I think so). The poms only reflect the issues for the
module at hand.
Regards,
Ivo
--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500
|