dagblog.
← Archive

Keeping your sanity with Ant


Eric M. Burke put together fifteen tips under the grand title
Top 15 Ant Best Practices. They’re exactly
the sort of insights you come to through experience. Then again, you may not agree with them all, or some may never
become second nature.

  1. Adopt Consistent Style Conventions
  2. Put build.xml in the Project Root Directory
  3. Prefer a Single Buildfile
  4. Provide Good Help
  5. Provide a Clean Target
  6. Manage Dependencies Using Ant
  7. Define and Reuse Paths
  8. Define Proper Target Dependencies
  9. Use Properties for Configurability
  10. Keep the Build Process Self-Contained
  11. Use Version Control
  12. Use Ant as the Least Common Denominator
  13. Use zipfileset
  14. Perform the Clean Build Test
  15. Avoid Platform-Specific Ant Wrappers

Dagblog and Ant

Medium version

Related articles

Related CZ Podcast episodes