Bug 32897

Summary: [PATCH] New Logger: displays target's source file location to maximize information when using imported build scripts.
Product: Ant Reporter: Kevin Greiner <kevin.greiner>
Component: CoreAssignee: Ant Notifications List <notifications>
Status: NEW ---    
Severity: enhancement CC: brian.curnow
Priority: P3 Keywords: PatchAvailable
Version: 1.7.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Logger that displays target location information

Description Kevin Greiner 2004-12-31 00:33:20 UTC
The import task provides for creating complex scripts through the re-use of
existing simplier scripts.  The only problem is that, for a new user of such a
script, it can be quite difficult to trace back the origin of each target.

The attached file contains a logger that modifies the target-started log message
to include source file location information provided by the XML parser.  When 
editor mode (-e) is enabled, the logger outputs the location information in a
format that many IDEs recognize.  As a result, it becomes possible to easily
navigate to each target in the order in which they were executed.
Comment 1 Kevin Greiner 2004-12-31 00:36:12 UTC
Created attachment 13867 [details]
Logger that displays target location information
Comment 2 Stefan Bodewig 2009-07-31 06:40:42 UTC
*** Bug 39280 has been marked as a duplicate of this bug. ***