Return-Path: Mailing-List: contact user-help@ant.apache.org; run by ezmlm Delivered-To: mailing list user@ant.apache.org Received: (qmail 50126 invoked by uid 500); 11 Mar 2003 17:59:53 -0000 Received: (qmail 50123 invoked from network); 11 Mar 2003 17:59:53 -0000 Received: from mail1.smsi.com (HELO pony.smsi.com) (63.226.156.26) by daedalus.apache.org with SMTP; 11 Mar 2003 17:59:53 -0000 Received: from LOTUS (lotus.smsi.com [192.168.100.42]) by pony.smsi.com (8.11.6/8.11.1) with SMTP id h2BHseu08103 for ; Tue, 11 Mar 2003 11:54:40 -0600 From: "Mike Cepek" To: "Ant Users List" Subject: New ant script icons show as xml icons Date: Tue, 11 Mar 2003 11:59:37 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N When I create a new Ant script in a new directory (e.g. COPY then PASTE), NetBeans doesn't seem to recognize it as such. Instead it is treated like an XML file. The icon for this new file shows as an "XML Object", hovering my cursor over it lists it as "XML Document (not parsed yet)", and the pop-up shows XML actions (not Ant script options). I looked in the FAQs (even searched the "NetBeans FAQs - All in One" for the keywords "ant", "icon" and/or "xml"). I looked in Bugzilla. I searched the nbuser mailing list archive. How can I get NetBeans to recognize a new Ant script as an Ant script (instead of as an XML file)? I'm using NB 3.4.1 with Java 1.3.0_02 under Windows 2000 SP3. My Ant scripts start out like this: Creates the SMSI WebTeam Bootstrap JAR Note that they have both "name" and "default" attributes in the base tag (which has been noted as important in some mailing list postings), as well as a tag. I have confirmed that my "Options -> IDE Configuration -> System -> Object Types" shows "Ant Scripts" near the top of the list and "XML Objects" near the bottom of the list. So... help?