Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 62498 invoked by uid 500); 18 Aug 2003 16:11:33 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 62482 invoked from network); 18 Aug 2003 16:11:32 -0000 Received: from unknown (HELO olinexvs01.olin.edu) (4.21.173.2) by daedalus.apache.org with SMTP; 18 Aug 2003 16:11:32 -0000 Received: from olinexfe01.olin.edu ([10.1.15.93]) by olinexvs01.olin.edu with Microsoft SMTPSVC(5.0.2195.6713); Mon, 18 Aug 2003 12:11:35 -0400 Received: from cognition.olin.edu ([4.36.33.205]) by olinexfe01.olin.edu (SAVSMTP 3.0.0.44) with SMTP id M2003081812113428448 for ; Mon, 18 Aug 2003 12:11:34 -0400 Message-ID: <3F40F942.4030409@cognition.olin.edu> Date: Mon, 18 Aug 2003 12:05:22 -0400 From: Gus Heck User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: Ant Task References: <00c601c36581$cfc051e0$eb6266c2@andrei> In-Reply-To: <00c601c36581$cfc051e0$eb6266c2@andrei> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Aug 2003 16:11:35.0317 (UTC) FILETIME=[657B7450:01C365A3] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Andrei, 2 things about your post: 1. I think you need to give more details. It is not clear what your INIFile class does or why you want to use an ant task in place of a constructor call. 2. I think you need to ask this on the user list (see http://ant.apache.org/mail.html), not this list (the dev list). This list is generally about making changes to Ant itself. If you had already writen the task and you wanted to contribute it so it could be part of the standard ant distribution, then this would be the right list. Extensibility is one of ant's best features. Many users write their own tasks, and most of the active commiters monitor the user list as well, so you will find plenty of help about writing tasks on the user list, and your questions may help others there who have similar questions. Also, you may wish to read http://ant.apache.org/manual/index.html before mailing ant-user, since there is a lot of good information there that may answer your questions. You might also want to search the user-list archives at http://marc.theaimsgroup.com/?l=ant-user&r=1&w=2 This thread in particular may be helpful: http://marc.theaimsgroup.com/?l=ant-user&m=106095854222143&w=2 Good luck, Gus Andrei wrote: > > Here is my problem: > > I have to write an Ant Task which must do the following: > create an instance of an Class INIFile class from velocity > and use that object in my project. > > Another description of the task may be: > i have to replace a call > iniFile = new INIFile("name.ini"); > with an Ant Task. > > Can you help me? > > Andrei > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org