← Back to team overview

dhis2-users team mailing list archive

Building legacy mobile in 2.10

 

   Following the instructions at http://dhis2.org/mobile, we are
trying to build the legacy (SMS transport) client.  This is failing
due to incorrect POM version numbers:

    [ERROR]   The project org.hisp.dhis:dhis-service-sms:2.9-SNAPSHOT
(/home/dtrombley/NetBeansProjects/DHIS/2.10-TRUNK/dhis-mobile/dhis-service-sms/pom.xml)
has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact
org.hisp.dhis:dhis-services:pom:2.9-SNAPSHOT and 'parent.relativePath'
points at wrong local POM @ line 7, column 13 -> [Help 2]


   When I change all the version numbers to 2.10, to match the
dependency in the project, and also fix the parent path to point to
the correct place (the extra directory dhis-mobile causes it to not be
found), the compilation takes place, but immediately fails with a
parser error:


[ERROR] /home/dtrombley/NetBeansProjects/DHIS/2.10-TRUNK/dhis-mobile/dhis-web-sms/src/main/java/org/hisp/dhis/mobile/action/ReceiveImportPageAction.java:[34,31]
error: package org.hisp.dhis.mobile.sms does not exist
[ERROR] /home/dtrombley/NetBeansProjects/DHIS/2.10-TRUNK/dhis-mobile/dhis-web-sms/src/main/java/org/hisp/dhis/mobile/action/ReceiveImportPageAction.java:[35,35]
error: package org.hisp.dhis.mobile.sms.api does not exist
[ERROR] /home/dtrombley/NetBeansProjects/DHIS/2.10-TRUNK/dhis-mobile/dhis-web-sms/src/main/java/org/hisp/dhis/mobile/action/ReceiveImportPageAction.java:[43,4]
error: cannot find symbol
...


   Is the legacy SMS still supported in 2.10?   If so, what is the
correct way to build it?

   Thanks,
     -David


Follow ups