Checkout resource collections...that may do what you want...

<resourcecount  property="someproperty">
   <fileset  dir = "somedir"  includes = "*.jar"/>
</resourcecount>

someproperty will be set with the count if any jar files exist in somedir...

Eric Wood wrote:
I'm want to set a property to check later on if there are any jar files
in a folder/directory. Available does quite seem right since I want to
wildcard for any jars. What is the best way to accomplish this task?
Thanks for you help, Eric


--
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to