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.
- Adopt Consistent Style Conventions
- Put build.xml in the Project Root Directory
- Prefer a Single Buildfile
- Provide Good Help
- Provide a Clean Target
- Manage Dependencies Using Ant
- Define and Reuse Paths
- Define Proper Target Dependencies
- Use Properties for Configurability
- Keep the Build Process Self-Contained
- Use Version Control
- Use Ant as the Least Common Denominator
- Use zipfileset
- Perform the Clean Build Test
- Avoid Platform-Specific Ant Wrappers
Dagblog and Ant
Related articles
Related CZ Podcast episodes
- #261 · Leadership
On leading people and teams. · Czech audio
- #3 · Java 6 SE, Vývoj webových aplikací
Dagi and Filemon discuss Java 6 and web application frameworks. · Czech audio
- #1 · Vývojová prostředí v Javě
The first CZ Podcast episode looks at Java development environments. · Czech audio