The following issue has been updated:

    Updater: Webb Morris (mailto:[EMAIL PROTECTED])
       Date: Tue, 12 Apr 2005 8:58 AM
    Comment:
Here is the sample.
    Changes:
             Attachment changed to testXdoclet.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1339?page=history

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1339

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1339
    Summary: Generating VO by itself fais
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Webb Morris

    Created: Tue, 12 Apr 2005 8:58 AM
    Updated: Tue, 12 Apr 2005 8:58 AM

Description:
When attempting to create value objects independent of creating the interfaces 
for an EJB, the value object task fails.  The problem is apparent when 
relations are present.  I am attaching an example zip file containing the 
source and ant script that can recreate the problem (you must set up the 
environment properties correctly for your system).

I researched the issue and discovered that the line:

currentRelationBeanClass = 
InterfaceTagsHandler.getBeanClassNameFromInterfaceNameFor(getCurrentMethod().getReturnType().getType().getQualifiedName());

in xdoclet.modules.ejb.entity.ValueObjectTagsHandler (line 852 in v 1.2) is 
causing the error.  Further research seems to show that the variable 
currentRelationBeanClass is never used for anything (it has a getter, but the 
getter is not used in the corresponding xdt).

I would propose removing this variable and all references from the class.


---------------------------------------------------------------------
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/secure/Administrators.jspa

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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to