--- Katrin Grunwald <[EMAIL PROTECTED]> wrote: > Hello there, > > first of all, I am a total XDoclet2 newbie and > apologize for asking > those simple questions, but I couldn't find a > solution to my problems in > the mail archive, so... > I'm trying to generate hibernate mapping files from > my java sources > using the HibernateMappingPlugin. > The problem is, that there are also tags like > @clientCardinality and > stuff generated by the UML modeler inside the > javadoc comments (which I > don't want to remove from the sources). XDoclet did > not seem to be > disturbed by that. > Anyway, I needed to switch to XDoclet2, but I when > running the > build.xml, I get error messages like the following: > Unknown tag: > @clientCardinality in file... > In XDoclet there was this attribute called > excludedtags, but in XDoclet2 > it seems to me, there isn't.
This does not harm. > So, is there any possibility to exclude tags from > being considered > during the mapping process??? Those tags are not considered. They are warned by tag libraries. I know that this could be annoying, but this is not high priority problem. > One more question: > Although I have the following configuration in my > test application's > build.xml file, the mapping files will be generated > inside the classes > folder, not the src folder. Any idea about that? > <component > classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin" > destdir="../src" > version="3.0" > /> Normally one would use something like "${basedir]/src" ( absolute paths ) Though this is not good practice to mix generated files with sources. gruà nach Berlin, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest