Multiple Arguments Validation

2011-11-29 Thread Vinodh Kumar
Hi, I have validation scenario of comparing user input match. But how can I match mulitple args in single condition [I don't want to use multiple else/if conditions] If user input matches any one of the values from key dep.env, echos success. *Ant Scriplet:* >" arg2="${dep.env}"/> *Prop

RE: Use Ant with an arbitrary date

2011-11-29 Thread Emma Burrows
From: Stefan Bodewig [mailto:bode...@apache.org] > You could copy the files that represent a version to some cache > directory and use the different selector to select the files that are > different from the ones inside the cache. > Another approach more in line with your original one is to explic

Re: Use Ant with an arbitrary date

2011-11-29 Thread Stefan Bodewig
On 2011-11-29, Emma Burrows wrote: > Thank you for the response. Sorry, I should probably have anticipated > that response by expanding more thoroughly on exactly what happens. :) 8-) > Actually, come to think of it, the date is probably a bit of a red > herring. I suppose what I really need is

RE: Use Ant with an arbitrary date

2011-11-29 Thread Emma Burrows
Thank you for the response. Sorry, I should probably have anticipated that response by expanding more thoroughly on exactly what happens. :) The files are all generated at the same time, whether they have been modified or not. As I am constantly tweaking the conversion process, these files are

Re: Use Ant with an arbitrary date

2011-11-29 Thread Stefan Bodewig
On 2011-11-29, Emma Burrows wrote: > So I was wondering if there was some way of using 's > cache-based approach to only copy the files that have been modified > since a given date/time like "17.00 last Thursday" instead of "last > time this script was run". This is a job for the date selector ra

Use Ant with an arbitrary date

2011-11-29 Thread Emma Burrows
As part of a content migration project, I am building content into a CMS on a weekly basis, and I use an Ant script to copy the content files to the build directory. Up until now, we've been wiping the CMS and reloading the whole 17,000-file set every time, which takes about 1.5 hours. But now t