Re: Root drive in fileset dir

2006-10-10 Thread Marc Dzaebel
that works, thanks a lot. It seems to be impossible to escape spaces in includes/excludes attribute values. My proposal would be to introduce a "separators" attribute that defaults to "; " Marc "Matt Benson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Try the include w

Re: Root drive in fileset dir

2006-10-10 Thread Michael Giroux
From the ANT docs for filesets: includes -- comma- or space-separated list of patterns of files that must be included; all files are included when omitted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: Root drive in fileset dir

2006-10-10 Thread Matt Benson
Try the include with embedded spaces as a single nested element. Most likely the spaces are being taken as separators indicating you want to match patterns "Dokumente", "und", "Einstellungen/any.txt". HTH, Matt --- Marc Dzaebel <[EMAIL PROTECTED]> wrote: > The following works (inside ) >

Root drive in fileset dir

2006-10-10 Thread Marc Dzaebel
The following works (inside ) but if the drive letter is alone no files are included: Any idea? Thanks Marc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Check to See If Directory Exists

2006-10-10 Thread Peter Reilly
will create the directory x if it does not exist, otherwise it does nothing. Peter On 10/10/06, Robert Pepersack <[EMAIL PROTECTED]> wrote: Hi all, I need to check to see if a directory exists, and if not, then create the directory. But, if the directory already exists, then leave it alone,

Re: Check to See If Directory Exists

2006-10-10 Thread Dominique Devienne
I need to check to see if a directory exists, and if not, then create the directory. But, if the directory already exists, then leave it alone, because it may already contain some important files. I have more than a dozen directories to check for, and I would like to find a way to do this that's

Check to See If Directory Exists

2006-10-10 Thread Robert Pepersack
Hi all, I need to check to see if a directory exists, and if not, then create the directory. But, if the directory already exists, then leave it alone, because it may already contain some important files. I have more than a dozen directories to check for, and I would like to find a way to do thi

Re: ANT w/ BSF 2.4

2006-10-10 Thread Peter Reilly
It should work, but nobody (I think) as confirmed this. Need to see if it works with ant 1.6.5 and ant 1.7.0betax, and see which language jars work with it. Peter On 10/10/06, Michael Giroux <[EMAIL PROTECTED]> wrote: On 10/9/06, Michael Giroux <[EMAIL PROTECTED]> wrote: > Can anyone confirm

Re: ANT w/ BSF 2.4

2006-10-10 Thread Michael Giroux
On 10/9/06, Michael Giroux <[EMAIL PROTECTED]> wrote: Can anyone confirm that ANT + BSF 2.4 is a valid configuration? Based on the current ANT docs, I'm going to assume that BSF 2.4 is valid for ANT 1.6 and later. The following is from the ANT docs for Library dependencies: "Note: Ant 1.6 and

Re: Loop over a set of files

2006-10-10 Thread Peter Reilly
An example loop over files: Process @{file} Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Loop over a set of files

2006-10-10 Thread Daniel Blaukopf
Hi Iván, Can you write your macro to accept a fileset instead of a specific file? And then us to run the command? Daniel Iván Pérez Domínguez wrote: > Hi there! > > I've written a macrodef that takes a file name as an argument and tests > it with a specific command. I'd like to run this mac

Re: Loop over a set of files

2006-10-10 Thread Frank Harnack
Sorry, forget my previous mail! The for-task can manage it alone (with a nested fileset element). Regards Frank Quoting Frank Harnack <[EMAIL PROTECTED]>: > Hello, > > for getting a list of files maybe the fileutil-Task > (http://antelope.tigris.org/docs/manual/bk03ch12.html) is useful and > t

Re: Loop over a set of files

2006-10-10 Thread Frank Harnack
Hello, for getting a list of files maybe the fileutil-Task (http://antelope.tigris.org/docs/manual/bk03ch12.html) is useful and the propertyregex-Task (ant-contrib) could help to manage pattern matching. Regards Frank Quoting Mathieu Champlon <[EMAIL PROTECTED]>: > Hello, > > The task from an