Hola que tal...
Estoy tratando de usar hibernate tools con ant para generar documentacion de tablas y entidades, tengo el siguiente error
[hibernatetool] Executing Hibernate Tool with a Standard Configuration
[hibernatetool] 1. task: hbm2doc (Generates html schema documentation)
[hibernatetool] 19/07/2010 10:41:28 AM org.hibernate.tool.Version <clinit>
[hibernatetool] INFO: Hibernate Tools 3.2.1.GA
[hibernatetool] 19/07/2010 10:41:31 AM org.hibernate.tool.hbm2x.DocExporter generateDot
[hibernatetool] INFO: Skipping entitygraph creation since dot.executable is empty or not-specified.
[hibernatetool] An exception occurred while running exporter #2:hbm2doc (Generates html schema documentation)
[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
BUILD FAILED
C:\Documents and Settings\Luis1\workspace\Inversa\build.xml:103: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Total time: 3 seconds
Uso la siguiente configuracion
<target name="gendoc" description="Generar documentacion">
<hibernatetool destdir="${basedir}">
<classpath path="${build.dir}" />
<configuration configurationfile="${build.dir}/hibernate.cfg.xml" />
<hbm2doc />
</hibernatetool>
</target>
gracias por su ayuda