Yes it's possible, by placing the jar in your $ANT_HOME/lib directory.
Adding a library to classpath for all ANT tasks
题
I need to add a library that becomes by default available to all ANT tasks. Is this possible without changing my ANT script?
解决方案
不隶属于 StackOverflow