-----Original Message----- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 12:19 PM To: Ant Users List Subject: RE: Ant task to Count number of files in a directory
/* ... you need = http://jakarta.apache.org/bsf/ http://dist.codehaus.org/jruby/jruby-complete-1.0.1.jar */ also use = <scipt language="ruby"> <![CDATA[ $project.setProperty "filecount", Dir["Y:/temp/**/*.jar"].length.to_s ]]> </script> because the second parameter of the setProperty() method has to be a string Regards, Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]