← Back to team overview

dhis2-users team mailing list archive

Re: Building legacy mobile in 2.10

 

Hi David,

you are looking for the function of being able to send an SMS from the user (not a client), to DHIS2 with for example a monthly report, right? Not the J2ME client with SMS transport?

Sending SMS with reports is certainly supposed to be supported in DHIS, but Magnus (cc) can hopefully help you set this up. Our Vietnam mobile development team are on holiday for a week or so, and when they come back they can help you also.

Best regards,
Lars

On 05.02.2013 21:38, Dave Trombley wrote:
    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

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


--
Lars Kristian Roland
Lars@xxxxxxxxx
+47 90733036
www.apus.no - lars.roland.bz



References