AW: Copiing newer files to a directory [was: using file names]

2005-04-14 Thread Huditsch Roman
to a directory [was: using > file names] > > Hello Roman, > > this would be the most simple solution using ant : > > dir="source" id="newerfiles"> > > > > > > > Cheers, > > Antoine > > Huditsch R

Re: Copiing newer files to a directory [was: using file names]

2005-04-13 Thread Antoine Levy-Lambert
Hello Roman, this would be the most simple solution using ant : Cheers, Antoine Huditsch Roman wrote: Hi, Thanks for the snippet! I found out that you can reset a property. What I want to do is quite simple (although unachievable for me): I would like to copy all files from a di

Re: Copiing newer files to a directory [was: using file names]

2005-04-13 Thread Ivan Ivanov
> Thanks very much for any help > > kind regards, > Roman > > > -Ursprüngliche Nachricht- > > Von: Ivan Ivanov > [mailto:[EMAIL PROTECTED] > > Gesendet: Mittwoch, 13. April 2005 13:54 > >

Re: AW: Copiing newer files to a directory [was: using file names]

2005-04-13 Thread Nicolas Vervelle
my former post) Thanks for the help! wbr, Roman -Ursprüngliche Nachricht- Von: Nicolas Vervelle [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. April 2005 14:10 An: Ant Users List Betreff: Re: Copiing newer files to a directory [was: using file names] Hi, Maybe you could try u

AW: Copiing newer files to a directory [was: using file names]

2005-04-13 Thread Huditsch Roman
mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 13. April 2005 14:10 > An: Ant Users List > Betreff: Re: Copiing newer files to a directory [was: using > file names] > > Hi, > > Maybe you could try using tasks from ant-contrib project at > sourceforge. &

Re: Copiing newer files to a directory [was: using file names]

2005-04-13 Thread Nicolas Vervelle
Hi, Maybe you could try using tasks from ant-contrib project at sourceforge. I was thinking of something like: Huditsch Roman wrote: Hi, Thanks for the snippet! I found out that you can reset a property. What I want to do is quite simple (although unachieva

AW: Copiing newer files to a directory [was: using file names]

2005-04-13 Thread Huditsch Roman
to:[EMAIL PROTECTED] > Gesendet: Mittwoch, 13. April 2005 14:02 > An: Ant Users List > Betreff: Copiing newer files to a directory [was: using file names] > > Hi, > > Thanks for the snippet! > I found out that > you can reset a property. > > What I want to do is

Copiing newer files to a directory [was: using file names]

2005-04-13 Thread Huditsch Roman
Nachricht- > Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 13. April 2005 13:54 > An: Ant Users List > Betreff: Re: AW: [Maybe spam] Re: using file names > > Hello, I am not sure if this will do your job, but here is a > working snippet. > > >

Re: AW: [Maybe spam] Re: using file names

2005-04-13 Thread Ivan Ivanov
Hello, I am not sure if this will do your job, but here is a working snippet. basename is [EMAIL PROTECTED] Here we bump in the following issue: ant properties are immutable so if we use basename in the following way the first iteration of will set a property named

AW: [Maybe spam] Re: using file names

2005-04-13 Thread Huditsch Roman
\test.xml". I also tried but with no success either Thanks for the help! wbr, Roman > -Ursprüngliche Nachricht- > Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 13. April 2005 11:12 > An: Ant Users List > Betreff: [M

Re: using file names

2005-04-13 Thread Ivan Ivanov
Huditsch, You can use task[1]. HTH Ivan [1]http://ant.apache.org/manual/CoreTasks/basename.html --- Huditsch Roman <[EMAIL PROTECTED]> wrote: > Hi, > > After using > > > > > > > @{file} gives me the "complete" file name inlcuding > directory > informat

using file names

2005-04-13 Thread Huditsch Roman
Hi, After using @{file} gives me the "complete" file name inlcuding directory information. How can I pick just the file name itself (leaving out all the directory structure)? wbr, Roman