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:

  1. either install under lib folder of ant installation, , import using:

    <taskdef resource="net/sf/antcontrib/antlib.xml"/> 
  2. 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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -