ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9975] New: - Incorrect fileset globbing
Date Wed, 19 Jun 2002 00:43:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9975>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9975

Incorrect fileset globbing

           Summary: Incorrect fileset globbing
           Product: Ant
           Version: 1.5Beta2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: wchao@yahoo.com


There seems to be a problem with how filesets match on patterns. The fileset 
contained within the ejbdoclet task below picks up a file called 
DynamicProperties.java. I want it to pick up only java classes that end in 
Bean.java. In the directory that the fileset matching messes up on, there are 
three files: AtomicSequenceBean.java, DynamicProperties.java, and 
DynamicPropertiesFactory.java.

    <ejbdoclet                                                                  
      destdir="${build.dir}/gen-src/classes"                                    
      excludedtags="@version,@author,@todo"                                     
      ejbspec="2.0"                                                             
      force="${xdoclet.force}">                                                 
                                                                                
      <fileset dir="${build.dir}/gen-src/classes">                              
        <include name="**/*Bean.java" />                                        
      </fileset>                                                                
                                                                                
      <remoteinterface/>                                                        
      <homeinterface/>                                                          
      <entitypk/>                                                               
      <entitybmp/>                                                              
      <entitycmp/>                                                              
      <session/>                                                                
                                                                                
      <deploymentdescriptor                                                     
        destdir="${build.dir}/gen-src/META-INF"                                 
        validatexml="false"                                                     
      />                                                                        
                                                                                
      <jboss                                                                    
        version="3.0"                                                           
        typemapping="${typemapping}"                                            
        datasource="${datasource}"                                              
        destdir="${build.dir}/gen-src/META-INF"                                 
      />                                                                        
                                                                                
    </ejbdoclet>

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message