ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Top 15 Ant Best Practices
Subject:   Put Ant in Version Control too!
Date:   2004-01-03 20:26:54
From:   javaguy_98
The article almost implied it, but it is worth saying explicitly. The version of Ant you are using for your project should go into your version control repository as well.


While the article discouraged 'wrapper' build scripts, they serve a useful purpose when you have Ant in version control with your project - you can have a build file that searches the proejct tree for the Ant install to use, then you can have different versions of Ant across different projects. when Ant is installed on your machine, it is both outside of source control, and a dependency that can be difficult to manage across multiple projects.


1 to 1 of 1
1 to 1 of 1