Re: How to increase memory used by JVM in Ant

2008-02-16 Thread Hariharasudhan R
Hi, This is most likely a logic/programming error. Target A calls Target B which in turn calls Target A which again calls Target B.. Target A -> Target B -> Target A -> Target B.. This sets up an infinite recursion, which will result in a StackOverFlowError.. You can increase the stack si

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 Hariharasudhan R
an 16, 2008 1:14 AM, Brian Bassett <[EMAIL PROTECTED]> wrote: > 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

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, > >

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 Hariharasudhan R
> -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 ? > > Hi experts! > > Is there

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: Running ant from a windows batch file

2007-04-12 Thread Hariharasudhan R
Hi James, When u invoke one batch file from another the remaining of the batch file will not execute. This isnt anything related to ant. Its just a characteristic of windows batch files.. To make the remaining of the batch file execure instead of directly invoking ant use call ant.. e..g Instea

Preserve symbolic links with ant unzip task

2007-03-20 Thread Hariharasudhan R
Hi all, Is there a way to preserve symbolic links when I use the task ? There does not seem to be an option in the task's documentation at http://ant.apache.org/manual/CoreTasks/unzip.html Also is there a workaround/alternate solution to preserve the file permissions ? Thanks, Hari.