You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Sreejith.M.Janardhanan" <mj...@vanenburg.com> on 2003/12/17 08:13:00 UTC

Updating default.properties in ant.jar for taskdefs

Hi,

	I want to append the following lines to end of file
"defaults.properties" located in package "org/apache/tools/ant/taskdefs"
in "ant.jar" for avoiding writing taskdefs in all build files.
				
# my custom tasks
contentexport=com.mycompany.tools.ant.CustomTask1
contentimport=com.mycompany.tools.ant.CustomTask2

I don't want to build the ant project with new "default.properties". I
am having ant.jar ready and just have to update default.properties in it
using a ant build file (probably from another properties file). Can
anyone tell me how I can achieve this?

Thanks in advance,

Regards,
____________________________
Sreejith M Janardhanan




**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error.

**********************************************************************