Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 44343 - Create an object model for Ant UI
Summary: Create an object model for Ant UI
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 36323 (view as bug list)
Depends on:
Blocks: 49387 50046 50302
  Show dependency tree
 
Reported: 2003-10-07 14:27 EDT by Darin Swanson CLA
Modified: 2004-04-01 11:21 EST (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 2003-10-07 14:27:16 EDT
Currently all xml elements that represent an Ant buildfile are "typed" based on 
a string element type.

It would be a better representation to create objects for the various element 
types.

See XmlElement and OutlinePreparingHandler
Comment 1 Darin Swanson CLA 2003-10-30 14:08:48 EST
See suggestions in bug 39231
Comment 2 Darin Swanson CLA 2004-01-14 12:38:46 EST
I am investigating mirror the Apache Ant object model for our outline and code 
assist. It looks promising and I have a prototype working.

The wins here:
We can reuse the information from the AntModel prepared for the outline to do 
code assist.
We will get Ant specific error messages from parsing the build file instead of 
generic XML parsing errors.
Reducing the amount of parsing we do
Much better code reuse in the Ant UI plugin
Comment 3 Darin Swanson CLA 2004-01-23 19:52:31 EST
I marking this one implemented.
There are still issues with generating correct error annotation lengths but 
that really is a separate bug .

We now parse only once (per "dirty" state of the editor)...no more parsing to 
do code completion. The AntModel created for the outline is re-used for code 
completion.

I think we should open smaller scope bug reports for remaining issues as found.
Comment 4 Darin Swanson CLA 2004-01-23 19:52:43 EST
Please verify DarinW.
Comment 5 Darin Wright CLA 2004-01-26 15:00:27 EST
Verified.
Comment 6 Darin Swanson CLA 2004-04-01 11:21:44 EST
*** Bug 36323 has been marked as a duplicate of this bug. ***