Smart naming of Ant build targets
Case: You have several cvs projects involved in an ant build. Each of the ant build files have targets named like clean, compile, jar, war, test and deploy. You have just ordered a release build of your application. The console shows an error message in a compile. You get no stack trace this time. You cannot see which project the error occured in. You take a deep sigh before you begin the investigation. You know it will take some time and you know it could be avoided by just a tiny bit of information.
Solution: Name ant build targets as [project.action] pattern. Do this from the start of building up a bunch of Java applications to avoid a change nightmare that prevents you from doing this small change later.
Solution: Name ant build targets as [project.action] pattern. Do this from the start of building up a bunch of Java applications to avoid a change nightmare that prevents you from doing this small change later.
Kommentarer
Legg inn en kommentar