I am using the <ftp> task which requires commons-net-3.2.jar. I can make this work by specifying "-lib commons-net-3.2.jar" when I invoke ant, but I would like to put something in my build file to load this library without needed -lib.
This article from 2009 explains how to solve it http://stackoverflow.com/questions/472559/how-to-load-an-optional-task-into-ant-without-lib-or-global-installation/858744#858744 But it doesn't work for me (ant 1.8.4). Is there a new way to do this now? Thanks in advance.