osx - How to abstract ant-contrib cross-platform? -
is there preferred method calling ant-contrib build scripts in such way platform differences won't in way?
i prepared build ubuntu, when running on osx ant-contrib installed via homebrew, end errors. seemingly because contrib jar can't found.
the preferred way install ant-contrib mentioned in this page:
either install under
lib
folder of ant installation, , import using:<taskdef resource="net/sf/antcontrib/antlib.xml"/>
save jar file in known location, perhaps relative buildfile, , specify path:
<taskdef resource="net/sf/antcontrib/antlib.xml"> <classpath> <pathelement location="path_to_ant_contrib_jar"/> </classpath> </taskdef>
Comments
Post a Comment