[Yanel-dev] default constructor in newly created resource-type

Michael Wechner michael.wechner at wyona.com
Thu Feb 7 10:59:20 CET 2008


simon litwan wrote:

> Michael Wechner schrieb:
>
>> simon litwan wrote:
>>
>>> hi all
>>>
>>> maybe a thumb question. but can someone tell me why the java file in 
>>> a newly created resource (./build.sh new-resource-type) has an empty 
>>> constructor in it?
>>
>>
>>
>> What else would you expect?
>
> just an empty class.


so, I guess we can delete it from the template. Patch ;-)

>>
>> A sample ViewableV2 implementation?
>
> no.


but wouldn't it make sense to add the most recent ViewableVXXXX by 
default, because in 99% cases one needs to have this.

Whereas one could extends the BasicXMLResource and hence does not need 
to implement it itself.

WDYT?

Cheers

Michi

>
> simon
>
>>
>> Cheers
>>
>> Michi
>>
>>>
>>> simon
>>> _______________________________________________
>>> Yanel-development mailing list
>>> Yanel-development at wyona.com
>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>
>>
>>
>>
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list