cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <KPiroum...@protek.com>
Subject RE: i18n in a war in Weblogic
Date Thu, 24 Oct 2002 09:15:49 GMT
> From: Ruben_Inoto@sonynetservices.com 
> 
> Hi all,
> I've tried to deploy yesterdays version of cocoon.war in 
> Weblogic (6.1 sp1) and I got errors running the i18n 
> Transformer example: it complained because the translations 
> directory was in a 'zip' protocol..
> 
> I had a look at the sources, and I found this in
> org\apache\cocoon\transformation\I18nTransformer.java: (lines 844-848)
> 
> ------------------------------------------------------------
>             if (!systemId.startsWith(FILE)) {
>                 throw new ResourceNotFoundException(
>                     systemId + " does not denote a directory"
>                 );
>             }
> ------------------------------------------------------------
> 
> Commenting this lines the i18n works good (so far), is there 
> any special reason why the directory cannot be in a zip?

No reasons that I know. (You could also notice my FIXME comment above those
lines). I don't have possibility to check how it works on WL 6.1, but will
try on WL 7.0 and will remove those lines. 
Thanks for reporting.

> 
> btw, the spanish translations are quite funny ;-)

I don't remember if anybody helped me with them or I just used a translation
program ;)
You are welcome to correct them (and add your name as it is done in other
translations: french, german, etc.)

Konstantin

> regards,
> Ruben
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message