Date: 2004-03-12T19:24:39
Editor: 203.121.47.163 <>
Wiki: Ant Wiki
Page: TheElementsOfAntStyle
URL: http://wiki.apache.org/ant/TheElementsOfAntStyle
no comment
Change Log:
------------------------------------------------------------------------------
@@ -25,7 +25,8 @@
* Use comments liberally.
* Avoid dependencies on programs and JAR files outside the source tree: keep
everything you can under source code control for later re-creation of
development environments. That includes Ant itself, especially if you have
changed it in any way.
* Keep deployment usernames and passwords out of build files. Passwords
should change over time, and security is always an issue. Keep them in property
files out of source code control. If a password is required for a build
process, the user can be alerted to it being missing by using
-{{{ <fail message="Provide user.password" unless="user.password"/> }}}
+{{{
+ <fail message="Provide user.password" unless="user.password"/> }}}
* Never neglect false positive test case failures. Even if you know that
testWorstCase always fails, four months later someone else might have the
maintenance task and waste ages trying to find out why the build is reporting
errors. At best, fix them; otherwise exclude them from the test suite.
Environment conventions
The items in this section assume that you are launching Ant through the
wrapper scripts, such as the provided ant.bat, ant.sh, antrun.pl, or antrun.py.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]