Skip to content
Permalink
Browse files

Renaming client form mqttws31.js to paho-mqtt.js

Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
  • Loading branch information
jpwsutton committed Sep 20, 2016
1 parent bf18e1d commit a0c0eb0a90c81169dc48160e2b535df2cd28db30
Showing with 16 additions and 17 deletions.
  1. +1 −1 README.md
  2. +9 −9 pom.xml
  3. +4 −5 src/header.txt
  4. 0 src/{mqttws31.js → paho-mqtt.js}
  5. +1 −1 src/test/client-harness.js
  6. +1 −1 utility/index.html
@@ -25,7 +25,7 @@ Paho reflects the inherent physical and cost constraints of device connectivity.

A zip file containing the full and a minified version the Javascript client can be downloaded from the [Paho downloads page](https://projects.eclipse.org/projects/technology.paho/downloads)

Alternatively the Javascript client can be downloaded directly from the projects git repository: [https://raw.githubusercontent.com/eclipse/paho.mqtt.javascript/master/src/mqttws31.js](https://raw.githubusercontent.com/eclipse/paho.mqtt.javascript/master/src/mqttws31.js).
Alternatively the Javascript client can be downloaded directly from the projects git repository: [https://raw.githubusercontent.com/eclipse/paho.mqtt.javascript/master/src/paho-mqtt.js](https://raw.githubusercontent.com/eclipse/paho.mqtt.javascript/master/src/paho-mqtt.js).

Please **do not** link directly to this url from your application.

18 pom.xml
@@ -53,9 +53,9 @@
<webappSourceDir>${basedir}/</webappSourceDir>
<jsSourceDir>src/</jsSourceDir>
<jsSourceFiles>
<jsSourceFile>mqttws31.js</jsSourceFile>
<jsSourceFile>paho-mqtt.js</jsSourceFile>
</jsSourceFiles>
<jsFinalFile>mqttws31.js</jsFinalFile>
<jsFinalFile>paho-mqtt.js</jsFinalFile>
<jsTargetDir>target</jsTargetDir>
<webappTargetDir>${basedir}</webappTargetDir>
<jsEngine>CLOSURE</jsEngine>
@@ -76,24 +76,24 @@
<phase>process-sources</phase>
<configuration>
<tasks>
<copy file="src/mqttws31.js" toFile="target/mqttws31.js">
<copy file="src/paho-mqtt.js" toFile="target/paho-mqtt.js">
<filterset>
<filter token="VERSION" value="${project.version}"/>
<filter token="BUILDLEVEL" value="${build.level}"/>
</filterset>
</copy>
<copy file="target/mqttws31.min.js" toFile="target/mqttws31-min-2.js">
<copy file="target/paho-mqtt.min.js" toFile="target/paho-mqtt-min-2.js">
<filterset>
<filter token="VERSION" value="${project.version}"/>
<filter token="BUILDLEVEL" value="${build.level}"/>
</filterset>
</copy>
<concat destfile="target/mqttws31-min.js">
<concat destfile="target/paho-mqtt-min.js">
<fileset file="src/header.txt" />
<fileset file="target/mqttws31-min-2.js" />
<fileset file="target/paho-mqtt-min-2.js" />
</concat>
<delete file="target/mqttws31-min-2.js"/>
<delete file="target/mqttws31.min.js"/>
<delete file="target/paho-mqtt-min-2.js"/>
<delete file="target/paho-mqtt.min.js"/>
</tasks>
</configuration>
<goals>
@@ -263,7 +263,7 @@
<executable>node</executable>
<arguments>
<argument>node_modules/jsdoc/jsdoc.js</argument>
<argument>target/mqttws31.js</argument>
<argument>target/paho-mqtt.js</argument>
<argument>-d</argument>
<argument>target/docs</argument>
</arguments>
@@ -1,14 +1,13 @@
/*******************************************************************************
* Copyright (c) 2013, 2014 IBM Corp.
* Copyright (c) 2013, 2016 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this distribution.
* and Eclipse Distribution License v1.0 which accompany this distribution.
*
* The Eclipse Public License is available at
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
*******************************************************************************/

File renamed without changes.
@@ -53,7 +53,7 @@ global.WebSocket = function(wsurl,protocol) {
var LocalStorage = require('node-localstorage').LocalStorage;
global.localStorage = new LocalStorage('./persistence');

require("../mqttws31");
require("../paho-mqtt");

function ensureValue(prop,value) {
if (prop == "" || prop[0] == "$") {
@@ -331,7 +331,7 @@
</div>

<!-- Source Paho MQTT Client-->
<script src="../src/mqttws31.js"></script>
<script src="../src/paho-mqtt.js"></script>
<!--<script src="../src/paho-mqtt.js"></script>-->

<!-- Utility Javascript -->

0 comments on commit a0c0eb0

Please sign in to comment.
You can’t perform that action at this time.