For loop

2008-07-21 Thread Diana Huang (AU)
Hi, I am using the below codes to get for loop working Letter @{test} However, if I want to iterate 60 times, how can I do it? (I don't want to put 60 characters in the

How to use p4sync task to know if any error occured

2008-07-21 Thread arati khandekar
Hello, I do not want to stop the build when p4sync encounters error. Though, I want to be able to know task succeeded or failed. Is there anyway i can do it using 'inerror' and 'errormessage' attributes? Thanks, Aarati -

RE: Unable to unsubscribe from user and dev list

2008-07-21 Thread Anderson, Rob (Global Trade)
No. I tried that. I also tried [EMAIL PROTECTED] As I mentioned, I tried all the documented methods to unsubscribe. (http://ant.apache.org/mail.html) -Rob A -Original Message- From: Dominique Devienne [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2008 9:58 AM To: Ant Users List Subje

Re: Unable to unsubscribe from user and dev list

2008-07-21 Thread Dominique Devienne
On Mon, Jul 21, 2008 at 11:32 AM, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]> wrote: > I have decided to use a different email address for both ant-user and > ant-dev. I have tried the documented methods of unsubscribing this email > address, but nothing has worked. Can someone help please? D

Unable to unsubscribe from user and dev list

2008-07-21 Thread Anderson, Rob (Global Trade)
I have decided to use a different email address for both ant-user and ant-dev. I have tried the documented methods of unsubscribing this email address, but nothing has worked. Can someone help please? Thanks, Rob Anderson Senior System Engineer Nike Global Trade IT 503.532.6803 I wis

Re: Checking existence of a set of files

2008-07-21 Thread Steven Guitar
I'll also add that foreach takes a list of things seperated by commas ( or any delimmiter) Sent from my iPhone On Jul 21, 2008, at 6:45 AM, André Pilz <[EMAIL PROTECTED]> wrote: Hello, in old days I wrote a target which checks for the file, and then call this target with antcall for singl

Re: Checking existence of a set of files

2008-07-21 Thread Dominique Devienne
On Mon, Jul 21, 2008 at 10:14 AM, Lars Ræder Clausen <[EMAIL PROTECTED]> wrote: > Problem is, the required files come from > several different directories, some from within the build space, some > from without. It was easy to make a ClassPath with them, but that's > not a usable argument for in

Re: AW: Checking for build.properties and properties upon initialization

2008-07-21 Thread Dominique Devienne
On Mon, Jul 21, 2008 at 9:59 AM, Dimitris Mouchritsas <[EMAIL PROTECTED] > What do you think? Why not simply Property log4j.lib.dir must be set Property log4j.jar must be set etc... And wrap this into a macro allowing to call as as ? Only difference is that you can't easily all the properties n

Re: Checking existence of a set of files

2008-07-21 Thread Lars Ræder Clausen
On Mon, Jul 21, 2008 at 4:01 PM, Dominique Devienne <[EMAIL PROTECTED]> wrote: > On Mon, Jul 21, 2008 at 6:23 AM, Lars Ræder Clausen <[EMAIL PROTECTED]> wrote: >> What obvious task/combination of conditions am I missing? > > I'd use Ant-Contrib's with a nested , but in your > case Ant's own and t

Re: AW: Checking for build.properties and properties upon initialization

2008-07-21 Thread Dimitris Mouchritsas
Gilbert Rebhan wrote: Dimitris Mouchritsas schrieb: What I'd like to accomplish is checking if build.properties exists (which loadproperties ensures) and then check to see if a set of properties is set. If a property is missing I'd like to display a message with the name of the property missin

Re: Checking existence of a set of files

2008-07-21 Thread Dominique Devienne
On Mon, Jul 21, 2008 at 6:23 AM, Lars Ræder Clausen <[EMAIL PROTECTED]> wrote: > What obvious task/combination of conditions am I missing? I'd use Ant-Contrib's with a nested , but in your case Ant's own and the usual target gymnastic (see other poster's code) would do too. --DD ---

Re: Checking existence of a set of files

2008-07-21 Thread André Pilz
Hello, in old days I wrote a target which checks for the file, and then call this target with antcall for single or ant-contrib:foreach for lists of files. Example with the normal path (customize to your needs): filepath="${path}"/>

Checking existence of a set of files

2008-07-21 Thread Lars Ræder Clausen
I use Ant to compile a Java module that depends on a number of jar files that cannot be built from within the same build file. I have them all listed in a class path, but I'd like to have a precondition that fails if any of the jars listed do not exists -- makes the error much easier to understand