Formatter for ant scripts ?

2007-07-03 Thread Rebhan, Gilbert
Hi, i'm searching for a formatter task for ant build scripts. Something like ++ in Eclipse Ant Editor but as ant task i can feed with own rules, i.e. indention, 4 spaces instead of tabs, remove trailing spaces (after linefeed), ... I know of the jalopy task, but that seems for java source only.

AW: ant -lib seems not working on Linux RHEL 5

2007-07-03 Thread Jan.Materne
>The Ant -lib option does not seem working on Linux RHEL 5. > >I am in a directory, where I have ant-contrib-1.0b2.jar and the >following t.xml. -lib specifies a path to search for jars and classes If your antlib.jar is in the current directory, try "ant -lib ." Jan > >$ cat t.

AW: ANT tasks for ClearCase

2007-07-03 Thread Jan.Materne
Oh - never heard from that. I added it to the external page... Jan >-Ursprüngliche Nachricht- >Von: Gilbert Rebhan [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 3. Juli 2007 19:31 >An: Ant Users List >Betreff: Re: ANT tasks for ClearCase > >Hi, > >Anderson, Rob (Global Trade) wrote: >>

Re: Help with iteration in for loop

2007-07-03 Thread broken connection
Thanks Friends, I really appreciate your help. Cheers On 7/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Not sure about the props file question but can you use a variable. Something like below: counter: ${counter} Echos the following: testme: counter: 1 value is 1 coun

ant -lib seems not working on Linux RHEL 5

2007-07-03 Thread Vladimir Egorov
Hi Ant Users, The Ant -lib option does not seem working on Linux RHEL 5. I am in a directory, where I have ant-contrib-1.0b2.jar and the following t.xml. $ cat t.xml I run this using the -lib option. $ ant -lib ant-contrib-1.0.b2 -f t.xml Buildfile: t.xml [taskdef] Could not

Re: ANT tasks for ClearCase

2007-07-03 Thread Gilbert Rebhan
Hi, Anderson, Rob (Global Trade) wrote: Go ahead and take a look at the manual. http://ant.apache.org/manual/index.html http://ant.apache.org/manual/OptionalTasks/clearcase.html beside that, the clearantlib task suite = http://clearantlib.sourceforge.net/ by Kevin A. Lee is great, recomme

RE: ANT tasks for ClearCase

2007-07-03 Thread Anderson, Rob (Global Trade)
Go ahead and take a look at the manual. http://ant.apache.org/manual/index.html http://ant.apache.org/manual/OptionalTasks/clearcase.html -Rob Anderson > -Original Message- > From: UCU [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 03, 2007 8:54 AM > To: user@ant.apache.org > Subject

Re: Help with iteration in for loop

2007-07-03 Thread ryan
Not sure about the props file question but can you use a variable. Something like below: counter: ${counter} Echos the following: testme: counter: 1 value is 1 counter: 2 value is NOT 1 counter: 3 value is NOT 1 hth. -ryano - Original Message - From: "broken conne

Re: Help with iteration in for loop

2007-07-03 Thread Bill Rich
Properties are immutable. Run the build file with -verbose and you will probably see that count is not being updated because it is already set. Once set a property will not be set a different value. That said, I think there is a way to use ant-contrib to do this. Look at the math property task

ANT tasks for ClearCase

2007-07-03 Thread UCU
Hi all Are there any ANT specific tasks for getting the latest code from ClearCase. Note I am using RAD as my development environment. Any RAD specific ANT task to do this would help too. Anyone has an example of how to do this? Thanks in advance! -- View this message in context: http://www.

RE: Problem with fileset in concat on AIX

2007-07-03 Thread Alec Fernandez
Hey Folks, Turns out the file that was the source file in the concat task had a char (0x9F) that is not legal in UTF-8 encoding. Once I removed that char, then the concat task began working on AIX. Thanks, Alec -Original Message- From: Alec Fernandez Sent: Monday, July 02, 2007 4:52

RE: Mail task with Exchange Server

2007-07-03 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: sjscabert [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 03, 2007 9:31 AM > To: user@ant.apache.org > Subject: RE: Mail task with Exchange Server > > > So just to confirm, my mail task would have 25 as the > mailport and the name > of the Exchange server (a

Help with iteration in for loop

2007-07-03 Thread broken connection
Hi Friends, Is there any way to control iteration in ant. I want to put an if-else condition in the for loop to control the action depending upon the iteration count.I tried this: build.xml counter: ${count} value.properties file: count=0

RE: Mail task with Exchange Server

2007-07-03 Thread sjscabert
So just to confirm, my mail task would have 25 as the mailport and the name of the Exchange server (as specified in Outlook, for instance)? Thanks again, Shawn James Oltmans wrote: > > Yes it is possible. Set your mailport to 25 and either make sure that > the sending computer knows the alia