File tree Expand file tree Collapse file tree
virtdata-docsys/src/main/java/io/virtdata/docsys/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -294,12 +294,13 @@ public void run() {
294294
295295 server .start ();
296296
297+ logger .info ("Started documentation server at " + bindScheme + "://" + bindHost + ":" + bindPort + "/" );
298+
297299 if (Desktop .isDesktopSupported () && Desktop .getDesktop ().isSupported (Desktop .Action .BROWSE )) {
300+ System .out .println ("Browsing to documentation server at " + bindScheme + "://" + bindHost + ":" + bindPort + "/" );
298301 Desktop .getDesktop ().browse (new URI (bindScheme + "://" + bindHost + ":" + bindPort + "/" ));
302+ System .out .println ("If the docs app did not open automatically in your browser, open to the the url above." );
299303 }
300- logger .info ("Started documentation server at " + bindScheme + "://" + bindHost + ":" + bindPort + "/" );
301- System .out .println ("Opening documentation server at " + bindScheme + "://" + bindHost + ":" + bindPort + "/" );
302- System .out .println ("If the app did not open automatically in your browser use the url above to browse." );
303304
304305 server .join ();
305306 } catch (Exception e ) {
You can’t perform that action at this time.
0 commit comments