Getting a blank sql file from schemaexport task



I have the following in my ant script:

<schemaexport
properties="${basedir}/hbm2ddl.properties"
quiet="no"
text="yes"
drop="yes"
create="yes"
delimiter=";"
output="${targetdir}/schema-export.sql">
<fileset dir="${sourcedir}">
<include name="**/*.hbm.xml"/>
</fileset>
</schemaexport>

everything runs ok but i get a blank schema-export.sql file.
Also i tried placing log4j.properties in various locations, and it
keeps saying

[schemaexport] log4j:WARN No appenders could be found for logger
(org.hibernate.
cfg.Environment).
[schemaexport] log4j:WARN Please initialize the log4j system properly.


Anyone can help?

David

.