Until an antidote release is ready, you can use emacs xml-mode to help with build file editing. It will let you know what attributes are allowed in any particular task, what subelements are allowed, etc, based on the ant dtd.
Here's a good article showing how to set up emacs for editing xml docs under *nix and windows: http://www-106.ibm.com/developerworks/xml/library/x-emacs/ I found I had to relax the ant dtd somewhat to make it useful. In particular, I use references to paths in my build files, and sometimes the reference name that I use is held in a property, which violates the standard ant dtd. The attached dtd fixes this problem. If you invest the effort to learn emacs (I did only a few days ago) you get the added benefit of being able to edit the various j2ee deployment descriptors using a dtd-aware editor as well. If people are interested, I can try to make a tarball of my java dtds and catalogs available as well. -----Original Message----- From: stephan beal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 06, 2002 6:59 AM To: Ant Users List Subject: Re: Where is Antidote? On Tuesday 05 February 2002 22:19 pm, Steve wrote: > Perhaps it's > unstable enough that the development team doesn't want to risk people > corrupting their buildfiles with it. (?) Any help would be appreciated. FYI: i downloaded it from CVS yesterday and it appears to produce false info when creating a new build.xml (haven't tried with an existing file). It doesn't save the names of all attributes, so my XML was coming out something like this: <project name="einsurance" ="."> <property ="src" value="."/> <property ="build" value="build"/> <property ="dist" value="dist"/> (note the missing 'name' data) ----- stephan Generic Universal Computer Guy [EMAIL PROTECTED] - http://www.einsurance.de Office: +49 (89) �552 92 862 Handy: �+49 (179) 211 97 67 This email is encrypted with ROT26 encoding. Decoding it is in violation of the Digital Millenium Copyright Act. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
ant.dtd
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
