ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <duvelbier-tsm...@yahoo.com>
Subject Re: AW: How to combine multiple file sets ?
Date Mon, 25 Apr 2005 14:40:26 GMT
And having something like : 
  <path id="base.src" >
    <fileset dir="base" 
             casesensitive="yes"
             defaultexcludes="yes">    
      <include name="com/customer/**" />
      <exclude name="com/customer/**/*Test*.java" />
    </fileset>
  </path>


  <path id="all.java.files">
    <path refid="base.src" />
  </path>


  <target name="generate">
    <javadoc destdir="${javadoc.dir}" 
             author="true" 
             version="true"
             maxmemory="512m" 
             use="true" 
             windowtitle="Test API" 
             source="1.4">
       <sourcepath refid="all.java.files" />
       <classpath refid="build.path" />
    </javadoc>
  </target>

gives :
BUILD FAILED
...\src\build-javadocs.xml:155: No source files and no packages have been specified


Am I missing something or is there something broken ... ?

\T,


--- Jan.Materne@rzf.fin-nrw.de wrote:
> Usually you use <path>s for them ...
> 
> Jan
> 
> > -----Ursprüngliche Nachricht-----
> > Von: duvelbier-tsmets@yahoo.com [mailto:duvelbier-tsmets@yahoo.com]
> > Gesendet am: Montag, 25. April 2005 15:15
> > An: user@ant.apache.org
> > Betreff: How to combine multiple file sets ?
> > 
> > 
> > 
> > I thought I could have had something like this :
> > 
> >   <fileset id="base.src" dir="base" casesensitive="yes" 
> > defaultexcludes="yes">
> >     <include name="com/customer/base/**"/>
> >     <exclude name="com/customer/base/**/*Test*.java"/>
> >   </fileset>
> > 
> >   <fileset id="services.src" dir="services" 
> > casesensitive="yes" defaultexcludes="yes">
> >     <include name="com/customer/services/**"/>
> >     <exclude name="com/customer/services/**/*Test*.java"/>
> >   </fileset>
> >         
> >   <fileset id="all.src">
> >     <fileset refid="base.src" />
> >     <fileset refid="services.src" />
> >   </fileset>
> > 
> > Any idea on how to combine them ...?
> > 
> > \T,
> > 
> > 
> > Any fool can write code that a computer can understand. 
> > Good programmers write code that humans can understand.
> >                                                    Martin Fowler 
> > T. : +32 (0)2 742 05 94
> > M. : +32 (0)497 44 68 12
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> 

Any fool can write code that a computer can understand. 
Good programmers write code that humans can understand.
                                                   Martin Fowler 
T. : +32 (0)2 742 05 94
M. : +32 (0)497 44 68 12

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


Mime
View raw message