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,



--- [EMAIL PROTECTED] wrote:
> Usually you use <path>s for them ...
> 
> Jan
> 
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to