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:22:05 GMT

For javadocs it seems to be a bit of a pain ... !
   <javadoc destdir="${javadoc.dir}" author="true" version="true" maxmemory="512m" use="true"
windowtitle="Test API" source="1.4">
      <fileset id="old_src" dir="old_src" casesensitive="yes" defaultexcludes="yes">
        <include name="com/customer/pgase/**" />
        <exclude name="com/customer/**/*Test*.java" />
      </fileset>
      <fileset id="new_src" dir="new_src" casesensitive="yes" defaultexcludes="yes">
        <include name="com/customer/pgase/**" />
	<exclude name="com/customer/**/*Test*.java" />
      </fileset>
   </javadoc> 

Fails with :
src\build-javadocs.xml:147: Javadoc failed: java.io.IOException: CreateProcess ...

Having :

    <javadoc destdir="${javadoc.dir}" author="true" version="true" maxmemory="512m" use="true"
windowtitle="Test API" source="1.4">        
        <fileset refid="new_src" />
        <fileset refid="old_.src" />
    </javadoc>

Fails with:
src\build-javadocs.xml:147: The <javadoc> type doesn't support nested text data.


Replacing the file sets with <path>s returns usually the same error ...

Any hint would be appreciated !

\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