Bug 23664 - Better reporting of errors when reading Ant build file
Summary: Better reporting of errors when reading Ant build file
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC other
: P3 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2002-09-17 13:01 EDT by Darin Swanson CLA
Modified: 2002-10-07 12:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2002-09-17 13:01:20 EDT
Currently when some syntax is incorrect in the Ant build file, no line numbers 
are presented for certain errors (check if can improve)
For example:
<property name= "currentBuild" value="../../Debugger/>

Can multiple errors be reported at the same time?
Comment 1 Darin Swanson CLA 2002-09-18 14:50:03 EDT
We can do better.
We are generically handling SAXExceptions instead of looking for something more 
specific such as a SAXParseException (which includes a line number) in AntUtil.
Comment 2 Darin Swanson CLA 2002-09-24 14:18:02 EDT
Line numbers are reported if available.
Comment 3 Darin Swanson CLA 2002-10-02 16:26:50 EDT
Please verify (Jared).
Comment 4 Jared Burns CLA 2002-10-07 12:01:46 EDT
Verified. Very nice.