just switch to 1.5r3 and looks like it works. Thanks.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 11:46 AM
To: Ant Users List
Subject: RE: handy way to check if a dir is empty or not
It looks like the error I was getting when I
nd to "Ant Users List"
To: "Ant Users List"
cc:
Subject: RE: handy way to check if a dir is empty or not
Thanks, I got the following error
java.lang.NoSuchMethodError: org.mozilla.javascript.Context: method
getDebuggableEngine()Lorg/mozil
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 9:45 AM
To: Ant Users List
Subject: RE: handy way to check if a dir is empty or not
Yes, you need. Check
http://ant.apache.org/manual/install.html#librarydependencies
for more information.
HTH Ivan
al Message-
> From: Ivan Ivanov
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 18, 2005 9:41 AM
> To: Ant Users List
> Subject: RE: handy way to check if a dir is empty or
> not
>
>
>
> --- "Michael Wang (IT)" <[EMAIL PROTECTED]>
> wrote:
>
thank much. do I need to include some external jar to run js script? thanks.
-Original Message-
From: Ivan Ivanov [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 9:41 AM
To: Ant Users List
Subject: RE: handy way to check if a dir is empty or not
--- "Michael Wan
$${notempty.empty} =
${notempty.empty}
HTH Ivan
>
> -Original Message-
> From: Mark Benussi [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 18, 2005 9:28 AM
> To: user@ant.apache.org
> Subject: RE: handy way to check if a dir is empty or
> not
>
>
> i
Sorry wrong list!
Original Message Follows
From: [EMAIL PROTECTED]
Reply-To: "Ant Users List"
To: user@ant.apache.org
Subject: AW: handy way to check if a dir is empty or not
Date: Fri, 18 Feb 2005 15:34:58 +0100
no, that´s java code. but you can put that into a
no, that´s java code. but you can put that into a
thanks for the reply, howover, is this ANT script?
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: Friday, February 18, 2005 9:28 AM
To: user@ant.apache.org
Subject: RE: handy way to check if a dir is empty or not
if(file.isDirectory() && (file.list()).len
if(file.isDirectory() && (file.list()).length == 0) {
// Directory is empty
}
Original Message Follows
From: "Michael Wang (IT)" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users List"
Subject: handy way to check if a dir is empty
is there a handy way to do this? thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
11 matches
Mail list logo