Bug 32897 - [PATCH] New Logger: displays target's source file location to maximize information when using imported build scripts.
Summary: [PATCH] New Logger: displays target's source file location to maximize inform...
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: 1.7.0
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords: PatchAvailable
: 39280 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-31 00:33 UTC by Kevin Greiner
Modified: 2009-07-31 06:40 UTC (History)
1 user (show)



Attachments
Logger that displays target location information (3.62 KB, text/plain)
2004-12-31 00:36 UTC, Kevin Greiner
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***