dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04585
Re: Error DHIS2 building
Thanks. I got it installed and working after updating the JDK to u18,
nuking my .m2 directory, and downloading a fresh version of the
source,and changing the maven opts variables. We should probably
update the docs. I will update the uber-build script in the
dhis2-live-installer as well to take this into account.
2010/3/2 Lars Helge Øverland <larshelge@xxxxxxxxx>:
>
>
> On Tue, Mar 2, 2010 at 12:48 PM, Quang Nguyen <quangnguyen111@xxxxxxxxx>
> wrote:
>>
>>
>> On Tue, Mar 2, 2010 at 6:35 PM, Viet Nguyen <phamquocviet@xxxxxxxxx>
>> wrote:
>>>
>>>
>>> 2010/3/2 Quang Nguyen <quangnguyen111@xxxxxxxxx>
>>>>
>>>> Sorry, I forgot to attach the file :)
>>>>
>>>> 2010/3/2 Quang Nguyen <quangnguyen111@xxxxxxxxx>
>>>>>
>>>>> Hi all,
>>>>>
>>>>> 2010/3/2 Lars Helge Øverland <larshelge@xxxxxxxxx>
>>>>>>
>>>>>> Not sure about this... Could you send the surefire report files in the
>>>>>> target folder?
>>>>>>
>>>>>
>>>>> Enclosed is the surefine reports.
>>>>>
>>>>>> This happens because the packaging type for the excel-reporting module
>>>>>> was set to JAR and not WAR.
>>>>>> VN uses this setting for debugging and sometimes forgets to put it
>>>>>> back...
>>>>>>
>>>>>
>>>>> We should set it back to WAR, shouldn't we?
>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 3. Remove dhis-web-excel-reporting from the POM file of
>>>>>>> dhis-web-portal, it's okay to run the project. However I got out of memory
>>>>>>> exception as soon as I logged-in to the system (still error when JAVA_OPTS
>>>>>>> environment variable was set).
>>>>>>>
>>>>> I still got the out of memory exception. My computer has 3GBs of
>>>>> memory, running Windows 7, jdk1.6.0_16, maven 2.2.1 with JAVA_OPTS=-Xms256m
>>>>> -Xmx768m -XX:PermSize=256m -XX:MaxPermSize=768m environment variable. Any
>>>>> ideas?
>>>>>
>>>>> Thank you.
>>>>> Best regards,
>>>>> Quang
>>>>
>>>
>>> Hi,
>>>
>>> First, I think you should upgrade to jdk1.6.0_17
>>>
>>> Second , did you add this variable MAVEN_OPTS = -Xms256m -Xmx512m ?
>>
>> Hey, it works with MAVEN_OPTS set. Should we put this point on
>> http://dhis2.com/development? It should be useful for newbies like me :)
>
> Done.
>
>>
>> Thank you.
>> Cheers,
>> Quang
>>
>>>
>>> regards,
>>> --
>>> Viet Nguyen
>>>
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
--
--
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+260968395190
References