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 7999 - Ant when running Javac (or similar) should hyperlink error messages
Summary: Ant when running Javac (or similar) should hyperlink error messages
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-24 15:50 UTC by Jesse Glick
Modified: 2003-06-30 14:47 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 Jesse Glick 2000-10-24 15:50:39 UTC
When <javac> or similar tasks are run from an Ant script, and there are error
messages, these should be hyperlinked to the correct source files lines, as for
regular external compilers.

First reported by Erik Meade <emeade@geekfarm.org>.
Comment 1 Jesse Glick 2000-11-05 18:16:59 UTC
Should be easier with BuildLogger and so on; just need to scan logged messages
for proper regexps and hyperlink them.

Should also hyperlink any exceptions thrown from Ant (BuildException's): while
the IDE will hyperlink the stack trace, Ant will provide a location in the build
script in the first line. This should be hyperlinked into the build script so
you can immediately jump to e.g. syntax errors in the build script.
Comment 2 Jesse Glick 2000-11-06 10:52:59 UTC
Fixed, special scanner looks for lines of the form:

<<file>>:<<line>>: <<message>>

where <<file>> is in one of the mounted filesystems. Works for both compiler
output (Javac at least), and the build script location passed by Ant in build
exceptions.
Comment 3 Milan Kubec 2001-06-25 13:19:04 UTC
Verified
Comment 4 Quality Engineering 2003-06-30 14:47:25 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.