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/$
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
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.
>
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
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
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
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
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
--
[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
Hi,
I have the following ant script.
10 matches
Mail list logo