Skip to content

Commit bb99ef5

Browse files
committed
ADAP-148: merge from master
2 parents 03ed0b8 + 1c54ece commit bb99ef5

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

release/docking.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ REM layout.html is a simple example of OpenFin window that uses Layout service.
33
REM For this example to work, layout.html needs to be hosted by a web server and its URL needs to be configured with -Dcom.openfin.demo.layout.url
44
REM To set RVM path, add -Dcom.openfin.demo.layout.rvm=C:\Users\username\AppData\Local\OpenFin\OpenFinRVM.exe
55

6-
java -cp openfin-desktop-java-example-7.1.1.jar;openfin-desktop-java-adapter-7.1.1-SNAPSHOT.jar;openfin-snap-dock-1.0.0.1.jar;TableLayout-20050920.jar;jna-4.1.0.jar;jna-platform-4.1.0.jar;json-20140107.jar;slf4j-api-1.7.5.jar;slf4j-jdk14-1.6.1.jar;websocket-api-9.3.12.v20160915.jar;websocket-client-9.3.12.v20160915.jar;websocket-common-9.3.12.v20160915.jar;jetty-io-9.3.12.v20160915.jar;jetty-util-9.3.12.v20160915.jar -Dcom.openfin.demo.layout.url=http://localhost:8008/layout.html -Dcom.openfin.demo.layout.rvm=C:\Users\username\AppData\Local\OpenFin\OpenFinRVM.exe com.openfin.desktop.demo.LayoutServiceDemo
6+
java -cp openfin-desktop-java-example-7.1.1.jar;openfin-desktop-java-adapter-7.1.1-SNAPSHOT.jar;TableLayout-20050920.jar;jna-4.1.0.jar;jna-platform-4.1.0.jar;json-20140107.jar;slf4j-api-1.7.5.jar;slf4j-jdk14-1.6.1.jar;websocket-api-9.3.12.v20160915.jar;websocket-client-9.3.12.v20160915.jar;websocket-common-9.3.12.v20160915.jar;jetty-io-9.3.12.v20160915.jar;jetty-util-9.3.12.v20160915.jar -Dcom.openfin.demo.layout.url=http://localhost:8008/layout.html -Dcom.openfin.demo.layout.rvm=C:\Users\wenju\AppData\Local\OpenFin\OpenFinRVM.exe com.openfin.desktop.demo.LayoutServiceDemo

release/run.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
java -cp openfin-desktop-java-example-7.0.2.jar;openfin-desktop-java-adapter-7.0.2.jar;TableLayout-20050920.jar;jna-4.5.1.jar;jna-platform-4.5.1.jar;json-20140107.jar;slf4j-api-1.7.5.jar;slf4j-jdk14-1.6.1.jar;websocket-api-9.3.12.v20160915.jar;websocket-client-9.3.12.v20160915.jar;websocket-common-9.3.12.v20160915.jar;jetty-io-9.3.12.v20160915.jar;jetty-util-9.3.12.v20160915.jar -Djava.util.logging.config.file=logging.properties -Dcom.openfin.temp=%LocalAppData%\OpenFin\temp -Dcom.openfin.demo.version=stable com.openfin.desktop.demo.OpenFinDesktopDemo
1+
java -cp openfin-desktop-java-example-7.1.1.jar;openfin-desktop-java-adapter-7.1.1-SNAPSHOT.jar;TableLayout-20050920.jar;jna-4.5.1.jar;jna-platform-4.5.1.jar;json-20140107.jar;slf4j-api-1.7.5.jar;slf4j-jdk14-1.6.1.jar;websocket-api-9.3.12.v20160915.jar;websocket-client-9.3.12.v20160915.jar;websocket-common-9.3.12.v20160915.jar;jetty-io-9.3.12.v20160915.jar;jetty-util-9.3.12.v20160915.jar -Djava.util.logging.config.file=logging.properties -Dcom.openfin.temp=%LocalAppData%\OpenFin\temp -Dcom.openfin.demo.version=stable com.openfin.desktop.demo.OpenFinDesktopDemo
22

src/main/java/com/openfin/desktop/demo/LayoutFrame.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import com.openfin.desktop.win32.ExternalWindowObserver;
1212
import com.sun.jna.Native;
1313
import com.sun.jna.platform.win32.WinDef;
14-
1514
import org.json.JSONArray;
1615
import org.json.JSONObject;
1716

src/main/java/com/openfin/desktop/demo/LayoutServiceDemo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
public class LayoutServiceDemo implements DesktopStateListener {
2727

28-
private final static String appUuid = "layoutServiceDemo";
29-
private final static String javaConnectUuid = "layoutServiceDemoJava";
28+
private final static String appUuid = "layoutServiceDemo-" + UUID.randomUUID();
29+
private final static String javaConnectUuid = "layoutServiceDemoJava-" + UUID.randomUUID();
3030

3131
private DesktopConnection desktopConnection;
3232
private CountDownLatch latch = new CountDownLatch(1);

0 commit comments

Comments
 (0)