howto?: copy file with filename match on regexp

2009-01-23 Thread Bill Milbratz
Hi all, Again, I have a well-defined problem which testing and searching has yielded no fruit. Alas, I probably have missed something: Problem: I want to copy files with regexp selection based on a match in the filename. For example, perform different copying alternatively selecting/exclud

Re: checksum task: how can you use hash in a separate directory

2008-02-13 Thread Bill Milbratz
Hi all, Thanks for the resposnes. Martin, that's an elegant example and belongs in the ant documentation. As a follow up to Martin's example: once you have the list of 'result" files (which lists all the .md5 files which differ), how in ant can you generate a list of the *original* files. i.e. s

Re: checksum task: how can you use hash in a separate directory

2008-02-12 Thread Bill Milbratz
hi, a clarification: my subject line doesn't match the question. I originally had wondered about using 'todir' as a destination for the checksum files, but realized I had a more basic question. The body mutated; the subject did not. bill

checksum task: how can you use hash in a separate directory

2008-02-12 Thread Bill Milbratz
Hi, Can anyone comment on the best way to solve this problem with the checksum task: I'm looking for a means to do the following: a) take hash-snapshots of shipped files in a directory (e.g. src/jsp) b) later, check the files against the hashes c) ant indicates which files do not match the hash.

Re: well-defined ant/xslt problem: (how) can I do this?

2008-02-08 Thread Bill Milbratz
Thanks for the feedback everyone. I used the 'for' with 'sequential' to get get iteration working. Yet Klaus' answer provides what I was looking for. The ant documentation of the xslt task suggests 'destdir' is a specific directory. I didn't realize the destdir would automatlically map the input

Re: well-defined ant/xslt problem: (how) can I do this?

2008-02-07 Thread Bill Milbratz
A follow-up: I tried the using the ant-contrib for each, and manually specifying the versions in a list, but came across a limitation: pe\build-developer.xml:1217: foreach doesn't support the nested "antcall" element. (I've implemented the internals for the for-each using antcall); can anyone c

well-defined ant/xslt problem: (how) can I do this?

2008-02-07 Thread Bill Milbratz
Hi, i have a problem which I don't know if I can solve elegantly with ant. The problem: I'd like to use the xslt task to transform these inputs into the following outputs; inputs: v10/changes.xml v11/changes.xml v12/changes.xml outputs: v10/changes.out v11/changes.out v12/changes.out T