Hi. Some packages are expecting the ant jars under $ANT_HOME/lib and not elsewhere. And they are also not looking for $ANT_LIB. That the jars can be found under $ANT_HOME/lib is also described in the ant manual. I changed the packaging of ant in this regard and i also included the docs.
I also moved everything of ant under $prefix/share/ant. I did this, because this is the way i always install Java stuff - dump everything in one directory and then point to it from elsewhere (there are better ways, ..but that's another story). And finally i included $prefix/etc/ant.conf in $prefix/etc/rc.d/rc.ant, so that ANT_HOME is only defined in one place. I'm not sure whether one should get rid of the definition in the env at all, because the definition in ant.conf shadows the definition in the environment anyway. But then, there are probably tools that look only in the environment and not in ant.conf... I'm sure, there will be trouble some day. Perhaps one should get rid of the definition in ant.conf and put in a comment that it is better to use the env only for this ? (mk) -- Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47 >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<
ant.tar
Description: Unix tar archive