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.
-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user