Message:

   The following issue has been re-assigned.

   Assignee: Matthias Germann (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-678

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-678
    Summary: packageSubstitution for ValueObjects Not Seen By Session Bean 
Interfaces
       Type: Bug

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             EJB Module
   Versions:
             1.2 Beta 3

   Assignee: Matthias Germann
   Reporter: Leo J. Hart IV

    Created: Thu, 16 Oct 2003 10:30 AM
    Updated: Mon, 4 Apr 2005 3:33 PM
Environment: BEA Weblogic 6.1, XP Professional, ANT 1.5.3.1

Description:
Attached is my build.xml file for ANT:

<ejbdoclet destdir="${app.gen-src.dir}" mergedir="NONE"
                   excludedtags="@version,@author,@todo"
                   addedtags="@XDoclet-generated"
                   ejbspec="2.0" force="${app.xdoclet.force}"
                   verbose="${app.xdoclet.verbose}">
        <!--Specify Files to Doclet-->
        <fileset dir="${app.src.dir}">
                <include name="**/*EB.java"/>
                <include name="**/*SB.java"/>
        </fileset>
        <!--Create CMP Beans-->
        <entitycmp/>                                    
        <!--Create DTOs-->
        <valueobject pattern="{0}DTO">
                <packagesubstitution packages="ejb" substituteWith="dto"/>
        </valueobject>
        <!--Create Session Beans-->
        <session/>
        <!--Create Remote Interfaces-->
        <remoteinterface>
                <packagesubstitution packages="ejb" substituteWith="remoteif"/>
        </remoteinterface>
        <!--Create Local Interfaces-->
        <localinterface>
                <packagesubstitution packages="ejb" substituteWith="localif"/>
        </localinterface>
        <!--Create Remote Home Interfaces-->
        <homeinterface>
                <packagesubstitution packages="ejb" substituteWith="remoteif"/>
        </homeinterface>
        <!--Create Local Home Interfaces-->
        <localhomeinterface>
                <packagesubstitution packages="ejb" substituteWith="localif"/>
        </localhomeinterface>           
        <!--Create Deployment Descriptors-->
        <deploymentdescriptor destdir="${app.meta-inf.dir}"
                                                  validatexml="true" 
mergedir="NONE"
                                                  description="eReporting 
Security Repository EJBs">
                <configParam name="clientjar" value="erptsecejb.jar"/>
        </deploymentdescriptor>
        <!--Create WebLogic Descriptors-->
        <weblogic version="6.1" xmlencoding="UTF-8"
                          destdir="${app.meta-inf.dir}" validatexml="true"
                          datasource="${app.dta-src.name}"
                          mergedir="${app.merge.dir}" persistence="weblogic"/>
        <strutsform/>
</ejbdoclet>


Here's how I'd like my directory structure to go:

com/foo/ejb - Bean classes
com/foo/localif - EJB local interfaces
com/foo/remoteif - EJB remote interfaces
com/foo/dto - DTOs (Value Objects)
com/foo/dao - DAOs

Everything works fine until I use the DTOs in my Session beans as parameters.  
My Session bean - bean class refers to com/foo/dto/UserDTO, but the generated 
Interface seems to refer to  com/foo/ejb/UserDTO which obviously doesn't exist.

Am I using this wrong or is this a bug?

Thanks,
Leo


---------------------------------------------------------------------
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