ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederic Chalons <>
Subject Equivalent to -lib option within the ant-file itself with no taskdef?
Date Fri, 06 Jan 2006 09:35:49 GMT

To include ant-contrib, I have to do the following:

    /<taskdef resource="net/sf/antcontrib/">/
    /  <classpath>/
    /    <pathelement location="your/path/to/ant-contrib.jar" />/
    /  </classpath>/
    /</taskdef>/ defined the 
"" associations.

However, for the FTP task, I can just pass as argument to the -lib 
option the path of jakarta-oro and commons-net.
I do not need any taskdef or "" 
and Ant still find his way out when I use <ftp>...</ftp>

I would like to get the same behaviour without using "-lib" on the 
commandline and rather define the extra jar within build.xml itself.
How can I do that?

Thank you,

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