my bad. i should have posted the xml below. but at the same time, shouldn't xdoclet at least say "0 files processed" or something? i'm using 1.2.1... does 2.0 have better error diagnostics?
<target name = "buildHibernateDescriptors" description = "Generates Hibernate class descriptor files." depends = "buildClasses">
<taskdef name = "hibernatedoclet"
classname = "xdoclet.modules.hibernate.HibernateDocletTask">
<classpath refid = "classpath.sdk"/>
</taskdef>
<hibernatedoclet destdir = "."
excludedtags = "@version,@author,@todo,@see"
force = "true"
mergedir = "."
verbose = "true">
<fileset dir = ".">
<include name = "**/*.java"/>
</fileset>
<hibernate version = "2.0"/>
</hibernatedoclet>
</target>
Harkness, David wrote:
Jonathan Locke wrote:
i used the example from the hibernate page to try to build descriptors for my model classes and i got this:
buildHibernateDescriptors: [hibernatedoclet] (XDocletMain.start 47 ) Running <hibernate/> BUILD SUCCESSFUL Total time: 3 seconds
no error message. but no files generated either!
how can i get xdoclet to tell me what is going wrong?
Can you post the relevant section from your build.xml. Specifically, are you using a <fileset> that truly includes your source files correctly? Are you putting the package path inside the "dir" attribute (an error)? Without this information we cannot help you.
David Harkness Sr. Software Engineer Sony Pictures Digital Networks (310) 482-4756
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user