dion 2003/07/30 23:52:10 Modified: src/conf driver.jelly Log: Remove resources taglib Revision Changes Path 1.25 +1 -60 maven/src/conf/driver.jelly Index: driver.jelly =================================================================== RCS file: /home/cvs/maven/src/conf/driver.jelly,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- driver.jelly 31 Jul 2003 05:39:57 -0000 1.24 +++ driver.jelly 31 Jul 2003 06:52:10 -0000 1.25 @@ -4,66 +4,7 @@ xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:define="jelly:define" - xmlns:util="jelly:util" - xmlns:resources="resources"> + xmlns:util="jelly:util"> - <!-- ================================================================== --> - <!-- M A V E N T A G L I B R A R Y --> - <!-- ================================================================== --> - <!-- A collection of dynamic tag libraries that make writing --> - <!-- plugins convenient. --> - <!-- ================================================================== --> - - <define:taglib uri="maven"> - - </define:taglib> - - <define:taglib uri="resources"> - <!-- - | Copy all the file matched by each provided Resource to - | the provided destination directory. - | - | @param resources A collection of pom Resource objects - | @param todir Target directory - | @param targetPath - | - --> - - <define:tag name="copy"> - - <j:forEach var="resource" items="${resources}"> - <j:set var="resourceDirectoryPresent" value="false"/> - - <util:available file="${resource.directory}"> - <j:set var="resourceDirectoryPresent" value="true"/> - </util:available> - - <j:if test="${resourceDirectoryPresent == 'true'}"> - <j:choose> - <j:when test="${resource.targetPath ==''}"> - <j:set var="targetDirectory" value="${todir}"/> - </j:when> - <j:otherwise> - <j:set var="targetDirectory" value="${todir}/${resource.targetPath}"/> - </j:otherwise> - </j:choose> - <copy todir="${targetDirectory}" filtering="${resource.filtering}" - overwrite="${resource.filtering}"> - <fileset dir="${resource.directory}"> - <j:if test="${resources.includes.isEmpty()}"> - <include name="**/**"/> - </j:if> - <j:forEach var="include" items="${resource.includes}"> - <include name="${include}"/> - </j:forEach> - <j:forEach var="exclude" items="${resource.excludes}"> - <exclude name="${exclude}"/> - </j:forEach> - </fileset> - </copy> - </j:if> - </j:forEach> - </define:tag> - </define:taglib> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]