Robert Baruch wrote:

I'm using the obj-blank project as is, except that I have added a single file: src/java/genealogy/data/CitationPartType.java:

package genealogy.data;

/**
* @obj.class
*/
public class CitationPartType
{
 /**
  * @obj.field
  */
 private String name;

 /**
  * @obj.field
  *   attributes="primarykey"
  */
 private int id;

}

I haven't altered anything in build.properties. The problem is that when I run "ant xdoclet", I end up with none of this information in the repository_user.xml file:

Ant properly builds one file, sticks it in build/classes/genealogy/data, but then the xdoclet task doesn't seem to notice that my class has objdoclet tags in it.

Any ideas on how to debug this problem?

The OJB XDoclet module does not process the type because you misspelled the xdoclet tags: its @[EMAIL PROTECTED], not @[EMAIL PROTECTED]
(this is quite hard to catch ;-) )


Tom


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to