ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <david.k...@wamu.net>
Subject RE: Modify all files of a certain name in a tree with dirs determined by patterns, using xslt
Date Tue, 24 May 2005 22:21:38 GMT
Yes, I've tried it.  I see that the documentation says that should work,
but it isn't excluding the patterns I specify for "exclude".

The following is my current target (modified a bit):

 <target name="restrictMaxBeans">
  <xslt style="../addMBIFP.xsl" extension=".xml" force="true"
   includes=".workshop/stuffWeb/EJB/**/META-INF/weblogic-ejb-jar.xml"
   destdir="stuff">
   <exclude name="**/EJB/ABCRequestProcess*"/>
   <exclude name="**/EJB/ABCReplyProcess*"/>
   <exclude name="**/EJB/DEFRequestProcess*"/>
   <exclude name="**/EJB/DEFReplyProcess*"/>
   <xmlcatalog>
    <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN"
         location="./weblogic810-web-jar.dtd"/>
   </xmlcatalog>
  </xslt>
 </target>

There are 18 subdirs of "EJB".  When I run this, it processes all 18,
including the four I'm trying to exclude.  I see it process those
directories in the "xslt" task output.

> -----Original Message-----
> From: Matt Benson [mailto:gudnabrsam@yahoo.com] 
> Sent: Tuesday, May 24, 2005 3:16 PM
> To: Ant Users List
> Subject: RE: Modify all files of a certain name in a tree 
> with dirs determined by patterns, using xslt
> 
> 
> (re Ant pattern spec)
> --- "Karr, David" <david.karr@wamu.net> wrote:
> > Uh, the "Foo*" part?
> 
> From the manual:
> 
> '*' matches zero or more characters, '?' matches one
> character.
> 
> Tests I run work for me.  Have you actually tried it?
> 
> -Matt
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new Resources site 
> http://smallbusiness.yahoo.com/resources/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message