Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (6 sloc) 822 Bytes

IDE

The IDE plugin makes it easy to be able to link to a source file on a hawtio view so that it can opened for editing in your IDE. Currently supported IDEs are:

To use the directive just include the following markup on a page...

<hawtio-open-ide file-name="Foo.java" class-name="com.acme.Foo" line="20" column="3"></hawtio-open-ide>

The class-name attribute is often included in log files and stack traces; often the file name has no directory part; so the directive combines as best it can the path information from the package with the file name and passes it to IdeFacadeMBean's ideOpen() method to attempt to resolve the filename for opening in IDEA.