[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 943: Put struts dependency back into root pom.

2009-10-30 Thread noreply
revno: 943 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-10-30 20:08:52 +0100 message: Put struts dependency back into root pom. modified: dhis-2/dhis-services/dhis-service-importexport/sr

Re: [Dhis2-devs] dhis2.com now a.k.a. dhis2.org

2009-10-30 Thread Ola Hodne Titlestad
2009/10/30 Ola Hodne Titlestad > > 2009/10/30 Lars Helge Øverland > > >> >> >> On Thu, Oct 29, 2009 at 7:43 PM, Jason Pickering < >> jason.p.picker...@gmail.com> wrote: >> >>> The rest of the content of this mail can be ignored, but anyway, my >>> feelings on this. >>> >>> >>> We MUST simplify

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 942: First steps at dxf2 parser. Rough outline but compiles ...

2009-10-30 Thread noreply
revno: 942 committer: Bob Jolliffe branch nick: trunk timestamp: Fri 2009-10-30 18:20:30 + message: First steps at dxf2 parser. Rough outline but compiles ... The v2objects shouldnt be under version control as they are auto-gene

Re: [Dhis2-devs] How could import a class file in DHIS2

2009-10-30 Thread Hieu Dang Duy
Again thank you for agreement with Jo master of "kung fu maven" ^_^ Hopefully that, will be learned more from Jo's suggestion. 3 and cheers ! On Sat, Oct 31, 2009 at 12:42 AM, Bob Jolliffe wrote: > Yes noticed! Jo is the maven master not me :-) Though I think he is right > to point out that,

Re: [Dhis2-devs] How could import a class file in DHIS2

2009-10-30 Thread Bob Jolliffe
2009/10/30 Hieu Dang Duy > Thanks Bob very much. The license wise, yup ! Also, always remember one > slogan "Freedom not Free". But I think we should notice on Jo's opinion. Yes noticed! Jo is the maven master not me :-) Though I think he is right to point out that, though it can be done its

Re: [Dhis2-devs] The use of dimensions in data entry and data analysis (was: commit message for Rev 938)

2009-10-30 Thread Bob Jolliffe
Don't really have much time to contribute to this discussion right now, but ... 2009/10/30 Ola Hodne Titlestad > 2009/10/30 Jason Pickering > >> Perhaps it is a bad example but it raises a good point, and we might >> should move this to a new thread if it continues to balloon. >> >> I changed t

Re: [Dhis2-devs] How could import a class file in DHIS2

2009-10-30 Thread Hieu Dang Duy
Thanks Bob very much. The license wise, yup ! Also, always remember one slogan "Freedom not Free". But I think we should notice on Jo's opinion. Can I have you tell us more about the external dependencies what's kind of them ? They're also declared as the origin one into pom.xml file, aren't they ?

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Jason Pickering
I am not in agreement but will formulate a longer response on a seperate thread. Jason On 10/30/09, Bob Jolliffe wrote: > This sounds like a simple GUI feature request rather than something > fundamental about categories. > > Request: an option to generate totals column for category options. Not

[Dhis2-devs] The use of dimensions in data entry and data analysis (was: commit message for Rev 938)

2009-10-30 Thread Ola Hodne Titlestad
2009/10/30 Jason Pickering > Perhaps it is a bad example but it raises a good point, and we might > should move this to a new thread if it continues to balloon. > > I changed the name of the subject, might be to general, but still better than a reply to a commit message. > My understanding was

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Bob Jolliffe
This sounds like a simple GUI feature request rather than something fundamental about categories. Request: an option to generate totals column for category options. Not that it should be stored. In general I think I would view having "Total" categoryoptions as a proverbial bad thing. Mind you t

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Jason Pickering
Perhaps it is a bad example but it raises a good point, and we might should move this to a new thread if it continues to balloon. My understanding was the category options would be used for data entry. This is not really an issue about 1.4, it is really an issue about whether people will enter t

Re: [Dhis2-devs] maven question

2009-10-30 Thread Bob Jolliffe
bad sign I know ... mind you I never said make was better. Just I understand it better. And FreeBSD ports still work in the present - rather well in fact :-) 2009/10/30 Jo Størset > > Den 30. okt. 2009 kl. 13.35 skrev Bob Jolliffe: > > > I am not suggesting to anyone we should abandon it. J

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Ola Hodne Titlestad
2009/10/30 Jason Pickering > OK, I took a walk around the block to think about this a bit more. I > think it does, make sense, sort of. Lets look at "Total", which might > be defined as a calculated data element, say composed of different age > groups. But the "Total" in this category, would not

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 941: Commented out the call to lockingManager again.

2009-10-30 Thread noreply
revno: 941 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-10-30 16:11:29 +0100 message: Commented out the call to lockingManager again. modified: dhis-2/dhis-services/dhis-service-importexp

Re: [Dhis2-devs] maven question

2009-10-30 Thread Jo Størset
Den 30. okt. 2009 kl. 13.35 skrev Bob Jolliffe: I am not suggesting to anyone we should abandon it. Just that I still struggle occasionally ... in fact I fight with it. But I think the fight is worth it. Has much the same functionality as FeeBSD ports system which is good. Though FreeB

Re: [Dhis2-devs] How could import a class file in DHIS2

2009-10-30 Thread Jo Størset
Hi, it wouldn´t generally be a good idea to add such a class to dhis. But, if it had to be done anyway, it is possible (and not that difficult) to do it without adding it as an external dependency. Typically by telling maven to copy the class to target, in the same way that resources is c

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Jason Pickering
OK, I took a walk around the block to think about this a bit more. I think it does, make sense, sort of. Lets look at "Total", which might be defined as a calculated data element, say composed of different age groups. But the "Total" in this category, would not be the same as the "Total" that migh

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Lars Helge Øverland
On Fri, Oct 30, 2009 at 3:19 PM, Ola Hodne Titlestad wrote: > 2009/10/30 Jason Pickering > > Could some one remind me once again what the point of having a >> category option in two separate categories is? is there a use case >> here? It does not seem totally obvious, but maybe I am missing >> so

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Bob Jolliffe
2009/10/30 Ola Hodne Titlestad > 2009/10/30 Jason Pickering > > Could some one remind me once again what the point of having a >> category option in two separate categories is? is there a use case >> here? It does not seem totally obvious, but maybe I am missing >> something. >> >> > I'll give i

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Ola Hodne Titlestad
2009/10/30 Jason Pickering > Could some one remind me once again what the point of having a > category option in two separate categories is? is there a use case > here? It does not seem totally obvious, but maybe I am missing > something. > > I'll give it a try: Here are two categorycombos and t

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 940: factored out dxfv1 parsing into separate method

2009-10-30 Thread noreply
revno: 940 committer: Bob Jolliffe branch nick: trunk timestamp: Fri 2009-10-30 13:52:10 + message: factored out dxfv1 parsing into separate method modified: dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Lars Helge Øverland
On Fri, Oct 30, 2009 at 2:43 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > Could some one remind me once again what the point of having a > category option in two separate categories is? is there a use case > here? It does not seem totally obvious, but maybe I am missing > something.

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread Jason Pickering
Could some one remind me once again what the point of having a category option in two separate categories is? is there a use case here? It does not seem totally obvious, but maybe I am missing something. Regards, jason On Fri, Oct 30, 2009 at 3:24 PM, wrote: > -

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 939: Minor fix.

2009-10-30 Thread noreply
revno: 939 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-10-30 14:26:21 +0100 message: Minor fix. modified: dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/impor

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 938: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period.

2009-10-30 Thread noreply
revno: 938 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-10-30 14:22:00 +0100 message: Made the uniqueness constraint on CategoryOption back in. Will maintain it in a transition period. modi

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 937: Added periodType property to ExcelItemGroup to solve compilation error.

2009-10-30 Thread noreply
revno: 937 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-10-30 14:04:40 +0100 message: Added periodType property to ExcelItemGroup to solve compilation error. modified: dhis-2/dhis-api/src

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 936: Moved test for DataValue element to first item in the "if-then-else" tree

2009-10-30 Thread noreply
revno: 936 committer: Bob Jolliffe branch nick: trunk timestamp: Fri 2009-10-30 12:51:29 + message: Moved test for DataValue element to first item in the "if-then-else" tree Avoids doing 41 comparisons before importing each datav

[Dhis2-devs] Compile, test - then commit !

2009-10-30 Thread Lars Helge Øverland
Hi, quite a few times lately there's been problems with code not compiling and tests not running successfully in trunk, including right now. This is just a gentle reminder of the most basic rule for code discipline: Before committing to trunk, build all modules and run all unit tests. With all m

Re: [Dhis2-devs] maven question

2009-10-30 Thread Bob Jolliffe
I am not suggesting to anyone we should abandon it. Just that I still struggle occasionally ... in fact I fight with it. But I think the fight is worth it. Has much the same functionality as FeeBSD ports system which is good. Though FreeBSD ports are implemented with make which I still understa

Re: [Dhis2-devs] maven question

2009-10-30 Thread Lars Helge Øverland
> >> > Fine that you're superstitious Bob, but this (rather time consuming, unless > you need time to get another cup of coffee) step is exactly the same as the > last process taking place in step 2 above since the portal is defined as a > the last module in dhis-web/pom.xml, so your dhis.war will

Re: [Dhis2-devs] maven question

2009-10-30 Thread Ola Hodne Titlestad
2009/10/30 Bob Jolliffe > I am currently struggling to build dhis2 correctly :-( I think it reflects > my fairly thin grasp on the workings of maven. > > Let me retrace my steps: > > 1. cd > mvn clean install -Dtest=skip -DfailIfNoTests=false > > 2. cd dhis-web > mvn clean install -Dtest=skip

Re: [Dhis2-devs] maven question

2009-10-30 Thread Bob Jolliffe
2009/10/30 Lars Helge Øverland > > > On Fri, Oct 30, 2009 at 12:06 PM, Bob Jolliffe wrote: > >> ok. I see it is not listed as a dependency in the web-commons pom.xml. >> This looks like the problem as all the others are there. When I add it in I >> am getting a problem >> >> 'dependencies.depen

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 935: Check namespace URI of dxf root element

2009-10-30 Thread noreply
revno: 935 committer: Bob Jolliffe branch nick: trunk timestamp: Fri 2009-10-30 12:02:47 + message: Check namespace URI of dxf root element Further tidying up of pom files modified: dhis-2/dhis-services/dhis-service-aggregation

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 933: Added aggregationengine to dependency managment in root pom.

2009-10-30 Thread Bob Jolliffe
Ah. Thanks lars. 2009/10/30 > > revno: 933 > committer: Lars Helge Oeverland larshe...@gmail.com > branch nick: trunk > timestamp: Fri 2009-10-30 12:53:48 +0100 > message: > Added aggregationengine to dependency managment in root pom

Re: [Dhis2-devs] dhis2.com now a.k.a. dhis2.org

2009-10-30 Thread Ola Hodne Titlestad
2009/10/30 Lars Helge Øverland > > > > On Thu, Oct 29, 2009 at 7:43 PM, Jason Pickering < > jason.p.picker...@gmail.com> wrote: > >> The rest of the content of this mail can be ignored, but anyway, my >> feelings on this. >> >> >> We MUST simplify the number of sites. I know of the following tha

Re: [Dhis2-devs] maven question

2009-10-30 Thread Lars Helge Øverland
On Fri, Oct 30, 2009 at 12:06 PM, Bob Jolliffe wrote: > ok. I see it is not listed as a dependency in the web-commons pom.xml. > This looks like the problem as all the others are there. When I add it in I > am getting a problem > > 'dependencies.dependency.version' is missing for > org.hisp.dhis

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 934: Removed aggregationengine version from excel report module pom.

2009-10-30 Thread noreply
revno: 934 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-10-30 12:54:30 +0100 message: Removed aggregationengine version from excel report module pom. modified: dhis-2/dhis-web/dhis-web-exc

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 933: Added aggregationengine to dependency managment in root pom.

2009-10-30 Thread noreply
revno: 933 committer: Lars Helge Oeverland larshe...@gmail.com branch nick: trunk timestamp: Fri 2009-10-30 12:53:48 +0100 message: Added aggregationengine to dependency managment in root pom. modified: dhis-2/pom.xml -- lp:dhis2 ht

Re: [Dhis2-devs] UnitTest is failed

2009-10-30 Thread Lars Helge Øverland
On Fri, Oct 30, 2009 at 10:14 AM, Hieu Dang Duy wrote: > Dear all, > > I'm trying to use "mvn test" to test a UnitTest class. As known is "* > I18nServiceTest*". > > First of all, I used the command line above for testing this class and then > the *FAILURE *message was responded. > After that, I t

Re: [Dhis2-devs] maven question

2009-10-30 Thread Bob Jolliffe
ok. I see it is not listed as a dependency in the web-commons pom.xml. This looks like the problem as all the others are there. When I add it in I am getting a problem 'dependencies.dependency.version' is missing for org.hisp.dhis:dhis-service-aggregationengine-default Can't quite figure this o

Re: [Dhis2-devs] maven question

2009-10-30 Thread Bob Jolliffe
I have found that when I manually replace dhis-service- aggregationengine-default-2.0.3-SNAPSHOT.jar in the dhis.war it runs. So the problem is definitely related to this file. Something maven is not doing. Should be simple enough to isolate but I can't see it. Still looking ... Cheers Bob 2

Re: [Dhis2-devs] dhis2.com now a.k.a. dhis2.org

2009-10-30 Thread Lars Helge Øverland
On Thu, Oct 29, 2009 at 7:43 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > The rest of the content of this mail can be ignored, but anyway, my > feelings on this. > > > We MUST simplify the number of sites. I know of the following that are > related to DHIS > > I think there are pro

Re: [Dhis2-devs] maven question

2009-10-30 Thread Jason Pickering
I am having the same problem. DHIS fails to launch with the latest version of the source code. On Fri, Oct 30, 2009 at 12:22 PM, Bob Jolliffe wrote: > I am currently struggling to build dhis2 correctly :-(  I think it reflects > my fairly thin grasp on the workings of maven. > > Let me retrace m

Re: [Dhis2-devs] How could import a class file in DHIS2

2009-10-30 Thread Bob Jolliffe
Because dhis is built using maven then all such dependencies must be handled by maven. So the compiled class would have to be fetched from a maven repository which makes the licence issue quite important. You can load it in to a local repository but that doesn't help the global build process. Muc

[Dhis2-devs] maven question

2009-10-30 Thread Bob Jolliffe
I am currently struggling to build dhis2 correctly :-( I think it reflects my fairly thin grasp on the workings of maven. Let me retrace my steps: 1. cd mvn clean install -Dtest=skip -DfailIfNoTests=false 2. cd dhis-web mvn clean install -Dtest=skip -DfailIfNoTests=false 3. cd dhis-web-por

Re: [Dhis2-devs] How could import a class file in DHIS2

2009-10-30 Thread Hieu Dang Duy
Oh my god ! Thanks Knut, you have reminded me about the license. I forgot in this issue. About the technique always a still question. ^_~ On Fri, Oct 30, 2009 at 4:33 PM, Knut Staring wrote: > Hieu - one aspect is how to do this technically. Another is license: Where > does this come from, and

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 932: Import data from Excel File - Work in process

2009-10-30 Thread noreply
revno: 932 committer: Tran Chau branch nick: trunk timestamp: Fri 2009-10-30 17:01:26 +0700 message: Import data from Excel File - Work in process modified: dhis-2/dhis-services/dhis-service-excel-reporting/src/main/java/org/hisp/dh

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 931: Import data from Excel report - work in processing

2009-10-30 Thread noreply
revno: 931 committer: Tran Chau branch nick: trunk timestamp: Fri 2009-10-30 16:59:20 +0700 message: Import data from Excel report - work in processing removed: dhis-2/dhis-web/dhis-web-excel-reporting/src/main/java/org/hisp/dhis/r

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 930: Changed the value of the SESSION_KEY to avoid confusion while selected period with dataentry

2009-10-30 Thread noreply
revno: 930 committer: hieu branch nick: trunk timestamp: Fri 2009-10-30 16:50:25 +0700 message: Changed the value of the SESSION_KEY to avoid confusion while selected period with dataentry modified: dhis-2/dhis-web/dhis-web-excel-r

Re: [Dhis2-devs] How could import a class file in DHIS2

2009-10-30 Thread Knut Staring
Hieu - one aspect is how to do this technically. Another is license: Where does this come from, and under what license? Knut On Fri, Oct 30, 2009 at 4:23 AM, Hieu Dang Duy wrote: > Dear all, > > ie. I have got a class file which was complied. I didn't have its source > code. I want to reuse it i

[Dhis2-devs] UnitTest is failed

2009-10-30 Thread Hieu Dang Duy
Dear all, I'm trying to use "mvn test" to test a UnitTest class. As known is "* I18nServiceTest*". First of all, I used the command line above for testing this class and then the *FAILURE *message was responded. After that, I tried commenting all of its content almost. But still let a few of stat

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 929: update indicator/dataelement group set more similar than and create show details function

2009-10-30 Thread noreply
revno: 929 committer: Tran Thanh Tri branch nick: trunk timestamp: Fri 2009-10-30 14:06:12 +0700 message: update indicator/dataelement group set more similar than and create show details function added: dhis-2/dhis-web/dhis-web-mai