Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-ant-dev] Ant integration in Eclipse

> For the XML editor... one xml editor that does code completion and the ant
stuff could just use one of these to save development effort.

I spend a fair amount of time working with Ant build files and use XML Spy
to handle to code completion. IMHO what is really lacking in a tool for
writing ant build files is a tree view that allows one to immediately see
which targets are in a file and jump to them. A floating tool tip that would
display the text of an xml comment immediately preceding a target analogous
to the way tool tips give java docs excerpts in jdt would also be very
helpful. 

Build 644 of IntelliJ IDEA now offers simple refactoring of build files as
well: 'Rename Property.' Ant committer, Erik Hatcher, suggested a number of
other desirable refactorings on the ant-user list:

* Extract to Target (via <antcall>)
* Convert to Property (and find all references of a hard-coded string and
prompt to convert to property usage)
* Extract to Dependency (move highlighted section to new target and add to
depends clause)

The code completion based on an Ant generated DTD definitely is helpful, but
IMHO the Ant specific tree view and refactorings are what would make one Ant
editor stand head and shoulders above other XML editing solutions.


John-Mason Shackelford

Software Developer
NCS Pearson - Measurement Services
2510 North Dodge St.
Iowa City, IA 52245
319-354-9200x6214
shacjo@xxxxxxx

**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************


Back to the top