Re: Parsing directory names

2006-10-06 Thread Marcus Lindblom
How about using that contains a custom script that builds a fileset that can be reffed afterwards? Cheers, /Marcus Suzanne Dorman wrote: The user specifies the version. If they specify 1.1, I need to get the directories of 1.0 and 1.1 but not 1.1.1 and 2.0. If they specify 1.1.1, I have to

RE: Parsing directory names

2006-10-05 Thread Suzanne Dorman
The user specifies the version. If they specify 1.1, I need to get the directories of 1.0 and 1.1 but not 1.1.1 and 2.0. If they specify 1.1.1, I have to get 1.0, 1.1, and 1.1.1. So it's not as simple as just using the version they specify, I have to add some logic to figure out what versions ar

Re: Parsing directory names

2006-10-05 Thread Matt Benson
--- Dominique Devienne <[EMAIL PROTECTED]> wrote: > On 10/4/06, Suzanne Dorman > <[EMAIL PROTECTED]> wrote: [SNIP] > > I can get the list of directory names and put them > in a foreach without any > > problem but I don't know how to parse the string I > get. In fact, I can't > > find anything for

Re: Parsing directory names

2006-10-04 Thread Dominique Devienne
On 10/4/06, Suzanne Dorman <[EMAIL PROTECTED]> wrote: I have the following directory structure: 2005_1.0 filea fileb 2005_1.1 filec 2005_1.1.1 filed 2005_2.0 filee My build needs to determine which files to zip based on the directory name. If the user specifies 1.