No, it is here: 
${src.home}/com/dotech/gizzard/persistence/ejb/GroupBean.java
, which is a match for this fileset declaration I have:
<fileset dir="${src.home}" includes="**/ejb/*Bean.java"/>

The big difference I see in the samples build file against mine is that 
the samples build file doesn't use a packageSubstitution as a 
sub-element of <valueobject/>.  Instead, there is one as a sub-element 
of <ejbdoclet/> which replaces "ejb" with "interfaces" .  I don't want 
to do that, and I haven't had to do that in the past...

Again, this used to work about a week ago with xdoclet from cvs.

Oh, one last thing:  It seems that the samples build file also includes 
another <fileset/> sub-element under <ejbdoclet/> that includes the 
interfaces java files.  I don't remember this being there before (though 
I did try it myself to no avail.)  There is a comment above it that says:
REMARK : we need this to qualify corretly some generated files

Any more help with this is greatly appreciated; thanks,
David

--

Vincent Harcq wrote:
> Hi
> 
>  > <<The Bean class is
>  > needed but not found in Xdoclet source path for interface GroupLocal>>
> 
> Is GroupBean in ${src.home}/ejb ?
> 
> Vincent
> 
> David Ward wrote:
> 
>> I'm having trouble creating valueobjects using xdoclet cvs from today 
>> that I didn't have a little over a week ago.  Below is my build.xml 
>> file and then the error I'm getting.  (Sun Linux JDK 1.4.0_01, Ant 
>> 1.5beta2)
>>
>> Can anyone tell me what changed and how my build file should change to 
>> match?
>>
>> Thanks,
>> David
>>
>> -- 
>>
>>         <ejbdoclet destdir="${gen.src.home}" ejbspec="2.0" 
>> verbose="true">
>>             <fileset dir="${src.home}" includes="**/ejb/*Bean.java"/>
>>             <fileset dir="${dotech.ejb.src.home}"
>>                 includes="com/dotech/util/ejb/Sequence*Bean.java"/>
>>             <remoteinterface/>
>>             <homeinterface/>
>>             <localinterface/>
>>             <localhomeinterface/>
>>             <valueobject pattern="{0}Data">
>>                 <packageSubstitution packages="ejb" 
>> substituteWith="data"/>
>>             </valueobject>
>>             <utilobject/>
>>             <deploymentdescriptor destdir="${gen.etc.home}/META-INF"/>
>>             <!--
>>                 debug, datasource and typmapping should change when 
>> initial
>>                 development is done!
>>             -->
>>             <jboss  version="3.0"
>>                     destdir="${gen.etc.home}/META-INF"
>>                     debug="true"
>>                     datasource="java:/DefaultDS"
>>                     typemapping="Hypersonic SQL"/>
>>         </ejbdoclet>
>>
>>
>>
>>
>> [ejbdoclet] Running <valueobject/>
>> [ejbdoclet] --> com.dotech.gizzard.persistence.data.KeywordData
>> [ejbdoclet] (XDocletMain.start                   51  ) Running XDoclet 
>> failed.
>> [ejbdoclet] (XDocletMain.start                   52  ) <<The Bean 
>> class is
>> needed but not found in Xdoclet source path for interface GroupLocal>>
>> [ejbdoclet]
>> /home/david/dev/D.O.Tech/gizzard.persistence/workspace/build.xml:88: 
>> XDoclet
>> failed
>> [ejbdoclet]     at xdoclet.DocletTask.start(DocletTask.java:350)
>> [ejbdoclet]     at 
>> xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:66)
>> [ejbdoclet]     at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java)
>> [ejbdoclet]     at org.apache.tools.ant.Task.perform(Task.java)
>> [ejbdoclet]     at org.apache.tools.ant.Target.execute(Target.java)
>> [ejbdoclet]     at org.apache.tools.ant.Target.performTasks(Target.java)
>> [ejbdoclet]     at 
>> org.apache.tools.ant.Project.executeTarget(Project.java)
>> [ejbdoclet]     at 
>> org.apache.tools.ant.Project.executeTargets(Project.java)
>> [ejbdoclet]     at org.apache.tools.ant.Main.runBuild(Main.java)
>> [ejbdoclet]     at org.apache.tools.ant.Main.start(Main.java)
>> [ejbdoclet]     at org.apache.tools.ant.Main.main(Main.java)
>> [ejbdoclet] --- Nested Exception ---
>> [ejbdoclet] xdoclet.XDocletException: The Bean class is needed but not 
>> found in
>> Xdoclet source path for interface GroupLocal
>> [ejbdoclet]     at
>> 
>xdoclet.modules.ejb.intf.InterfaceTagsHandler.getBeanClassNameFromInterfaceNameFor(InterfaceTagsHandler.java:194)
> 
>>
>> [ejbdoclet]     at
>> 
>xdoclet.modules.ejb.entity.ValueObjectTagsHandler.forAllRelations(ValueObjectTagsHandler.java:682)
> 
>>
>> [ejbdoclet]     at
>> 
>xdoclet.modules.ejb.entity.ValueObjectTagsHandler.forAllRelations(ValueObjectTagsHandler.java:486)
> 
>>
>> [ejbdoclet]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
>> Method)
>>
>>
>>
>> -------------------------------------------------------
>> Sponsored by:
>> ThinkGeek at http://www.ThinkGeek.com/
>> _______________________________________________
>> Xdoclet-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 
> 
> 



-- 

---------------------
David Ward
[EMAIL PROTECTED]
http://www.dotech.com



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to