dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05528
Change to source code projects / modules
Hi,
*
*
*I have made a change to the source code projects / modules. Those of you
who have the source code in an IDE (eclipse, netbeans) should remove the *
*
*
*1) dhis-useradminandsecurity*
*2) dhis-service-user-hibernate*
*3) dhis-service-jdbc*
*4) dhis-service-jdbc-test*
*5) dhis-options*
*projects before updating the source code! (or just remove all)*
If you don't do this you will get problems ala "Directory could not be
deleted, not empty" from bazaar. If you get those the best solution is to
delete the whole working copy and check out again.
I have removed 1) and 2) and merged them into the dhis-service-core. This
had to be done because we need the user-functionality in trunk (Viet's work
on audit logging).
I have also reamed and moved 3) and 4) (dhis-service-jdbc ->
dhis-support-jdbc and dhis-service-jdbc-test -> dhis-support-jdbc-test) to
dhis-support directory.
I have renamed and moved 5) (dhis-options -> dhis-service-options) to
dhis-services.
All this to improve the dependency structure in the system. Now we have a
layered structure with 5 levels:
- Portal
- Web modules
- Service modules
- Core module
- Support modules
See this image:
http://docs.google.com/drawings/pub?id=1UyUUmGdngQeyWc5PY0F9JpvTRyzvUAY0AQ2gWP-mewY&w=960&h=720
This implies that modules cannot have dependencies to modules at a higher
level, only at the same or a lower level. This will reduce the chances of
getting cyclic dependency issues in the future. All unit tests now run
successfully. Will include this in the technical docs. I am sorry for the
inconvenience this might mean for merging development branches.
cheers,
Lars
Follow ups