dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05543
Re: Change to source code projects / modules
Just remove the projects as described and do a bzr merge lp:dhis2. If you
haven't done any changes in those projects it should work fine.
Lars
2010/4/22 Hieu Dang Duy <hieu.hispvietnam@xxxxxxxxx>
> Dear Lars,
>
> Do you have any solution for resolving this inconvenient issue in the
> another branches?
>
> Re-pushing is the solution, isn't it? ... no idea. [?]
>
> Thanks.
>
> 2010/4/22 Lars Helge Øverland <larshelge@xxxxxxxxx>
>
>>
>> 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
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs>
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Hieu.HISPVietnam
> Good Health !
>
Follow ups
References