15 Best Practices in Ant
Following are some of the best practices in Ant which are posted in 'OnJava'...
- 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
For more details on the above best practises you can visit
0 Comments:
Post a Comment