Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 65364 invoked from network); 17 Dec 2003 07:21:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Dec 2003 07:21:53 -0000 Received: (qmail 86427 invoked by uid 500); 17 Dec 2003 07:21:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 86395 invoked by uid 500); 17 Dec 2003 07:21:21 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 86382 invoked from network); 17 Dec 2003 07:21:21 -0000 Received: from unknown (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by daedalus.apache.org with SMTP; 17 Dec 2003 07:21:21 -0000 Received: from z011104.bk.fin.local (z011104.bk.fin.local [193.109.238.140]) by dnsinet.rzf-nrw.de (8.12.10/8.12.10) with ESMTP id hBH7LU9k030983 for ; Wed, 17 Dec 2003 08:21:30 +0100 Received: by z011104.bk.fin.local with Internet Mail Service (5.5.2657.72) id ; Wed, 17 Dec 2003 08:22:02 +0100 Message-ID: <879A5AD5DD0ED511891F0003473A9B5608FF7469@Z011004> From: Jan.Materne@rzf.fin-nrw.de To: user@ant.apache.org Subject: RE: Updating default.properties in ant.jar for taskdefs Date: Wed, 17 Dec 2003 08:21:30 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3C46E.6425EE80" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C3C46E.6425EE80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Why not=20 ??? or with Ant 1.6 and namespaces So you haven=B4t to worry about to ensure that a modified Ant version = is on the machine. I personally would reject modifying a tools only for lazyness :-) But if you want that, then: - extract the default.properties from the ant.jar () - add your lines to that (, ) - update the jar () Maybe you will have problems with updating the jar using Ant because Ant uses that jar for itself :-)=20 Jan > -----Original Message----- > From: Sreejith.M.Janardhanan [mailto:mjsreejith@vanenburg.com] > Sent: Wednesday, December 17, 2003 8:13 AM > To: user@ant.apache.org > Subject: Updating default.properties in ant.jar for taskdefs >=20 >=20 > Hi, >=20 > I want to append the following lines to end of file > "defaults.properties" located in package=20 > "org/apache/tools/ant/taskdefs" > in "ant.jar" for avoiding writing taskdefs in all build files. > =09 > # my custom tasks > contentexport=3Dcom.mycompany.tools.ant.CustomTask1 > contentimport=3Dcom.mycompany.tools.ant.CustomTask2 >=20 > I don't want to build the ant project with new "default.properties". = I > am having ant.jar ready and just have to update=20 > default.properties in it > using a ant build file (probably from another properties file). Can > anyone tell me how I can achieve this? >=20 > Thanks in advance, >=20 > Regards, > ____________________________ > Sreejith M Janardhanan >=20 >=20 >=20 >=20 > = ********************************************************************** > The information in this message is confidential and may be legally > privileged. It is intended solely for the addressee. Access=20 > to this message > by anyone else is unauthorized. If you are not the intended=20 > recipient, any > disclosure, copying, or distribution of the message, or any action or > omission taken by you in reliance on it, is prohibited and=20 > may be unlawful. > Please immediately contact the sender if you have received=20 > this message in > error. >=20 > = ********************************************************************** >=20 >=20 ------_=_NextPart_001_01C3C46E.6425EE80--