Foros del Web » Programación para mayores de 30 ;) » Java »

Generar doc con Hibernate <hbm2doc>

Estas en el tema de Generar doc con Hibernate <hbm2doc> en el foro de Java en Foros del Web. 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 ...
  #1 (permalink)  
Antiguo 19/07/2010, 09:47
 
Fecha de Ingreso: abril-2008
Mensajes: 18
Antigüedad: 16 años
Puntos: 0
Generar doc con Hibernate <hbm2doc>

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

Etiquetas: doc, hibernate
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 19:57.