← Back to team overview

dhis2-devs team mailing list archive

Re: Errors Compiling

 

I skipped the tests, thanks to @Knut and now it works like charm, connected
with MySql too. Got all worked up I forgot to reply :)
Everything is ok now.


On Wed, Apr 24, 2013 at 8:25 AM, brajesh murari <bmurari79@xxxxxxxxx> wrote:

> lgore, try with maven goals
>
> mvn clean install -Dmaven.test.skip=true
>
> For time being this will short out your issue and build process will go in
> smooth way.
>
>
> On Tue, Apr 23, 2013 at 10:04 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
>
>> Igor, do you need to run the tests? You could just skip them?
>>
>> Sent from my mobile
>> On Apr 22, 2013 11:31 PM, "Igor Brishkoski" <igor.brishkoski@xxxxxxxxx>
>> wrote:
>>
>>> Updated to the latest JDK and JRE, tried mvn with -fae and -fn, still
>>> getting the same error.
>>>
>>> Here is details from org.hisp.dhis.orgunitdistribution.
>>> OrgUnitDistributionServiceTest.txt http://pastebin.com/8aADeRss
>>>
>>> I guess there are some troubles updating the values. Am I the only one
>>> getting this? :(
>>>
>>>
>>> On Mon, Apr 22, 2013 at 6:29 PM, Lars Helge Øverland <
>>> larshelge@xxxxxxxxx> wrote:
>>>
>>>> Hi Igor,
>>>>
>>>> you are getting some test errors, go to
>>>>
>>>>
>>>> /home/igor/dhis2/dhis-2/dhis-services/dhis-service-reporting/target/surefire-reports
>>>>
>>>> and look for the file
>>>>
>>>> org.hisp.dhis.orgunitdistribution.OrgUnitDistributionServiceTest.txt
>>>>
>>>> or similar. Funny thing is that I am not getting this test error, nor
>>>> is our continous build server.
>>>>
>>>>
>>>> My best tip is to make sure you have an up-to-date JDK like OpenJDK 7...
>>>>
>>>>
>>>> Lars
>>>>
>>>>
>>>> On Sun, Apr 21, 2013 at 10:12 PM, Igor Brishkoski <
>>>> igor.brishkoski@xxxxxxxxx> wrote:
>>>>
>>>>> This is embarrassing, now I have another...
>>>>>
>>>>> http://pastebin.com/VvfdXbsT
>>>>>
>>>>>
>>>>> On Sun, Apr 21, 2013 at 9:08 PM, Lars Helge Øverland <
>>>>> larshelge@xxxxxxxxx> wrote:
>>>>>
>>>>>> OK make sure they are picked up, you shouldn't get this error if so.
>>>>>>
>>>>>>
>>>>>> On Sun, Apr 21, 2013 at 9:05 PM, Igor Brishkoski <
>>>>>> igor.brishkoski@xxxxxxxxx> wrote:
>>>>>>
>>>>>>> All of them are set to " -Xms1024m -Xmx2048m -XX:PermSize=256m
>>>>>>> -XX:MaxPermSize=512m "
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Apr 21, 2013 at 8:41 PM, Lars Helge Øverland <
>>>>>>> larshelge@xxxxxxxxx> wrote:
>>>>>>>
>>>>>>>> Hi this is the important part
>>>>>>>>
>>>>>>>> java.lang.OutOfMemoryError: PermGen space
>>>>>>>>
>>>>>>>> You need to set JAVA_OPTS and MAVEN_OPTS environment variables:
>>>>>>>>
>>>>>>>> See last section on performance tuning here:
>>>>>>>>
>>>>>>>> http://dhis2.org/development
>>>>>>>>
>>>>>>>> Lars
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, Apr 21, 2013 at 8:27 PM, Igor Brishkoski <
>>>>>>>> igor.brishkoski@xxxxxxxxx> wrote:
>>>>>>>>
>>>>>>>>> Hello guys,
>>>>>>>>>
>>>>>>>>> I'm trying to compile the code but I'm getting some errors and it
>>>>>>>>> fails.
>>>>>>>>>
>>>>>>>>> http://pastebin.com/s9CRgwgL
>>>>>>>>>
>>>>>>>>> Here is the log.
>>>>>>>>>
>>>>>>>>> Do you have some pointers on what could be wrong?
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>> _______________________________________________
>> 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
>>
>>
>

Follow ups

References