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