Re: exec task with *

2008-09-12 Thread Christoph Dittberner
Hi, failonerror is supported ... I use this in my shellscriptlets. But your commandline : cd /home/${usr}/doc zip -ll doc.jar *.properties ignores the errorcode. Therefore I wrote your two commands in one row concatenated with the *&&*. If this doesn't work try something like cd /home/$

Re: exec task with *

2008-09-11 Thread glenn opdycke-hansen
Do you intent to create a zip or a jar file? What is the value of ${usr}? I suggest that the script be written to use the appropriate task, either or For example, usr = ${usr} --glenn On Thu, Sep 11, 2008 at 3:04 PM, I am Who i am <[EMAIL PROTECTED]> wrote: > Hi All > > I'm trying to zip one

Re: exec task with *

2008-09-11 Thread I am Who i am
Thanks for your reply, I think failonerror is not supported, coz i tried that already On Thu, Sep 11, 2008 at 4:30 PM, Christoph Dittberner < [EMAIL PROTECTED]> wrote: > hi you are who you are, > > I guess this problem occurs because YOU (your script) ignores the errorcode > of the cd-command. >

Re: exec task with *

2008-09-11 Thread Christoph Dittberner
hi you are who you are, I guess this problem occurs because YOU (your script) ignores the errorcode 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 i

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

RE: Using 'exec' task with special characters in argument line.

2006-12-05 Thread Anderson, Rob (Global Trade)
mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 05, 2006 11:58 AM > To: user@ant.apache.org > Subject: Using 'exec' task with special characters in argument line. > > Need help! > > I'm having problems getting trying to run a command in > windows using an

Using 'exec' task with special characters in argument line.

2006-12-05 Thread Chon, Ae H
Need help! I'm having problems getting trying to run a command in windows using ant "exec" task: In windows, I would would the following command: cleartool find . -version "created_since(yesterday)&&!(created_since(now))" -print I tried to simulate this using 'exec' task...but it doesn't take

Re: Using 'exec' task with special characters in argument line.

2006-12-05 Thread Dominique Devienne
How do i get around this? I tried to used CDATA but i get the following message (see code below): Class org.apache.tools.ant.types.Commandline$Argument doesn't support the nested "line" element Please read the manual, and search the archive. It's . --DD --

RE: Trick to Run Exec Task with Dir set

2005-02-17 Thread Rick Genter
[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 2:51 PM To: Ant Users List Subject: Trick to Run Exec Task with Dir set Importance: High Hi, I have the following ant

Trick to Run Exec Task with Dir set

2005-02-17 Thread Michael Wang \(IT\)
Hi, I have the following ant script.