Hi all,

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:

Buildfile: build.xml

compile:
[mkdir] Created dir: /Users/ek/jbproject/Genealogy/build
[mkdir] Created dir: /Users/ek/jbproject/Genealogy/build/classes
[javac] Compiling 1 source file to /Users/ek/jbproject/Genealogy/build/classes


build:
    [copy] Copying 7 files to /Users/ek/jbproject/Genealogy/build/resources

compile:

xdoclet:
[ojbdoclet] (XDocletMain.start 47 ) Running <ojbrepository/>
[ojbdoclet] Generating ojb repository descriptor (build/resources//repository_user.xml)
[ojbdoclet] Processed 0 types
[ojbdoclet] Processed 0 types
[ojbdoclet] (XDocletMain.start 47 ) Running <torqueschema/>
[ojbdoclet] Generating torque schema (build/resources//project-schema.xml)
[ojbdoclet] Processed 0 types


BUILD SUCCESSFUL
Total time: 3 seconds

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.


Resulting repository_user.xml file:

<!-- file containing the repository descriptions for user-defined types -->
<!-- Generated by the xdoclet-ojb module -->


Any ideas on how to debug this problem?

Thanks,

--Rob


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



Reply via email to