Hi, yes it works.
Thanks, Bernadette -----Ursprüngliche Nachricht----- Von: Stephen McConnell [mailto:[EMAIL PROTECTED] Gesendet: Montag, 23. Januar 2006 06:08 An: 'Ant Users List' Betreff: SUSPECT: RE: How to exclude files with same pattern except one > -----Original Message----- > From: Kasparek, Bernadette [mailto:[EMAIL PROTECTED] > Sent: Saturday, 21 January 2006 12:01 AM > To: 'user@ant.apache.org' > Subject: How to exclude files with same pattern except one > > Hi everybody, > > I've the following problem: > I've got a list of some hundred files with pattern "index_xxx*". Now I > want to pack only the files with pattern "index_999*" (about 6 > instances) all others should be excluded. > > I tried the following: > <tar desfile="test.tar" > basedir="dist" > includes="index_99999950*" > excludes="index_*" > /> Havn't tried this but what happends if you just do: <tar desfile="test.tar" basedir="dist" includes="index_99999950*" /> /Steve. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]