Skip to content

Commit 4e3c345

Browse files
committed
ADAP-151: updated java adapter 7.1.1
1 parent f25d792 commit 4e3c345

7 files changed

Lines changed: 5 additions & 3 deletions

RELEASENOTES-ADAPTER.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## New Features
44
* Added Channel API
5+
* Launch pre-installed RVM directly to improve performance
6+
* Better naming of local app manifest file
57
* Requires JDK1.8+
68

79
# Version 7.0.2

release/junit.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ set RuntimeVersion="stable"
66
set RuntimeVersion="%1"
77
)
88

9-
java -cp openfin-desktop-java-example-6.0.1.2-tests.jar;openfin-desktop-java-adapter-6.0.2.2-SNAPSHOT.jar;TableLayout-20050920.jar;jna-4.5.1.jar;jna-platform-4.5.1.jar;json-20160810.jar;slf4j-api-1.7.5.jar;slf4j-jdk14-1.6.1.jar;junit-4.11.jar;hamcrest-core-1.3.jar;hamcrest-core-1.3.jar;hamcrest-library-1.1.jar;mockito-core-1.9.5.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.test.runtime.version=%RuntimeVersion% org.junit.runner.JUnitCore com.openfin.desktop.AllTests
9+
java -cp openfin-desktop-java-example-7.1.1-tests.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-20160810.jar;slf4j-api-1.7.5.jar;slf4j-jdk14-1.6.1.jar;junit-4.11.jar;hamcrest-core-1.3.jar;hamcrest-core-1.3.jar;hamcrest-library-1.1.jar;mockito-core-1.9.5.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.test.runtime.version=%RuntimeVersion% org.junit.runner.JUnitCore com.openfin.desktop.AllTests

release/junit2.bat

Lines changed: 0 additions & 1 deletion
This file was deleted.
1.14 MB
Binary file not shown.
177 KB
Binary file not shown.
72 Bytes
Binary file not shown.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ private void initDesktopConnection() throws DesktopException {
116116
securityRealm = java.lang.System.getProperty("com.openfin.demo.security.realm");
117117
}
118118
if (securityRealm != null) {
119-
this.desktopConnection.setRuntimeSecurityRealm(securityRealm);
120119
this.runtimeConfiguration.setSecurityRealm(securityRealm);
121120
}
122121
String desktopVersion = java.lang.System.getProperty("com.openfin.demo.version");
123122
if (desktopVersion == null) {
124123
desktopVersion = "stable";
125124
}
125+
this.runtimeConfiguration.setLocalManifestFileName("OpenFinJavaDemo");
126126
this.runtimeConfiguration.setRuntimeVersion(desktopVersion);
127127

128128
String fallBackVersion = java.lang.System.getProperty("com.openfin.demo.fallBackVersion");
@@ -554,6 +554,7 @@ public void actionPerformed(ActionEvent e) {
554554
}
555555
} else if ("create-notification".equals(e.getActionCommand())) {
556556
createNotification();
557+
bus.send("*", "test", "Hello from Java");
557558
} else if ("minimize".equals(e.getActionCommand())) {
558559
if (this.selectedApplication != null) {
559560
this.selectedApplication.getWindow().minimize();

0 commit comments

Comments
 (0)