Re: [NAnt-users] Sorting fileset - FINALLY

2007-05-07 Thread Griffin Caprio
Ok, thanks to everyone for their help. Here is the final Execute method for the task that actually works: protected override void ExecuteTask() { FileSet fileset = Project.DataTypeReferences [_filesetName] as FileSet; if (fileset != null) {

Re: [NAnt-users] Sorting fileset

2007-05-07 Thread Griffin Caprio
act all the file names out, >> including >> wildcard evaluation (FileSet.Filenames property), then create a new >> fileset, >> add in the individual files in whatever sorted order is >> appropriate. Then >> the existing fileset referenced by the refid would be replaced wi

Re: [NAnt-users] Sorting fileset

2007-05-07 Thread Griffin Caprio
gt; [mailto:[EMAIL PROTECTED] On Behalf Of >> Griffin >> Caprio >> Sent: Thursday, May 03, 2007 6:18 PM >> To: Ryan Anthony >> Cc: nant-users@lists.sourceforge.net >> Subject: Re: [NAnt-users] Sorting fileset >> >> So let's say that's not an

Re: [NAnt-users] Sorting fileset

2007-05-05 Thread Richard Gavel
aprio > Sent: Thursday, May 03, 2007 6:18 PM > To: Ryan Anthony > Cc: nant-users@lists.sourceforge.net > Subject: Re: [NAnt-users] Sorting fileset > > So let's say that's not an option. > > Is there anything else I can do? > > Griffin Caprio > 312.371.3869 &g

Re: [NAnt-users] Sorting fileset

2007-05-04 Thread Bob Archer
: [NAnt-users] Sorting fileset Bob, How would you load the file names into a property ? I always though properties were restricted to just "name=value" pairs. Is that not correct? Griffin On May 3, 2007, at 5:24 PM, Bob Archer wrote: > Put the file names in a property and so

Re: [NAnt-users] Sorting fileset

2007-05-04 Thread Griffin Caprio
he > names in the property running them in that order. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Griffin > Caprio > Sent: Thursday, May 03, 2007 6:18 PM > To: Ryan Anthony > Cc: nant-users@lists.sourceforge.net >

Re: [NAnt-users] Sorting fileset

2007-05-03 Thread Alan Guedeney
FileSet)dtb; } throw new Exception("FileSet ID is empty"); } } -Alan > From: [EMAIL PROTECTED]> Date: Thu, 3 May 2007 17:31:04 -0500> To: [EMAIL > PROTECTED]> CC: nant-users@lists.sourceforge.net> Subject: Re: [NAnt-users] > Sorting fileset> > Seems a bit heavy

Re: [NAnt-users] Sorting fileset

2007-05-03 Thread Griffin Caprio
-fileset? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Griffin > Caprio > Sent: Thursday, May 03, 2007 3:18 PM > To: Ryan Anthony > Cc: nant-users@lists.sourceforge.net > Subject: Re: [NAnt-users] Sorting fileset > > So let

Re: [NAnt-users] Sorting fileset

2007-05-03 Thread Bob Archer
@lists.sourceforge.net Subject: Re: [NAnt-users] Sorting fileset So let's say that's not an option. Is there anything else I can do? Griffin Caprio 312.371.3869 http://blog.1530technologies.com On May 3, 2007, at 4:08 PM, Ryan Anthony wrote: > I believe the quick and dirty answer is

Re: [NAnt-users] Sorting fileset

2007-05-03 Thread Griffin Caprio
So let's say that's not an option. Is there anything else I can do? Griffin Caprio 312.371.3869 http://blog.1530technologies.com On May 3, 2007, at 4:08 PM, Ryan Anthony wrote: > I believe the quick and dirty answer is to add a zero in front of each > single digit number. > > Ryan > > Griffin

Re: [NAnt-users] Sorting fileset

2007-05-03 Thread Ryan Anthony
I believe the quick and dirty answer is to add a zero in front of each single digit number. Ryan Griffin Caprio wrote: > Hello all, > > I am trying to iterate through a directory of files that are > numerically named: > > 1.sql > 2.sql > ... > > Using the foreach task is easy: > > >

Re: [NAnt-users] Sorting fileset

2007-05-03 Thread Bob Archer
Griffin Caprio Sent: Thursday, May 03, 2007 4:56 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Sorting fileset Hello all, I am trying to iterate through a directory of files that are numerically named: 1.sql 2.sql ... Using the foreach task is easy

[NAnt-users] Sorting fileset

2007-05-03 Thread Griffin Caprio
Hello all, I am trying to iterate through a directory of files that are numerically named: 1.sql 2.sql ... Using the foreach task is easy: However, this returns the list of files, sorted in text fashion, not n