cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: Directory structure of blocks
Date Tue, 12 Apr 2005 12:25:20 GMT
On Mar, 12 de Abril de 2005, 7:17, Geoff Howard dijo:
> On Apr 12, 2005 2:33 AM, Reinhard Poetz <reinhard@apache.org> wrote:
>> Antonio Gallardo wrote:
>>
>> > Is posible to change the name from:
>> > block.xml -> cob.xml
>>
>> ATM everything is possible ;-)
>>
>> >
>> > I see the analogy to WEB-INF/ --> web.xml.
>> > IMHO this is to keep the same name and avoid confusions. ;-)
>> > WDYT?
>>
>> fine for me too, so we have
>>
>> --------------------------------------------------------------
>> [cocoon block] [DIR]
>>    +-- COB-INF [DIR]
>>        +-- cob.xml
>>        +-- classes [DIR]
>>        +-- lib [DIR]
>> --------------------------------------------------------------
>>
>> WDOT?
>
> I don't think the inconsistency (COB-INF -> block.xml) is a big deal.
> There is also a META-INF and it does not have a meta.xml in it.
>
> In fact, it would have the added benefit of helping people guess what
> the heck a "COB" is if they are just browsing around the FS.  I think
> this argument was made before.

Well, the same apply for COB-INF name. ;-)

META-INF --> MANIFEST.MF are inside jars and it exists before the WEB-INF
--> web.xml relationship. To me, this means Sun did a mistake in java and
fixed it in servlets.

Best Regards,

Antonio Gallardo


Mime
View raw message