Open a file or URL in the user's preferred application.
OpenTaskwill not fail ifpathattribute is invalid. Therefore, this task
must not be used to check the validity of a file or URL.
Table C.64: Attributes
| Name | Type | Description | Default | Required |
|---|
path
|
String
| File path or URL to open. | n/a | Yes |
Open http://localhost:8080/ on your browser.
<open path="http://localhost:8080/"/>
Open ./docs/images/screenshot.png on your image viewer.
<open path="./docs/images/screenshot.png"/>