Konstantin Priblouda wrote: > --- Ajay Gautam <[EMAIL PROTECTED]> wrote: > >> I have a few java files that have java 5 code in >> them. >> After much googling, I came to the conclusion that I >> can't upgrade >> xdoclet and have it process java 5 files. >> >> The thing is that this java file does not contain >> any hibernatedoclet >> tags, and build.xml is setup to ignore this file. >> >> Most likely, I am doing something wrong, and would >> VERY much >> appreciate if someone could take a look at this, and >> give me some >> pointers: >> > > I remember that there was talk about new xjavadoc > version which is able to process java 1.5+ - you may > try it out. > > BTW; why it is impossible to you to move to XD2? > as there is fresh qdox version which is said to > be able to process 1.5 sources ( m2 plugin update will > follow soon, but you can already bump up this > dependency ) there shall be no problem with it.
It's been a while since I set this up but I have continuing success generating Hibernate mapping files using Java 1.5 and XDoclet. I'm using xdoclet-1.2.3.jar and the xjavadoc-1.5-snapshot050611.jar. Put both in your classpath (so Ant can see it) and it should work. -Fred -- Fred Muhlenberg 'One thing at a time and that done well' ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user