• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using ant-contrib under *NIX

 
Dennis Putnam
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ANT is still a bit of black magic to me and I am having trouble running a build under Linux. I am using the PropertyFile task which I think is in ant-contrib, which I have. However, since it is not in $ANT_HOME, I don't understand how to make ANT find it. Can I use a symbolic link in $ANT_HOME/lib to the contrib directory or must I add a link for every jar file instead? Or is there a better way? TIA.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I always copy the ant-contrib jar file to ant_home/lib.
 
Dennis Putnam
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I decided to do a symbolic link so I don't have to remember to copy each time it is updated. However, it turned out that ProperyFile is not in ant-contrib but rather ant-nodeps instead which I had to install.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic