Re: exec task with *

2008-09-11 Thread I am Who i am
of the cd-command. > > Try something like that: > > > cd /home/${usr}/doc && zip -ll doc.jar *.properties > > > > I am Who i am schrieb: > > Hi All >> >> I'm trying to zip one folder, with some specific files from it as part of >&g

exec task with *

2008-09-11 Thread I am Who i am
Hi All I'm trying to zip one folder, with some specific files from it as part of build like but this throws error zip warning: name not matched: *.properties so i tried to use task from ant-contrib cd /home/${usr}/doc zip -ll doc.jar *.properties This works, but i have probl

How to get project,target name?

2008-08-18 Thread I am Who i am
Hi All, is there any way to get the project,target name liek variable at run time of project. for eg. i want to add echo message which says ==Running ${target.name}= I may be wrong, but i think i rememer seeing some doc, which has all the ant implemented inter properties, anyone has

Re: Ant loop

2008-05-22 Thread I am Who i am
Thanks for answering, may be i was not clear on my question,,, i actually i have all these like running db and code deploy to run it parallel, but most of the time, my db deploy would take more than code deploy, so i want to wait db deploy to complete. for this i will create dbcompleted flag at the

Ant loop

2008-05-21 Thread I am Who i am
Hi All, Is there a way to loop the ant executing on time basis, eg. Lets say i'm doing db and code deployment in parallel, but i want to wait for both to be completed before restarting servers for code deployment. so i thought i would create a flag at the end of db deployment, then at the end of

How to assign a result of sqltask to variable

2008-05-06 Thread I am Who i am
Hi All How to assign a result of sqltask to variable E.g. Lets say i have this in my build.xml SELECT user_id FROM user where user_name=${user.name}; in this how do i assign user_id now to any variable,? Please help

Any tool for ant build.xml file documentation

2008-04-22 Thread I am Who i am
Hi All, I have a very big build.xml, and i want to create a doucmentation for it, is there any tool for it, I found one called antDoc but couldn't make it work, ant its not seems to be being updated, Any ideas?

How to email only the error part

2008-03-06 Thread I am Who i am
Hi All Is there a way to email only, the error part from ant for eg. lets say i'm compiling with ant, and its being written to a log file, when error happend, instead of attaching full log file i just want to send the portion where its failing with "Compliation Error' part Please help

updated files

2008-01-07 Thread I am Who i am
Hi All, How to list the files updated? I mean if i want to check the file is updated or not how to do it with ant?, i remember some time back seeing something like if="updated" may be i'm wrong... Please help me if any one knows how to do it