Re: Filesets

2009-12-18 Thread David Weintraub
On Fri, Dec 18, 2009 at 9:55 AM, Ziggy wrote: > In all your examples you refered to "files" but not directories. Did you > mean files and directories? Filesets select files and not directories. If you want to select directories, you use "dirset". > could you check the examples below and let me k

RE: AW: should ant 'id' value be a static string

2009-12-18 Thread Raja Nagendra Kumar
Yep.. this approach works.. Thank you tom for this tip. As one kind of resolutions work and not other one.. for id's. Jan pl. let me know why such design.. Below is the example.. -- View this message in context: http://old.nabble.com/should-a

RE: AW: should ant 'id' value be a static string

2009-12-18 Thread Dalton, Tom
Are macro attributes expanded within ids? If so you might be able to wrap your code with macros and pass the dynamic ids in as attributes to macro calls... Much like I have had to do with the double-dereferencing property issue... Tom -Original Message- From: Raja Nagendra Kumar [mailto

Re: Filesets

2009-12-18 Thread Ziggy
Hi thanks for your response. I think i understood most of them except for a few that still confuse me. In all your examples you refered to "files" but not directories. Did you mean files and directories? could you check the examples below and let me know if i got it right >exclude name="**/pages"

Re: AW: should ant 'id' value be a static string

2009-12-18 Thread Raja Nagendra Kumar
Nope.. that is surprising jan.. why such restriction.. I see the need for dynamic naming for id's, this approach could reduce passing of few parameters to macros specially which depend on class path and source path used to compile the java classes etc. Regards, Nagendra -- View this message i

AW: should ant 'id' value be a static string

2009-12-18 Thread Jan.Materne
You can write whatever you want as "id" value. But properties are not resolved, means the path in has the id "${foo}" (with dollar and brackets) and not "bar". In this sence - yes, IDs are static. Jan >-Ursprüngliche Nachricht- >Von: Raja Nagendra Kumar [mailto:nagendra.r...@t

AW: Filesets

2009-12-18 Thread Knuplesch, Juergen
Hello exclude name="**/pages"/> Takes all files from any subdir called "pages" but no subdir of pages Takes all files from any subdir called "pages" but and all files of subdirs of pages takes all files of subdirs of pages Takes all files that filenam starts with pages (second " added) T

Filesets

2009-12-18 Thread Ziggy
Hi, I am trying to understand how the selection of files and directories work. Could you explain the difference between the following. exclude name="**/pages"/>

should ant 'id' value be a static string

2009-12-18 Thread Raja Nagendra Kumar
Hi, I am trying to set the path property id to be dynamic i.e id is app.${module.id}.sp where module.id value should be taken the the final path id should be app.tejasoft.sp. However the echo says that path not found. Is it expected that path id's or any ids to be always static.. Are I am doing