Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Android - Differences between old and new version of Java Paho client

So the java-parent project is breaking the dependency now.  I noticed that the org.eclipse.paho.client.mqttv3 artifact is referencing the java-parent as its parent, however java-parent is only published up through 0.4.0.  The java-parent needs to be published for 0.9.0.

Thanks,
bA


On Tue, Jun 24, 2014 at 5:38 AM, Andy Piper <andypiperuk@xxxxxxxxx> wrote:
... so the Maven and Gradle lines should be?


On Tue, Jun 24, 2014 at 10:20 AM, Al Stockdill-Mander <asm@xxxxxxxx> wrote:
Ahh, I should have mentioned this a while ago. Due to eclipse packaging requirements the package name has changed between 0.4 and 0.9, if you look higher up in the maven repo; https://repo.eclipse.org/content/repositories/paho-releases/org/eclipse/paho/ you can see that mqtt-client is now org.eclipse.paho.client.mqttv3 at the time I couldn't find a way to keep the name as before and still produce the output files we needed for eclipse.

Al


On 23/06/14 17:01, Brad Anderson wrote:
I noticed last week that I could only consume up to 0.4 in the public
maven repository.  I assumed this was because the other versions for
some reason were not ready to be published and that was a different process.


On Mon, Jun 23, 2014 at 5:55 AM, Andy Piper <andypiperuk@xxxxxxxxx
<mailto:andypiperuk@xxxxxxxxx>> wrote:

    I've tried this with Paho 0.9 in the latest Android Studio and I
    have it working without disconnections between both mosquitto
    running on my local machine (10.0.2.2) and also between
    iot.eclipse.org <http://iot.eclipse.org> (which is the new URL for
    m2m.eclipse.org <http://m2m.eclipse.org>).


    On thing this did highlight is that I don't think our Maven repo is
    set up correctly beyond 0.4. We should also publish the Gradle rules
    so that it is easier to consume 0.9 / 1.0 in Android Studio etc.
    Currently I had to manually copy the jar into my project to make it
    work.


    On Fri, Jun 20, 2014 at 12:24 PM, Ian Craggs
    <icraggs@xxxxxxxxxxxxxxxxxxxx.uk
    <mailto:icraggs@modelbasedtesting.co.uk>> wrote:

        Thanks. I'll try it out myself if I get the chance.

        Ian


        On 06/20/2014 11:12 AM, Sergio Torassa wrote:

            absolutely nothing but "lost connection" message
            I'll make some other tests and let you know about possible
            new hints

            sergio

            On 06/20/2014 11:58 AM, Ian Craggs wrote:

                Sergio,

                there's nothing that I'm aware of that should cause your
                problem. Do you have any more information about the
                problems you are seeing? Error messages or exceptions
                for instance?

                Ian

                On 06/19/2014 04:31 PM, Sergio Torassa wrote:

                    Hi all

                    I have an old Android app (4.0.3) based on
                    org.eclipse.paho.client.__mqttv3.jar that worked

                    perfectly.
                    Now I moved to
                    org.eclipse.paho.client.__mqttv3-0.9.0.jar and it

                    does not work anymore.
                    In particular it disconnect the client anytime a
                    message arrives or I publish a message and I need to
                    reconnect.
                    Also it does not receive any message.

                    I put my MQTT test app on StackOverflow asking for
                    help but without success so far.
                    this is the pointer:
                    http://stackoverflow.com/__questions/24258887/mqtt-on-__android-connection-lost

                    <http://stackoverflow.com/questions/24258887/mqtt-on-android-connection-lost>

                    I refactored the test app to use the old jar and it
                    started perfectly working.

                    Is there a particular point I need to be careful
                    about moving to the new release?

                    thanks
                    sergio
                    _________________________________________________
                    paho-dev mailing list
                    paho-dev@xxxxxxxxxxx <mailto:paho-dev@xxxxxxxxxxx>
                    https://dev.eclipse.org/__mailman/listinfo/paho-dev
                    <https://dev.eclipse.org/mailman/listinfo/paho-dev>



            _________________________________________________
            paho-dev mailing list
            paho-dev@xxxxxxxxxxx <mailto:paho-dev@xxxxxxxxxxx>
            https://dev.eclipse.org/__mailman/listinfo/paho-dev

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


        --
        Ian Craggs
        icraggs@xxxxxxxxxx <mailto:icraggs@xxxxxxxxxx>

        IBM United Kingdom
        Committer on Paho, Mosquitto

        _________________________________________________
        paho-dev mailing list
        paho-dev@xxxxxxxxxxx <mailto:paho-dev@xxxxxxxxxxx>
        https://dev.eclipse.org/__mailman/listinfo/paho-dev

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




    --
    Andy Piper | Kingston upon Thames, London (UK)
    blog: http://andypiper.co.uk   |   skype: andypiperuk
    twitter: @andypiper  |  images: http://www.flickr.com/photos/andypiper

    _______________________________________________
    paho-dev mailing list
    paho-dev@xxxxxxxxxxx <mailto:paho-dev@xxxxxxxxxxx>

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




--
http://gplus.to/andersab
-ba

The blue 'e' is the program you use to download a browser.


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev



--
Andy Piper | Kingston upon Thames, London (UK)
blog: http://andypiper.co.uk   |   skype: andypiperuk
twitter: @andypiper  |  images: http://www.flickr.com/photos/andypiper

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev




--
http://gplus.to/andersab
-ba

The blue 'e' is the program you use to download a browser.

Back to the top