RE: Question about loop in Ant

2007-03-20 Thread Gilles Scokart
I'm not sure you will find exactly what you need, but look at the http://ant-contrib.sourceforge.net/tasks/tasks/ Gilles > -Original Message- > From: Farid Izem [mailto:[EMAIL PROTECTED] > Sent: mardi 20 mars 2007 22:32 > To: user@ant.apache.org > Subject: Question about loop in Ant > >

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.

RE: Question about loop in Ant

2007-03-20 Thread cknell
http://www.cenqua.com/fisheye/demo/browse/~raw,r=1.4/ant/docs/manual/CoreTasks/sequential.html -- Charles Knell [EMAIL PROTECTED] - email -Original Message- From: Farid Izem <[EMAIL PROTECTED]> Sent: Tue, 20 Mar 2007 22:32:12 +0100 To: user@ant.apache.org Subject: Questio

Question about loop in Ant

2007-03-20 Thread Farid Izem
Hi All, I have write a ant script which check the availibility of Oracle listener based on tcp reachibility (waitfor task) and jdbc connection (sql task). I'd like to make somehing like that : Is there something i can do easily or do i need to write my own ant task ? Kind Regards,

how to use the sort in resource

2007-03-20 Thread Kriss
HI, The new resource possibility in ant 1.7.0 seems to be excellent, but I do not know how to use it. For instance, I want to build a fileset of files sorted by their date in reverse order. I know there is the new sort http://ant.apache.org/manual/CoreTypes/resources.html#sort with the resourc

How to silence errors in SQL task or log

2007-03-20 Thread Hans Schwaebli
Can anybody tell my why cannot be used for the SQL task? I want to silence the errors if they occur when running the SQL task. But it didn't work. Any solution? Best would be to log all errors of a certain SQL task on info level. This flexibility I am missing. --

AW: Conditional dependencies

2007-03-20 Thread Jan.Materne
>Hmmm. [Ant newbie thinking] Just as there is a "fail" task, could >there not be a "succeed" task added that would cause the >enclosing task replace with ;-) Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Conditional dependencies

2007-03-20 Thread Wayne Cannon
Hmmm. [Ant newbie thinking] Just as there is a "fail" task, could there not be a "succeed" task added that would cause the enclosing task to simply return as though it were successful. This would be a general purpose tool that could be invoked conditionally for any number of reasons. It wou

Re: Reinitializing static variables

2007-03-20 Thread ravi p
Hi.. It is working .. Thank you very much. -Ravi. On 3/20/07, Gilles Scokart <[EMAIL PROTECTED]> wrote: Did you tried to define the loader (and the task) in the parent script and use inheritRefs="true"? I think you could also invoke the taskdef only in the parent script, use it in the chil

match and property

2007-03-20 Thread mpr
I would like to use where ${prefix} is a property but it does not work. The property ${prefix} is recognize as a regular experssion. How to solve it Thanks in advance M. -- View this message in context: http://www.nabble.com/match-and-property-tf3433887.html#a9573117 Sent from the An

I need to See the timestamp on some file

2007-03-20 Thread manawwar
Hi While doing the build i need to see the timestamp on some file so that in future if somone like to see the timestamp of the build he simply see the file when it is done can anyone guide me how i approach for this.right now i am able to see the time when my build is running. I am writing the fo

AW: not able to add timestamp task in build.xml

2007-03-20 Thread Jan.Materne
Please keep on the list. > I am doing the following > > > > > > > > > But i need the timestamp in some file U get my point? Just echo out to file ... Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Reinitializing static variables

2007-03-20 Thread Gilles Scokart
Did you tried to define the loader (and the task) in the parent script and use inheritRefs="true"? I think you could also invoke the taskdef only in the parent script, use it in the child script without having to redefine the task. Gilles > -Original Message- > From: ravi p [mailto:[EM

AW: not able to add timestamp task in build.xml

2007-03-20 Thread Jan.Materne
Have you tried the steps you got on the dev-list? Jan >-Ursprüngliche Nachricht- >Von: manawwar [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 20. März 2007 11:18 >An: user@ant.apache.org >Betreff: not able to add timestamp task in build.xml > > >Hi > I am not able to see the time of d

Re: Reinitializing static variables

2007-03-20 Thread ravi p
Thanks you very much, it it working. but I am calling these tasks using ant task, I mean both task are in different projects, if I call the task2 in the same project (the same build file), it is working, but I want call the task2 in calling project .. so In this case, can I ge

not able to add timestamp task in build.xml

2007-03-20 Thread manawwar
Hi I am not able to see the time of doing the build while adding the timestamp please guide me to come up this issue what else i have to do Manauwar -- View this message in context: http://www.nabble.com/not-able-to-add-timestamp-task-in-build.xml-tf3432755.html

RE: Reinitializing static variables

2007-03-20 Thread Gilles Scokart
Make sure your tasks are defined in the same loader (an option of the taskdef task). Gilles > -Original Message- > From: ravi p [mailto:[EMAIL PROTECTED] > Sent: mardi 20 mars 2007 7:54 > To: user@ant.apache.org > Subject: Reinitializing static variables > > hi , > > I have written two

AW: Reinitializing static variables

2007-03-20 Thread Jan.Materne
Store the list as a reference in the project and get it from the second task. getProject().addReference() getProject().getReference() See thread "Passing data between 2 created tasks" http://marc.info/?l=ant-user&m=116965414616204&w=2 Jan >-Ursprüngliche Nachricht- >Von:

RE: Conditional dependencies

2007-03-20 Thread Yves Martin
On Mon, 2007-03-19 at 22:20 -0400, Brown, Carlton wrote: > I don't mind doing that for one-offs. But for a dependency graph of 7 > or more targets... no thanks! But I guess there's not much choice > since I can't think of any other good way to do it. I know it is ugly but in development this

RE: Conditional dependencies

2007-03-20 Thread Gilles Scokart
I tried once a similar approach, but it was also rather heavy. I conditioned every task with a .skip, and before every target, I placed conditions that were setting the dependencies .skip variable. Of curse, you have to place them in the correct order. I also tried to have 'stop_at' variables u