--- dr_pompeii <[EMAIL PROTECTED]> wrote: > > hi guys > > thanks so much both of you for your replies > > well, by parts > > by the moment i cant use xdoclet2, i have party of > errors about dependences > and i cant learn maven by lack of time > so, by the moment this option is in stand by
If maven (2) is not an option for you, you still can use XD2 with ant, but you will have to hunt for dependencies yourself ( with m2 it is just specifying plugin and watching them downloaded ) > about of the javadocr for 5 , ok, i have now a new > error, and fun for me > > [echo] Generando Mappings Inicio > [hibernatedoclet] (XDocletMain.start > 47 ) Running > <hibernate/> > [hibernatedoclet] Error parsing File .....blablabla > /lagranjita/WEB-INF/src/com/lagranjita/modelo/entidades/Articulo.java:Encountered > "<" at line 24, column 20. > [hibernatedoclet] Was expecting one of: > [hibernatedoclet] <IDENTIFIER> ... > [hibernatedoclet] "[" ... > [hibernatedoclet] "." ... > [hibernatedoclet] "(" ... > [hibernatedoclet] Generating mapping file for > com.lagranjita.modelo.entidades.ReciboEgreso. > [hibernatedoclet] > com.lagranjita.modelo.entidades.ReciboEgreso > [hibernatedoclet] Generating mapping file for > com.lagranjita.modelo.entidades.CabeceraCompra. > [hibernatedoclet] > com.lagranjita.modelo.entidades.CabeceraCompra > [hibernatedoclet] > com.lagranjita.modelo.entidades.FacturaCompra > [hibernatedoclet] > com.lagranjita.modelo.entidades.GuiaRemisionCompra > [hibernatedoclet] Generating mapping file for > com.lagranjita.modelo.entidades.Articulo. > [hibernatedoclet] > com.lagranjita.modelo.entidades.Articulo > [hibernatedoclet] (XDocletMain.start > 53 ) Running XDoclet > failed. > [hibernatedoclet] (XDocletMain.start > 54 ) <<Class > com.lagranjita.modelo.entidades.Articulo misses ID > property>> > [hibernatedoclet] > /......blablavla0/webapps/lagranjita/WEB-INF/build.xml:108: > XDoclet failed. > [hibernatedoclet] at > xdoclet.DocletTask.start(DocletTask.java:471) > [hibernatedoclet] at > xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:105) > [hibernatedoclet] at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) > [hibernatedoclet] at > org.apache.tools.ant.Task.perform(Task.java:364) > > well this "<" at line 24, column 20 is the line of > the varibale declaration > private Set<DetalleIngresoInsumos> > detallesingresoinsumos = new > HashSet<DetalleIngresoInsumos>(); This comes definitely from xjavadoc - you must remember that parser was writen back in 2003 and persons who knew and wrote most of it ( aslak and ara ) are moved on to other projects. So either you try to find more recent version of xjavadoc, or try to gather all the dependencies necessary to run xd2 with ant. I think some maven tasks for ant ( available from http://maven.apache.org/ ) may help you in gathering right dependencies. regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- JTec quality components: http://www.pribluda.de/projects/ ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user