Wasn't someone working on a task to gather info regarding "Build Action" (i.e. Build Action = "content") from the project file and build a fileset based on that?
--- Erv Walter <[EMAIL PROTECTED]> wrote: > I really like the idea of a mirror task (see > RoboCopy.exe (command line tool) for an example of > excellent mirroring capabilities). > > However, I'm not sure I understand what the second > fileset is for. From a schema point of view, I'd > thing this would be sufficient: > > <copy todir="${build.web}" mirror="true"> > <fileset> > <includes name="**\*.aspx"/> > <includes name="**\*.asax"/> > <includes name="**\*.asmx"/> > <includes name="**\*.ashx"/> > <includes name="**\*.config"/> > </fileset> > </copy> > > > -----Original Message----- > From: Kræn Munck [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 07, 2003 3:51 AM > To: 'Ian MacLean' > Cc: [EMAIL PROTECTED] > Subject: RE: [Nant-users] Mirror task? > > > What I want is to separate source and build output > in a web project. > This is easy enough for the source files themselves, > as build output from them is a single file that I > can put anywhere I want. But I also need to copy all > the content files from the source location into the > build output location. Currently I do this using a > single copy task: > > <copy todir="${build.web}"> > <fileset> > <includes name="**\*.aspx"/> > <includes name="**\*.asax"/> > <includes name="**\*.asmx"/> > <includes name="**\*.ashx"/> > <includes name="**\*.config"/> > </fileset> > </copy> > > However, if content files are deleted in the source > directory, this isn't reflected in the build output > directory. I could delete all the files and copy > them again, but that would be rather more time > consuming. > > What I would like is something like this: > > <mirror> > <from basedir="source"> > <includes name="**\*.aspx"/> > <includes name="**\*.asax"/> > ... > </from> > <into basedir="destination"> > <includes name="**\*.aspx"/> > <includes name="**\*.asax"/> > ... > </into> > </mirror> > > where I could be certain that after the operation, > the files matched in the two sets would be > identical. > > Kræn > > -----Original Message----- > From: Ian MacLean [mailto:[EMAIL PROTECTED] > Sent: 7. oktober 2003 07:03 > To: Kræn Munck > Cc: [EMAIL PROTECTED] > Subject: Re: [Nant-users] Mirror task? > > > Kræn, > I'm not quite sure what you are after here. Do you > want to copy the > contents of one fileset into another ? I'm fairly > sure that you can't do > > that right now. Could be an idea for a new task > though > > Ian > > > Hi all, > > > >I would like to mirror one fileset into another. Is > there any task that > > >makes this possible? If not, is there an Ant task > that would do the > >trick? > > > >Regards, > >Kræn Munck > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > _______________________________________________ > >Nant-users mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/nant-users > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users