So, I've been trying to track down why a simple taskdef in my build.xml
fails to find the correct properties file when I don't have ANT_HOME set
for my user.
Here's the setup:
1. svnant.jar and svnClientAdapter.jar are both placed in $HOME/.ant/lib
2. I run the attached build.xml
Without ANT_HOME variable set, I get the error message:
"[taskdef] Could not load definitions from resource svntask.properties.
It could not be found."
Setting ANT_HOME to /usr/share/ant yields no error messages.
In both cases I can clearly see the jars in my home directory on the
classpath. I'm guessing it is some kind of classloader snafu.
Does anyone have suggestions or insight? (besides the obvious case of
setting ANT_HOME in my .bashrc)
OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-33.b16.fc12-i386)
OpenJDK Client VM (build 14.0-b16, mixed mode)
Ant version: ant-1.7.1-12.fc12.i686