ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Another uptodate question
Date Thu, 31 Oct 2002 15:13:46 GMT
The two filesets are not both source filesets. The second one is a target
fileset. Uptodate supports only a single target file, or a mapper. Seems to
me the mapper should work in this particular case, but it didn't work for
Mike, which apparently gave up on it, and did something else.

And by the way, as I've found in several tasks, it's not obvious at all from
the doco that some tasks accepting a nested fileset actually accept
*several* such nested filesets. Allowing filesets to be composed in fileset
itself would avoid all these tasks to record them in a vector, and do an
iteration later on the vector's elements in execute()... --DD

-----Original Message-----
From: David Knox [] 
Sent: Wednesday, October 30, 2002 3:22 PM
To: 'Ant Users List'
Subject: RE: Another uptodate question

Maybe I'm a bit confused. Is there a problem with uptodate? The source
indicates that it supports nested filesets. 

    * Nested &lt;srcfiles&gt; element.
   public void addSrcfiles(FileSet fs) {


> -----Original Message-----
> From: Mike Dougherty [mailto:MDougherty@XIFIN.Com]
> Sent: Wednesday, October 30, 2002 10:06 AM
> To: Ant Users (E-mail)
> Subject: Another uptodate question
> This is kind of a two part question.
> 1) I am using <ejbajr> with a nested <weblogic> to generate our EJBs
to an
> outputdir. I expected the task to check the files in srcdir to see if
> are uptodate before executing. However, it doesn't seem to be doing
> even when I set rebuild="no". Are my expectations correct?
> 2) To work around the issue above I am trying to use <uptodate>. What
> would be perfect is if I could do something like:
>     <uptodate property="ejbs.uptodate" >
>       <srcfiles dir="${build.classes.dir}">
>         <include name="**/ejb/**/*.class" />
>       </srcfiles>
>       <fileset dir="${build.ejb.dir}">
>         <include name="**/ejb/**/*.class" />
>       </fileset>
>     </uptodate>
> But that's not possible since <uptodate> doesn't support nested
> I've tried using a <mapper> to accomplish the same thing but with no
> success. Any suggestions on how to get the desired effect?
> Thanks for your help,
> /mike
> Mike Dougherty
> Sr. Software Engineer   |
> XIFIN, Inc.             | <>
> Ph: 760.804.0770 x47    | Fax: 760.804.0851
> This message is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information. Any unauthorized
> use, disclosure or distribution is prohibited. If you are not the
> recipient, please contact the sender and destroy all copies of the
> original message.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message