I agree with you.  In my EJB 1.1 scenario, the <home> and <remote> entries were correct, but the <ejb-class> was incorrect.  This obviously used to work under XDoclet 1.1.2.

Matthew




Maarten Dirkse <[EMAIL PROTECTED]>

09/19/2002 10:49 AM

       
        To:        Matthew Chestnut <[EMAIL PROTECTED]>
        cc:        [EMAIL PROTECTED]
        Subject:        Re: [Xdoclet-user] ejb-class



Thanks for the help.
BTW, how does this explain that the entries in the <local> and <local-home>
are correct?  You would think that if it can do that, it can get the
<ejb-class> right as well.
Maarten.
At 06:14 PM 9/18/2002 -0400, Matthew Chestnut wrote:
>Maarten,
>
>I had the identical problem moving from 1.1.2 to 1.2 on cvs.   I was able
>to fix it (changing my Ant script) using this suggestion from Paul  ....
>
>
>
>
>
>
>Paul,
>
>Your answer was correct.  Instead of using:
>
><fileset dir="${root}/src/com/proam/ccweb/agent/ejb">
>   <include name="**/*Bean.java" />
></fileset>
>
>I used:
>
><fileset dir="${root}/src">
>         <include name="**/com/proam/ccweb/agent/ejb/*Bean.java" />
></fileset>
>
>... and the <ejb-class> was generated correctly.
>
>Thanks for the help!
>
>Matthew
>
>
>
>
>
>
>"Mail List" <[EMAIL PROTECTED]>
>Sent by: [EMAIL PROTECTED]
>09/16/2002 11:44 AM
>
>
>         To:     <[EMAIL PROTECTED]>
>         cc:
>         Subject:        [Xdoclet-user] RE: <ejb-class> needs
> fully-qualified class name
>
>
>Mathew,
>I'm very new to Xdoclet myself. I could be very wrong here, but I wonder
>if you're not getting the fully qualified name because you are getting
>your Bean file in Ant using
>
>         <fileset dir="${root}/src/com/proam/ccweb/agent/ejb">
>                 <include name="**/*Bean.java" />
>         </fileset>
>
>Based on the build file I'm currently using, how about setting
>sourcepath in the ejbdoclet to ${root}/src and changing your fileset to
>
>          <fileset dir="${root}/src/">
>             <include name="**/*Bean.java"/>
>          </fileset>
>
>Hope this helps.
>Paul McGuire
>
>
>
>
>
>
>
>
>
>
>
>
>Maarten Dirkse <[EMAIL PROTECTED]>
>Sent by: [EMAIL PROTECTED]
>09/18/2002 05:59 PM
>
>
>         To:     [EMAIL PROTECTED]
>         cc:
>         Subject:        [Xdoclet-user] ejb-class
>
>
>Hi,
>I've just compiled the cvs source and found that the ejb-class tag content
>
>is not being generated properly for some reason I don't understand.  I
>have
>a tag in my source which looks like this:
>* @ejb:bean name="seres/IdStore" type="Stateless" view-type="local"
>jndi-name="seres/IdStore" local-jndi-name="seres/IdStore"
>which Xdoclet turns into
>....
><ejb-class>IdStoreEJB</ejb-class>
>...

>where it *should* be the fully qualified name
><ejb-class>ctux.seres.beans.idstore.IdStoreEJB</ejb-class>
>
>For some reason this is not happening.  It worked before (with version
>1.1.2) which leads me to think I might be missing a parameter or
>something,
>but I just don't know, and searches of the forums and mailinglists have
>turned up nothing.  Also the template says
><ejb-class><XDtEjb:concreteFullClassName/></ejb-class>
>which would appear to be the right thing, but it's just not
>happening.  Anyone have any ideas?
>Thanks,
>Maarten.



Reply via email to