Re: FW: where to get the jar file for ANT ForTask

2008-01-15 Thread Kevin Jackson
Hi, http://ant-contrib.sourceforge.net/tasks/tasks/index.html This took me less than 5 seconds to find with google. I gave you the name of the antlib and I expected that would be enough to find the rest of the information. Please try to discover these tasks without bugging the mailing lists. A

RE: FW: where to get the jar file for ANT ForTask

2008-01-15 Thread Nagender Kumar Mallik
Hi Kevin, Actually there is no information ablut .jar file which contain the For-Task. Regards, Nagender Malik -Original Message- From: Kevin Jackson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 11:01 AM To: Ant Users List Subject: Re: FW: where to get the jar file for ANT

Re: FW: where to get the jar file for ANT ForTask

2008-01-15 Thread Kevin Jackson
You want to look at ant-contrib for a for task On Jan 16, 2008 12:20 PM, Nagender Kumar Mallik <[EMAIL PROTECTED]> wrote: > Hi, > PLease tell me how to get the .jar file containing For task. > > Regards & thanks, > Nagender Malik > > > >

FW: where to get the jar file for ANT ForTask

2008-01-15 Thread Nagender Kumar Mallik
Hi, PLease tell me how to get the .jar file containing For task. Regards & thanks, Nagender Malik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Vijay Aravamudhan
hi Hari, You might be able to try this: That has worked for me in the past - with Ant 1.7.0 (not sure if it works in Ant 1.6.5). Doesn't hurt to try! thanks, Vijay Gilbert Rebhan wrote: Hariharasudhan R schrieb: Hi Gilbert, That worked. Many Thanks

java.net.UnknownHostException with sshexec

2008-01-15 Thread Z W
Hi I have a_hostname=host6 b_hostname=host10 : : Output [sshexec] Connecting to host10:22 [ant] Exiting build_main.xml. build_main.xml:251: com.jcraft.jsch.JSchException: java.net.UnknownHostException: host10 at org.apache.tools.ant.taskdefs.optional.ssh.SSHExec.execute

Passing input to target Question

2008-01-15 Thread Z W
Hi Is there a way to pass inputs to a called target from a calling target ? suppose (how do I pass a hostname to this target, while insisting on using for loop) Thanks in advance

Re: Redirecting compile errors

2008-01-15 Thread James Abley
On 10/01/2008, Toomey, Kevin H (ATS, IT) <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using a Java class to execute an Ant project, and am unable to direct > compile errors to the log file used by my BuildLogger. > > Here's an abbreviated version of my code: > > Project p = new Project(); > p.init();

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Gilbert Rebhan
Hi, Peter Peter Reilly schrieb: >> Since it is undocumented is there any chance that it will be removed in >> future versions of Ant ? > No, it will remain forever! that's nice to know i'll take you up on that ;-) Regards, Gilbert

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Gilbert Rebhan
Hariharasudhan R schrieb: > Hi Gilbert, > > Since it is undocumented is there any chance that it will be removed in > future versions of Ant ? > > I am asking since my project will be having a long support life time and > newer versions of Ant may be used at a later point of time. > > thanks, >

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Peter Reilly
On Jan 15, 2008 8:07 PM, Hariharasudhan R <[EMAIL PROTECTED]> wrote: > Hi Gilbert, > > Since it is undocumented is there any chance that it will be removed in > future versions of Ant ? No, it will remain forever! Peter > > I am asking since my project will be having a long support life time and >

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Hariharasudhan R
Hi Gilbert, Since it is undocumented is there any chance that it will be removed in future versions of Ant ? I am asking since my project will be having a long support life time and newer versions of Ant may be used at a later point of time. thanks, Hari On Jan 16, 2008 1:28 AM, Gilbert Rebhan

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Gilbert Rebhan
Hariharasudhan R schrieb: > Hi Gilbert, > > That worked. Many Thanks! > > The doc for fileset ( http://ant.apache.org/manual/CoreTypes/fileset.html ) > does not list id as one of the attributes. > Is it an undocumented feature ? > btw, I am using JDK 5.0u14 and Ant 1.6.5 on windows xp. yup, you'

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Gilbert Rebhan
Hi, > > I am also not familiar with the "${toString:yourid} " syntax. > Is there some place where I can read up about this ? it's not documented in the manuals, but well known among experienced ant users Regards, Gilbert - T

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Hariharasudhan R
Hi Brian, I am using JDK 5.0u14 and Ant 1.6.5 on Windows XP. And I cannot move to Ant 1.7.0 since this is a big project and I would have to convince a lot of people. ( I can add other third party tasks if necessary though ) And Gilbert's solution worked on Ant 1.6.5. regards, Hari On Jan 16, 2

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Hariharasudhan R
Hi Gilbert, I am also not familiar with the "${toString:yourid} " syntax. Is there some place where I can read up about this ? once again. thanks for your help! thanks, Hari On Jan 16, 2008 1:15 AM, Hariharasudhan R <[EMAIL PROTECTED]> wrote: > Hi Gilbert, > > That worked. Many Thanks! > > Th

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Hariharasudhan R
Hi Gilbert, That worked. Many Thanks! The doc for fileset ( http://ant.apache.org/manual/CoreTypes/fileset.html ) does not list id as one of the attributes. Is it an undocumented feature ? btw, I am using JDK 5.0u14 and Ant 1.6.5 on windows xp. thanks, Hari On Jan 16, 2008 1:07 AM, Gilbert Rebh

RE: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Brian Bassett
This works for me with Ant 1.7.0. What version are you using? Brian -Original Message- From: Hariharasudhan R [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 11:41 AM To: Ant Users List Subject: Re: Is there a way to search for a file matching a condition and assign it to a va

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Hariharasudhan R
Hi Brian, Unfortunately that did not work. pathconvert does not take a nested fileset . thanks, Hari On Jan 16, 2008 12:54 AM, Brian Bassett <[EMAIL PROTECTED]> wrote: > I'd take a look at , probably something like this: > > > > > > Brian > > -Original Message- > From: Hariharasudha

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Gilbert Rebhan
> Is there a way to search for a file matching a condition and assign it to a > variable ? > > Basically I want something like : > > /> > > my_variable should contain the list of jar files in C:\mydir that match the > pattern "commons-io-*.jar". now you have all those files that are matche

RE: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Brian Bassett
I'd take a look at , probably something like this: Brian -Original Message- From: Hariharasudhan R [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 11:15 AM To: Ant Users List Subject: Is there a way to search for a file matching a condition and assign it to a variable ?

Re: Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Francisco Tolmasky
Just use a fileset. You can't make it be "just one file", because commons-io-*.jar has the potential of being several files. On Jan 15, 2008, at 11:14 AM, Hariharasudhan R wrote: Hi experts! Is there a way to search for a file matching a condition and assign it to a variable ? Basic

Is there a way to search for a file matching a condition and assign it to a variable ?

2008-01-15 Thread Hariharasudhan R
Hi experts! Is there a way to search for a file matching a condition and assign it to a variable ? Basically I want something like : my_variable should contain the list of jar files in C:\mydir that match the pattern "commons-io-*.jar". In my project, since C:\mydir will contain only one file

Re: Condition check Question

2008-01-15 Thread David Weintraub
Isn't there a "failsonerror" parameter to make the build fail if the ssh command called fails? Would that do what you want? Unlike "exec" task, the sshexec task doesn't have a "resultsproperty" that can contain the exit code if the task fails. So, you can't check for that. You can set outputprope

Re: inline property expansion not working as advertised

2008-01-15 Thread Alain ROY
Adding , the expansion occurs. deploy.url is ${deploy.url} It seems not to occur when the property file is given in the command line. Regards Alain ROY On Thu, 10 Jan 2008 14:52:27 -0800 (PST) Michael Pelz Sherman <[EMAIL PROTECTED]> wrote: > From the Property task docs

Re: Isreachable issue

2008-01-15 Thread Steve Loughran
Z W wrote: Hi Steve I'm not sure what's the latest patch/update you talk about. My settings are as follows: --- System properties --- java.runtime.name : Java(TM) SE Runtime Environment sun.boot.library.path : C:\P

Using IvyDE

2008-01-15 Thread Guillaume
Hello, I want to integrate Ivy in an enterprise continous integration and build system. The whole picture is to have a central repository for the libraries (at the moment i'm mocking this repository with artifactory). Developpers are using Eclipse (various versions ranging from 3.0 to 3.3). Un