On Wed, 2004-06-02 at 03:06, Leandro Melo wrote:
> Hi,
> i'm using lomboz 2.1.2, wich comes with xdoclet 1.2.
> Everytime i generate files, i need to "hand fix" the
> following part of my jboss.xml
> 
> <ejb-LOCAL-ref>
>    <ejb-ref-name>ejb/PartyHouseLocal</ejb-ref-name>
>    <jndi-name>PartyHouseLocal</jndi-name>
> </ejb-LOCAL-ref>
> 
> as xdoclet doesn't generate the "local" part of the
> tag.

Have you specified any view-type parameter on your @ejb.ejb-ref tag? 
According to the docs the default value is remote, which would use
ejb-ref rather than ejb-local-ref.  Having said that, they also say that
parameter is mandatory, which seems inconsistent to me (since any
default value would never get used).
http://xdoclet.sourceforge.net/xdoclet/tags/[EMAIL PROTECTED]
 
> Also, it doesn't generate the "ejb/" part of the tag
> in the ejb-jar.xml file
> 
> <ejb-local-ref >
>    <ejb-ref-name>EJB/CompanyLocal</ejb-ref-name>
>    <ejb-ref-type>Entity</ejb-ref-type>
>   
> <local-home>ltcmelo.localhomeinterface.CompanyLocalHome</local-home>
>    <local>ltcmelo.localinterface.CompanyLocal</local>
>    <ejb-link>Company</ejb-link>
> </ejb-local-ref>
> 
> Is there any fix for that?

Again, what's in your ejb.ejb-ref tag?  The docs say the default
ref-name should include the "ejb/"; if that's not the case, it's a bug
(either in the implementation or the documentation).  Please check if
there's an open issue for it in JIRA, and raise one if not.
http://opensource.atlassian.com/projects/xdoclet/secure/Dashboard.jspa


Andrew.



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to