Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-225


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-225
    Summary: JdoXmlMetadataSubTask generate .jdo for non JDO classes
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: XDoclet
  Component: JDO Module
   Versions:
             1.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Ming Fai

    Created: Fri, 3 Jan 2003 3:30 PM
    Updated: Fri, 3 Jan 2003 3:30 PM
Environment: N/A

Description:
when it is set to generation="class", .jdo meta files are generated for all classes, 
including non-JDO classes.

I traced from the latest source code in the CVS and find that the source of problem is 
seem to be come from xdoclet.TemplateSubTask. I try to provide as much information as 
possible to help you to fix the problem.

generation="class" -> ... -> isGenerationPerClass()==true -> 
startProcess()/startProcessPerClass()-> in 
xdoclet.TemplateSubTask.startProcessPerClass()

In startProcessForAll(), there is a checking of 
generationManager.isGenerationNeeded(). I guess this verify the @jdo attribute. So, 
when generation="project", only jdo file are included in the metadata.xml.

However, in startProcessPerClass(), there is a different checking - 
matchesGenerationRules().




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to