Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Unable to build android service jar

Hi Bin,

Have jdk 1.7 and mvn 3.2.3.

mvn -version output :

Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-12T02:28:1
0+05:30)
Maven home: C:\apache-maven-3.2.3\bin\..
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: C:\Java\jdk1.7.0_51\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"



On Mon, Nov 10, 2014 at 7:53 AM, Bin BJ Zhang <zhbinbj@xxxxxxxxxx> wrote:

Please check your java version.
mvn -version


i tried with jdk1.6 & 1.7 both works,  and it should work with jdk 1.6+


Best Regards,
Bin Zhang(张斌)
--------------------------------------------------------------------------------------------
WebSphere MQ, IBM China Software Development Lab
Notes:   Bin BJ Zhang/China/IBM
E-Mail:  zhbinbj@xxxxxxxxxx
Address: Ring Building 3F, ZhongGuanCun Software Park,

DongBeiWang West Road No.8, Haidian District, Beijing, 100193, China
-------------------------------------------------------------------------------------------


Inactive hide details for ravi lakhotia ---11/09/2014 05:39:17 AM---Hi Zang, I ran these commands :ravi lakhotia ---11/09/2014 05:39:17 AM---Hi Zang, I ran these commands :

From: ravi lakhotia <ravilakhotia2006@xxxxxxxxx>
To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Cc: paho-dev-bounces@xxxxxxxxxxx
Date: 11/09/2014 05:39 AM
Subject: Re: [paho-dev] Unable to build android service jar


Sent by: paho-dev-bounces@xxxxxxxxxxx




Hi Zang,

I ran these commands : 

git clone http://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.java.git
and then from org.eclipse.paho.mqtt.java/org.eclipse.paho.android.service

ran mvn clean install.

Same set of errors. 

On Fri, Nov 7, 2014 at 3:27 PM, Bin BJ Zhang <zhbinbj@xxxxxxxxxx> wrote:
    I suggest you try source code on develop branch,
    and just go to directory: org.eclipse.paho.mqtt.java/org.eclipse.paho.android.service, and run

    mvn clean install



    Best Regards,
    Bin Zhang(张斌)
    --------------------------------------------------------------------------------------------
    WebSphere MQ, IBM China Software Development Lab
    Notes:   Bin BJ Zhang/China/IBM
    E-Mail:  
    zhbinbj@xxxxxxxxxx
    Address: Ring Building 3F, ZhongGuanCun Software Park,
    DongBeiWang West Road No.8, Haidian District, Beijing, 100193, China
    -------------------------------------------------------------------------------------------


    Inactive hide details for ravi lakhotia ---11/07/2014 05:17:18 AM---Hi, After going through the text from eclipse paho site. I ravi lakhotia ---11/07/2014 05:17:18 AM---Hi, After going through the text from eclipse paho site. I tried building the

    From:
    ravi lakhotia <ravilakhotia2006@xxxxxxxxx>
    To:
    paho-dev@xxxxxxxxxxx
    Date:
    11/07/2014 05:17 AM
    Subject:
    [paho-dev] Unable to build android service jar
    Sent by:
    paho-dev-bounces@xxxxxxxxxxx





    Hi,

    After going through the text from eclipse paho site. I tried building the android service jar since it is still not available for download.
    Added org.eclipse.paho.client.mqttv3-1.0.0.jar under <android service project>/libs/

    I ended up with following errors. Can someone please help me out ?

    Errors from ant debug

    -compile:
        [javac] Compiling 15 source files to D:\IOT\Android\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.android.service\org.eclipse.paho.android.service\bin\classes
        [javac] D:\IOT\Android\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.android.service\org.eclipse.paho.android.service\src\org\eclipse\paho\android\service\MqttTokenAndroid.java:27: org.eclipse.paho.android.service.MqttTokenAndroid is not abstract and does not override abstract method getResponse() in org.eclipse.paho.client.mqttv3.IMqttToken
        [javac] class MqttTokenAndroid implements IMqttToken {
        [javac] ^
        [javac] D:\IOT\Android\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.mqtt.java-1.0.0\org.eclipse.paho.android.service\org.eclipse.paho.android.service\src\org\eclipse\paho\android\service\MqttDeliveryTokenAndroid.java:25: org.eclipse.paho.android.service.MqttDeliveryTokenAndroid is not abstract and does not override abstract method getResponse() in org.eclipse.paho.client.mqttv3.IMqttToken
        [javac] class MqttDeliveryTokenAndroid extends MqttTokenAndroid
        [javac] ^
        [javac] 2 errors

    thanks in advance !
    --
    Ravi Prakash Lakhotia

    _______________________________________________
    paho-dev mailing list

    paho-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit

    https://dev.eclipse.org/mailman/listinfo/paho-dev

    _______________________________________________
    paho-dev mailing list

    paho-dev@xxxxxxxxxxx
    To change your delivery options, retrieve your password, or unsubscribe from this list, visit

    https://dev.eclipse.org/mailman/listinfo/paho-dev



--
Ravi Prakash Lakhotia
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev



--
Ravi Prakash Lakhotia

GIF image


Back to the top