This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 248629 - Maven Web Project does not use NetBeans Default Browser on Project Run
Summary: Maven Web Project does not use NetBeans Default Browser on Project Run
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-13 20:18 UTC by bht
Modified: 2015-05-22 12:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2014-11-13 20:18:09 UTC
If in the project explorer, Source Packages, I right click on a HTML file and select View then the page is shown in the IDE's default browser. This confirms that the choice of the default browser is correctly registered in the IDE.

However if I run a Maven Web project, which is deployed to a registered Tomcat instance, then the application is opened in the operating system's default browser (MS IE in this case) not the IDE's default browser as expected.

The IDE's default browser is registered in the Project Properties|Run|Browser list box.

The last few lines in the output window are

Start is in progress...
start?path=/<insert application context here>
OK - Started application at context path /<insert application context here>

After this, Internet Explorer gets focus and opens the application in a new tab.
Comment 1 bht 2014-11-13 23:03:52 UTC
Appears to be transient. Works fine after the IDE is re-started. Would be interesting to know what actually causes this. I will update with new information when I find out what the least disruptive action is to get the IDE to change from system default browser to IDE default browser.
Comment 2 Tomas Stupka 2015-05-22 12:00:43 UTC
tried a couple of times, but worked always for me with the current dev build

feel free to reopen in case you are able to reproduce with an actual build 

thanks