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.
Browser is not opened when you try to run enterprise application from command line. It is because property deploy.ant.client.url is not set. To reproduce: - Go to Runtime view and add Glassfish server instance. - Start Glassfish server. - Create a new Enterprise Application project from template (use Glassfish server). - Create a new session bean in enclosed EJB project. - Open command line and go to project folder. - Execute 'ant run' command. Enterprise application is successfully deployed but default browser is not opened. Output is the following: -display-browser-cl: [echo] Launching ${deploy.ant.client.url} run-display-browser: -------------------------------------------------------------------- Build 20060419-1103, JDK1.5.0_06, WindowsXP.
For application client project it is similar: ${deploy.ant.client.url}${client.urlPart}
need to parse sun-application.xml (if present) to construct ${deploy.ant.client.url}. If the ${deploy.ant.client.url} is not defined by doing that, then you need to parse application.xml to construct the ${deploy.ant.client.url}. may be doable with ant's xmlproperty task.
regarding the app client note.... should not open browser when using an app client anyway, right?
Yes, app client should not open browser. I think it is already fixed that script doesn't try to open it.
no changes ready for check in today -- 5.5 code freeze
Is this issue still valid?
yes.
No user reports. will apply for v3 in the 7.0 time frame. Leaving priority set.
this is not a p3 for the 7.0 time frame.
not worth worrying about in 7.0 time frame