Can I open a web browser on an HTML page generated by an Ant script?

(For example, a JUnit results summary.)

Yes. Put in a target running: <nbbrowse url="..."/> or <nbbrowse file="..."/>. The URL will be opened in the web browser you have configured for general use with NetBeans. (Note that this task will only work inside NetBeans, and you do not need to <taskdef> it.)

Applies to: NetBeans 4.0 and later

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo