Dear Members,
   
  Is it possible to check the availability of the set of generated files, with 
a given pattern?
   
  The following solution doesn't work:
   
   <target name="check-hbm.xml-present">
  <condition property="hbm.xml.present">
   <and>
    <available file="${middlegen.destDir}" type="dir"/>
    <available file="${middlegen.destDir}/com/amena/cac/domain/*.hbm.xml"/>
   </and>
  </condition>
 </target>
   
  it expect on the file attribute a file name or directory. I whould like to 
check the output directory exist and also the generated set of *.hbm.xml files 
on a given subfolder.
   
  Do you have any idea about how to solve this problem?
   
  Thanks in advance,
   
  David

                
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Reply via email to