File tree Expand file tree Collapse file tree 4 files changed +88
-29
lines changed
src/main/java/com/openfin/desktop/demo Expand file tree Collapse file tree 4 files changed +88
-29
lines changed Original file line number Diff line number Diff line change 3838* Improved support for window embedding
3939* Replaced WebSocket library with org.eclipse.jetty.websocket
4040
41+ # Version 5.44.5.1
42+ ## New Features
43+ * Branch from Version 6.0.1.1 to support Java 1.6
44+
4145# Version 5.44.3.6
4246
4347* Fixed an issue with loop of re-connecting to Runtime
Original file line number Diff line number Diff line change 5858 <dependency >
5959 <groupId >co.openfin</groupId >
6060 <artifactId >openfin-desktop-java-adapter</artifactId >
61- <version >6.0.1.1-SNAPSHOT </version >
61+ <version >5.44.5.2 </version >
6262 </dependency >
6363 <dependency >
6464 <groupId >co.openfin</groupId >
9393 <dependency >
9494 <groupId >org.slf4j</groupId >
9595 <artifactId >slf4j-api</artifactId >
96- <version >1.7.5 </version >
96+ <version >1.7.21 </version >
9797 </dependency >
9898 <dependency >
9999 <groupId >org.slf4j</groupId >
135135 <configuration >
136136 <archive >
137137 <manifestFile >${basedir} /target/classes/META-INF/MANIFEST.MF</manifestFile >
138+ <manifest >
139+ <addClasspath >true</addClasspath >
140+ <mainClass >com.openfin.desktop.demo.OpenFinDesktopDemo</mainClass >
141+ </manifest >
138142 </archive >
139143 </configuration >
140144 <executions >
146150 </executions >
147151 </plugin >
148152
153+ <plugin >
154+ <groupId >org.apache.maven.plugins</groupId >
155+ <artifactId >maven-dependency-plugin</artifactId >
156+ <executions >
157+ <execution >
158+ <id >copy</id >
159+ <phase >install</phase >
160+ <goals >
161+ <goal >copy-dependencies</goal >
162+ </goals >
163+ <configuration >
164+ <outputDirectory >
165+ ${project.build.directory} /
166+ </outputDirectory >
167+ </configuration >
168+ </execution >
169+ </executions >
170+ </plugin >
171+
149172 <!-- To run all tests: -->
150173 <!-- mvn -DskipTests=false -Dtest=AllTests test -->
151174 <plugin >
Original file line number Diff line number Diff line change @@ -124,6 +124,11 @@ private void initDesktopConnection() throws DesktopException {
124124 desktopVersion = "stable" ;
125125 }
126126 this .runtimeConfiguration .setRuntimeVersion (desktopVersion );
127+
128+ String fallBackVersion = java .lang .System .getProperty ("com.openfin.demo.fallBackVersion" );
129+ if (fallBackVersion != null ) {
130+ this .runtimeConfiguration .setRuntimeFallbackVersion (fallBackVersion );
131+ }
127132 String rvmArgs = java .lang .System .getProperty ("com.openfin.demo.rvm.arguments" );
128133 if (rvmArgs != null ) {
129134 updateMessagePanel ("Additional RVM arguments: " + rvmArgs );
@@ -522,7 +527,7 @@ public void onOutgoingMessage(String message) {
522527 desktopConnection .connect (listener );
523528 } else {
524529 updateMessagePanel ("Connecting to version " + this .runtimeConfiguration .getRuntimeVersion ());
525- desktopConnection .connect (this .runtimeConfiguration , listener , 10000 );
530+ desktopConnection .connect (this .runtimeConfiguration , listener , 10 );
526531 }
527532 } catch (Exception ex ) {
528533 ex .printStackTrace ();
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments