File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
java/org/terracotta/tinypounder Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,12 @@ java -jar tinypounderXXX.jar
16
16
17
17
If you usually run the TinyPounder with the same kit, you can provide its path at start time :
18
18
----
19
- java -jar tinypounderXXX.jar --kit.path=/path/to/unzipped/kit/
19
+ java -jar tinypounderXXX.jar --kitPath=/path/to/unzipped/kit/ --licensePath=/path/to/license.xml
20
+ ----
21
+
22
+ Disable auto-launch browser (when you already have a tinyPounder window)
23
+ ----
24
+ java -jar tinypounderXXX.jar --autoLaunchBrowser=false
20
25
----
21
26
22
27
Then head to http://localhost:8080
Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ public class ApplicationReadyListener implements ApplicationListener<Application
21
21
22
22
@ Value ("${server.port}" )
23
23
private int port ;
24
+
25
+ @ Value ("${autoLaunchBrowser}" )
26
+ private Boolean autoLaunch ;
24
27
25
28
@ SuppressWarnings ("unchecked" )
26
29
@ Override
27
30
public void onApplicationEvent (ApplicationReadyEvent event ) {
31
+ if (!autoLaunch ) return ;
28
32
URI uri = URI .create ("http://localhost:" + port );
29
33
if (Desktop .isDesktopSupported ()) {
30
34
Desktop desktop = Desktop .getDesktop ();
Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ reconnectWindow=0
10
10
spring.devtools.livereload.enabled =false
11
11
spring.devtools.restart.enabled =false
12
12
server.port =9490
13
+ autoLaunchBrowser =true
You can’t perform that action at this time.
0 commit comments