RE: handy way to check if a dir is empty or not

2005-02-18 Thread Michael Wang \(IT\)
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

RE: handy way to check if a dir is empty or not

2005-02-18 Thread alexander . buccino
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

RE: handy way to check if a dir is empty or not

2005-02-18 Thread Michael Wang \(IT\)
-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

RE: handy way to check if a dir is empty or not

2005-02-18 Thread Ivan Ivanov
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: >

RE: handy way to check if a dir is empty or not

2005-02-18 Thread Michael Wang \(IT\)
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

RE: handy way to check if a dir is empty or not

2005-02-18 Thread Ivan Ivanov
$${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

RE: AW: handy way to check if a dir is empty or not

2005-02-18 Thread Mark Benussi
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

AW: handy way to check if a dir is empty or not

2005-02-18 Thread Jan . Materne
no, that´s java code. but you can put that into a

RE: handy way to check if a dir is empty or not

2005-02-18 Thread Michael Wang \(IT\)
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

RE: handy way to check if a dir is empty or not

2005-02-18 Thread Mark Benussi
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

handy way to check if a dir is empty or not

2005-02-18 Thread Michael Wang \(IT\)
is there a handy way to do this? thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]