dion 2003/07/30 22:20:56 Modified: src/conf driver.jelly Log: remove old param-check tag Revision Changes Path 1.23 +0 -23 maven/src/conf/driver.jelly Index: driver.jelly =================================================================== RCS file: /home/cvs/maven/src/conf/driver.jelly,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- driver.jelly 31 Jul 2003 04:51:39 -0000 1.22 +++ driver.jelly 31 Jul 2003 05:20:56 -0000 1.23 @@ -17,29 +17,6 @@ <define:taglib uri="maven"> - <!-- - | Check a provided parameter has a value, and if not dump a message out - | and optionally fail while doing it. - | - | @param value the param value to check - | @param message the message to display, if not specified, the body of - | the tag is used - | @param fail whether to fail or not if the param has no value (true/false) - | - --> - <define:tag name="param-check"> - <j:if test="${empty(value)}"> - <j:if test="${empty(message)}"> - <j:set var="message" trim="yes"><define:invokeBody/></j:set> - </j:if> - <j:if test="${fail}"> - <ant:fail>${message}</ant:fail> - </j:if> - <j:if test="${!fail}"> - <ant:echo>${message}</ant:echo> - </j:if> - </j:if> - </define:tag> </define:taglib> <define:taglib uri="resources">
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]