Re: stupid copy question

2004-06-25 Thread Jeffrey Bacon
I am using this format: (actually, fromDir is an attribute in a macrodef which enclosed all this so it's: and I reference it with @{fromDir}) -- Jeffrey Bacon [EMAIL PROTECTED] Creative Developer http://www.magmic.com Alexey N. Solofnenko wrote: I think you defined fromDir as following: In th

Re: stupid copy question

2004-06-25 Thread Jeffrey Bacon
fortunately I am using the includes="..." parameter otherwise I would definatly run into this issue. -- Jeffrey Bacon [EMAIL PROTECTED] Creative Developer http://www.magmic.com Harkness, David wrote: Harkness, David wrote: ... or I believe you can use "src/**/*.java src/**/*.png", but I'm not sur

Re: stupid copy question

2004-06-25 Thread Jeffrey Bacon
src.dir = src src.includes = **/*.java src.excludes = res.dir = res res.includes = **/*.png res.excludes = -- Jeffrey Bacon [EMAIL PROTECTED] Creative Developer http://www.magmic.com Harkness, David wrote: Jeffrey Bacon wrote: ok, so I have directory with 'src' and 'res' subdirectories. I want to c

Re: stupid copy question

2004-06-25 Thread Alexey N. Solofnenko
I think you defined fromDir as following: In that case fromDir becomes a full path. If this is true, please use the following: - Alexey. Jeffrey Bacon wrote: ok, so I have directory with 'src' and 'res' subdirectories. I want to copy the src & res dirs to the temp directory preserving thier

RE: stupid copy question

2004-06-25 Thread Harkness, David
Harkness, David wrote: > ... or I believe you can use "src/**/*.java > src/**/*.png", but I'm not sure. According to a previous message by Alexey N. Solofnenko (and my jogged memory), you cannot combine multiple includes using the subtask, only when using the includes="..." attribute. David Hark

RE: stupid copy question

2004-06-25 Thread Harkness, David
Jeffrey Bacon wrote: > ok, so I have directory with 'src' and 'res' subdirectories. > I want to > copy the src & res dirs to the temp directory preserving > thier directory > structure but using a inclues/excludes pattern to onle copy certain > files (ex. *.java & *.png). I though the below would

stupid copy question

2004-06-25 Thread Jeffrey Bacon
ok, so I have directory with 'src' and 'res' subdirectories. I want to copy the src & res dirs to the temp directory preserving thier directory structure but using a inclues/excludes pattern to onle copy certain files (ex. *.java & *.png). I though the below would do that but it doesn't see t

Re: recursive expansion of property names

2004-06-25 Thread Jeffrey Bacon
worked. you da bomb! =) -- Jeffrey Bacon [EMAIL PROTECTED] Creative Developer http://www.magmic.com Wascally Wabbit wrote: Add this or similar to your recursive lookup method method: sb.replace(nextOpenerIndex...) [NEW LINE] balancingCloserIndex += fragment.le

Re: Help with a deletion...

2004-06-25 Thread Alexey N. Solofnenko
With node. - Alexey. Sunil Mishra wrote: Hi, I'm trying to figure out what I might be doing wrong in executing the following delete. The syntax, so far as I can tell, is correct, but the files are not getting deleted. I'm on a mac running ant 1.6.