Ok, templates are updated and core11 builds fine.

There is still a problem with building Tomahawk; the parentClass
property is not being set for some classes because the parent class
cannot be found for some reason. The new sanity checking picks that up
and reports the error. Of course core doesn't inherit any data from
other projects, so doesn't fail.

Regards,
Simon

On Tue, 2008-06-17 at 23:04 +0200, simon wrote:
> I've made some changes to ClassMeta and QdoxModelBuilder.
> 
> What used to be called "superClassName" is now called
> sourceClassParentClassName. However before it was actually tweaked
> depending on whether the class was a template or not. Now it is *always*
> the parent of the annotated class
> 
> That does mean the templates need to be updated. Unfortunately I've run
> out of time tonight. Sorry about that. I will try to get this sorted as
> soon as I can tomorrow. However just FYI, the template change needed
> should be something like this I think:
> 
> #if ($component.template)
> #set ($parent = $component.sourceClassParentClassName
> #else
> #set ($parent = $component.sourceClassName)
> #end
> 
> public class ... extends $parent
> 
> Or that logic could be in the utils class.
> 
> Regards,
> Simon
> 

Reply via email to