Thanks for the quick answer - too bad. Yes, I could use <delete> - if a) I could run delete inside <apply ...> and b) delete could then work with <targetfile/> in it's fileset's "include" attribute.
Is that already possible? > -----Original Message----- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED]] > Sent: Montag, 14. Oktober 2002 18:37 > To: [EMAIL PROTECTED] > > On Mon, 14 Oct 2002, Ralf Hauser <[EMAIL PROTECTED]> wrote: > > > when I do > > <exec executable="${shCmd}"> > > <arg value='-c '/> > > <arg value='"rm '/> > > <arg value='*.??.html'/> > > <arg value='"'/> > > </exec> > > Are you familar with Runtime.exec and the String[] version of it? Ant > will generate one String from each <arg value>, while you want to make > it compose a single string from several. There is no way to do that > (yet). > > I'm sure the real example is a little more difficult, otherwise you > could simply use <delete>. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
