Hi,

> I'm making some changes to the way packagesubstituion is 
> done. While doing that I started getting exceptions from 
> entity-value.j. I debugged and here is the result:
> 
> - Is line 19 correct? Shouldn't it be like line 22? 
> <XDtClass:pushClass 
> value="<XDtEjbValueObj:currentRelationBeanClass/>"><XDtEjbUtil
> Obj:utilCl
> ass/>
> Obviously a remote intf can't be pushClassed because it's not 
> loaded by javadoc because it's not generated yet!

Correct.  I just patched it.

> 
> - How do you expect line 145 succeed when the 
> <XDtEjbValueObj:currentRelationBeanClass/> is not inside a 
> forAllRelations loop (that's the only place the 
> currentRelationBeanClass is set)?

You are in forAllComposes loop which calls forAllRelations.
You have it also on line 148,...
It will be set line 564 of ValueObjectTagsHandler

> 
> I don't why I started getting these errors (exceptions, 
> because for example currentRelationBeanClass is null) but the 
> errors seem very reasonable and don't know why I wasn't 
> getting them before!!!

That is strange.
If you want you could <XDtComment:comment> (hehe proud to have written
the smallest xdoclet tag of the universe) any piece of code that does
not work to not loose too much time.

> 
> PS: How the hell you wrote that piece of template!?!? It's 
> damn sophisticated! For a moment I thought I'm reading 
> TopLink's source code!! I would prefer to design a space 
> shuttle than to write such an ultra-complicated code!! Are 
> you an Einstein or something?! ;-)

Be an Einstein one day, be a Vincent all the other day :o) I mean once
its written it will make my life much more simple.
I am sick and tired of writing these Value objects all the time.
The Einstein here is the guy that write something sophisticated that
permit me to write something more sophisticated :o)


> 
> Cheers,
> Ara.
> 

Good night,
Vincent



_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to