Wednesday, September 12, 2012

Fedora 17: ant-optional - custom ant libs - ClassNotFoundException

http://fastcloud.wordpress.com/2009/05/14/how-to-install-apache-ant-on-fedora-8/ :
Basically you have to maually create the /usr/share/ant hierarchy and set ANT_HOME. Thats it.
You may want to include junit.jar also into the ANT_HOME/lib. Then you need not manuallly declare it in each of your project's classpath.

The default installation of ant from yum is bare-minimum and won't work for custom ant libs.

No comments:

Post a Comment