Without modifying the "core" ANT distribution this is not possible...if you are willing to modify the "core" distribution I would guess you would need only upadate the defaults.properties file located in the org.apache.tools.ant.taskdefs directory in the ant.jar in include your new custom tasks.
Andrew Ferguson <[EMAIL PROTECTED]> wrote: hi, does anyone know if its possible to write ant tasks in a jar file with some configuration data such that you don't need to insert a declaration into each script that needs to use them? i.e. once you've dropped your jar file into the ant distribution's lib directory, then the new task is available under a predefined name? thanks, Andrew This e-mail message is intended for the addressee(s) only and may contain information that is the property of, and/or subject to a confidentiality agreement between the intended recipient(s), their organisation and/or the ARM Group of Companies. If you are not an intended recipient of this e-mail message, you should not read, copy, forward or otherwise distribute or further disclose the information in it; misuse of the contents of this e-mail message may violate various laws in your state, country or jurisdiction. If you have received this e-mail message in error, please contact the originator of this e-mail message via e-mail and delete all copies of this message from your computer or network, thank you. --------------------------------- Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort.