dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04548
Re: Error DHIS2 building
Hi there. I am getting other errors, and have been getting these for
some time now. I cannot pin down exactly which revision this started
happening on. The stacktrace is long, and I have posted it here
http://www.pastebin.org/99803
This was from rev 1524.
I am using Debian Etch, Apache Tomcat 6.0.18 and Java JDK1.6.0_10
Any help would be appreciated.
Best regards,
Jason
On Tue, Mar 2, 2010 at 8:21 AM, Kim-Anh Vo <catakim@xxxxxxxxx> wrote:
> Hei Quang,
> It's okay here... with my computer (just built successfully a few minutes
> ago).
> Sometimes before I also got errors like that... check out your Internet
> connection... try AGAIN... just downloading libraries.
> Btw, I often use: mvn install -Dmaven.test.skip=true to SKIP the test cases
> due to time-consuming.
>
> Goodluck then!
>
> On Tue, Mar 2, 2010 at 12:37 PM, Quang Nguyen <quangnguyen111@xxxxxxxxx>
> wrote:
>>
>> Hi there,
>>
>> I'm just getting started with DHIS2. I got following errors when building
>> the source code:
>>
>> 1. Building dhis-2 with tests:
>>
>> Tests in error:
>> addGet(org.hisp.dhis.patientdatavalue.PatientDataValueStoreTest)
>> aggregate
>>
>>
>> (org.hisp.dhis.patientdatavalue.aggregation.PatientDataValueAggregationEngineTest)
>> addGet(org.hisp.dhis.patient.PatientStoreTest)
>> getAll(org.hisp.dhis.patient.PatientStoreTest)
>> delete(org.hisp.dhis.patient.PatientStoreTest)
>>
>> Tests run: 6, Failures: 0, Errors: 5, Skipped: 0
>>
>> 2. Then I got success when building it without tests, but building
>> dhis-web I got this error:
>>
>> [INFO] Building DHIS Web Portal
>> [INFO] task-segment: [clean, install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [clean:clean {execution: default-clean}]
>> [INFO] Deleting directory
>> C:\cygwin\home\Quang\dhis2\dhis-2\dhis-web\dhis-web-portal
>>
>> \target
>> [INFO] [resources:resources {execution: default-resources}]
>> [INFO] Using encoding: 'UTF-8' to copy filtered resources.
>> Downloading: http://www.amplecode.org/maven2/org/hisp/dhis/dhis-web-excel-
>>
>> reporting/2.0.4-SNAPSHOT/dhis-web-excel-report
>> ing-2.0.4-SNAPSHOT.war
>> [INFO] Unable to find resource
>> 'org.hisp.dhis:dhis-web-excel-reporting:war:2.0.4-
>>
>> SNAPSHOT' in repository amplecode_maven
>> 2_repo (http://www.amplecode.org/maven2)
>> Downloading:
>> http://jasperreports.sourceforge.net/maven2/org/hisp/dhis/dhis-web-
>>
>> excel-reporting/2.0.4-SNAPSHOT/dhis-web-
>> excel-reporting-2.0.4-SNAPSHOT.war
>> [INFO] Unable to find resource
>> 'org.hisp.dhis:dhis-web-excel-reporting:war:2.0.4-
>>
>> SNAPSHOT' in repository jasperreports (
>> http://jasperreports.sourceforge.net/maven2)
>> Downloading: http://repository.codehaus.org/org/hisp/dhis/dhis-web-excel-
>>
>> reporting/2.0.4-SNAPSHOT/dhis-web-excel-reporti
>> ng-2.0.4-SNAPSHOT.war
>> [INFO] Unable to find resource
>> 'org.hisp.dhis:dhis-web-excel-reporting:war:2.0.4-
>>
>> SNAPSHOT' in repository org.codehaus.wo
>> odstox (http://repository.codehaus.org)
>> Downloading:
>> http://dhis.uio.no/maven/external/org/hisp/dhis/dhis-web-excel-
>>
>> reporting/2.0.4-SNAPSHOT/dhis-web-excel-repo
>> rting-2.0.4-SNAPSHOT.war
>> [INFO] Unable to find resource
>> 'org.hisp.dhis:dhis-web-excel-reporting:war:2.0.4-
>>
>> SNAPSHOT' in repository dhis.uio.no (ht
>> tp://dhis.uio.no/maven/external)
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) org.hisp.dhis:dhis-web-excel-reporting:war:2.0.4-SNAPSHOT
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=org.hisp.dhis
>> -DartifactId=dhis-web-excel-
>>
>> reporting -Dversion=2.0.4-SNAPSHOT -D
>> packaging=war -Dfile=/path/to/file
>>
>> Alternatively, if you host your own repository you can deploy the file
>> there:
>> mvn deploy:deploy-file -DgroupId=org.hisp.dhis
>> -DartifactId=dhis-web-excel-
>>
>> reporting -Dversion=2.0.4-SNAPSHOT -Dpa
>> ckaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>
>> Path to dependency:
>> 1) org.hisp.dhis:dhis-web-portal:war:2.0.4-SNAPSHOT
>> 2) org.hisp.dhis:dhis-web-excel-reporting:war:2.0.4-SNAPSHOT
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>> org.hisp.dhis:dhis-web-portal:war:2.0.4-SNAPSHOT
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2),
>> amplecode_maven2_repo (http://www.amplecode.org/maven2),
>> org.codehaus.woodstox (http://repository.codehaus.org),
>> jasperreports (http://jasperreports.sourceforge.net/maven2),
>> dhis.uio.no (http://dhis.uio.no/maven/external)
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 9 minutes 32 seconds
>> [INFO] Finished at: Mon Mar 01 11:43:11 ICT 2010
>> [INFO] Final Memory: 25M/63M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> 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).
>>
>> Hope anybody can help me out.
>> Thank you very much!
>>
>> Best regards,
>> Quang
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> --
> Best regards,
> Kim-Anh Vo
>
> +84.906612246
> kavo@xxxxxxxxxx
> Coordinator of HISP(hisp.info) in Vietnam
> Master of Information Systems
> at the University of Oslo
> ------------------------------------
> join facebook at www.facebook.com join LinkedIn at www.linkedin.com
>
> _______________________________________________
> 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
Follow ups
References