ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harold Putman <hput...@lexmark.com>
Subject Get dependant Libarary without -lib
Date Thu, 21 Mar 2013 14:49:15 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message