Re: Copying a static list of files

2010-06-24 Thread Michael Ludwig
Martin Gainty schrieb am 24.06.2010 um 19:46 (-0400): > > spaces are considered whitespace delimiters by every almost every > parser on the planet so there are 2 workarounds > 1)use shortened name C:\Program Files becomes C:\PROGRA~1 > 2)use a fill character for the space e.g. C:\Program Files be

RE: Copying a static list of files

2010-06-24 Thread Martin Gainty
spaces are considered whitespace delimiters by every almost every parser on the planet so there are 2 workarounds 1)use shortened name C:\Program Files becomes C:\PROGRA~1 2)use a fill character for the space e.g. C:\Program Files becomes C:\Program Files Viel Gluck Martin

Re: Atomic/Synchronized Task

2010-06-24 Thread Matt Benson
On Jun 24, 2010, at 4:34 PM, Perrier, Nathan wrote: > No, that's just a wrapper task that executes the subtasks it wraps in > order. It is not "thread-safe", which is what I am looking for. > > Basically, what I'm looking for is a locking mechanism for certain tasks > that can't run in parallel

Re: Copying a static list of files

2010-06-24 Thread Michael Ludwig
Patrick Martin schrieb am 24.06.2010 um 21:17 (+0200): > > My problem is not so much with slashes and back-slashes (which i am > quite used to deal with), but rather with spaces in filenames which > are unfriendly with fileset. Even if weren't able to copy with spacy filenames, you could use Mar

RE: Atomic/Synchronized Task

2010-06-24 Thread Perrier, Nathan
No, that's just a wrapper task that executes the subtasks it wraps in order. It is not "thread-safe", which is what I am looking for. Basically, what I'm looking for is a locking mechanism for certain tasks that can't run in parallel. -Original Message- From: Matt Benson [mailto:gudnabr

Re: Atomic/Synchronized Task

2010-06-24 Thread Matt Benson
On Jun 24, 2010, at 4:04 PM, Perrier, Nathan wrote: > Hello all, > > > > I was curious if there exists a means to atomically execute tasks when > running targets in parallel. > ? -Matt > > > I.E., I would like to do something like the following: > > > > > > > >

Re: Copying a static list of files

2010-06-24 Thread Michael Ludwig
Patrick Martin schrieb am 24.06.2010 um 21:21 (+0200): > Sorry, I meant to say that "spaces in filenames are unfriendly with > filelist", not filesets Not sure I understand the problem you're facing, but definitely works with filenames containing spaces, you just have to put them in a nested

Atomic/Synchronized Task

2010-06-24 Thread Perrier, Nathan
Hello all, I was curious if there exists a means to atomically execute tasks when running targets in parallel. I.E., I would like to do something like the following: ...

Re: Copying a static list of files

2010-06-24 Thread Patrick Martin
Sorry, I meant to say that "spaces in filenames are unfriendly with filelist", not filesets On Thu, Jun 24, 2010 at 9:17 PM, Patrick Martin wrote: > Hello, > > My problem is not so much with slashes and back-slashes (which i am > quite used to deal with), but rather with spaces in filenames w

Re: Copying a static list of files

2010-06-24 Thread Patrick Martin
Hello, My problem is not so much with slashes and back-slashes (which i am quite used to deal with), but rather with spaces in filenames which are unfriendly with fileset. With or with resource collections, I don't see how to set the equivalent to the "dir" attribute to make it work properly wi

Re: Need cross platform way of assigning users name to a property

2010-06-24 Thread Dean Schulze
  Thanks for the responses.   The ${user.name} was the answer to my problem.  I didn't know that all the Java System.getProperties() were available in Ant.   --- On Tue, 6/22/10, Michael Ludwig wrote: From: Michael Ludwig Subject: Re: Need cross platform way of assigning users name to a prop

RE: Copying a static list of files

2010-06-24 Thread Martin Gainty
Good Afternoon Patrick- Ant uses the filesystem which is provided by the Operating System so if your on Windows using NTFS and your installation folder for program fubar was installed at C:\Program Files (C:\Program Files\fubar) which would map to C:\PROGRA~1\fubar but in the case of Ant,M

Copying a static list of files

2010-06-24 Thread Patrick Martin
Hello, I want to copy a big number of files located on a remote server. To avoid scanning the remote directory, I use a locally generated list of absolute file names in a file called fileList.txt. So my fileList.txt contains something like: \\machine\share\dir1\dir2\file1.ext \\machine\share\dir1