The following comment has been added to this issue:
Author: Fernando Lozano
Created: Thu, 5 Feb 2004 1:17 PM
Body:
Looks like this is essensialy the same problem reported on XDT-460
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-796
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-796
Summary: ejb-jar template won't merge relationships
Type: Bug
Status: Open
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
EJB Module
Versions:
1.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Fernando Lozano
Created: Thu, 5 Feb 2004 12:42 PM
Updated: Thu, 5 Feb 2004 1:17 PM
Description:
I am migrating an ejb project to Xdoclet so I have many clases with and without
xdoclet tags. The problem happens when the ones with xdoclet tags don't have any
relationship: it will be generated an ejb-jar.xml file without any relationships,
ignoring those defined on the merge files.
I can't access CVS from my company network (they block everything excetp http) but I
found a quick fix on the relationship.xdt template: just make sure the <XDtMerge>
element is outside the <XDtEjbRel:ifHasRelationships> element. Of course, the
<relationships> element also have to be outside the conditional element.
The corrected template is something like:
<relationships <XDtId:prefixedId prefix="Relationships"/>>
<XDtEjbRel:ifHasRelationships>
<XDtEjbRel:forAllRelationships>
....
</XDtEjbRel:forAllRelationships>
</XDtEjbRel:ifHasRelationships>
<XDtMerge:merge file="relationships.xml">
</XDtMerge:merge>
</relationships>
There's a similar problem with the jbosscmp-jdbc template, but worse because the
<jboss> subtask won't use customized templates (I filled aother bug for this)
---------------------------------------------------------------------
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
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel