From: "Alex Romayev" <[EMAIL PROTECTED]>
> --- Konstantin Piroumian <[EMAIL PROTECTED]> wrote:
> > From: "Alex Romayev" <[EMAIL PROTECTED]>
> >
> > > Hi,
> > >
> > > Is is actually possible to use I18nTransformer
> > without
> > > having to specify the catalogue-name and
> > > catalogue-location parameters?
> >
> > AFAIK, not yet, because of this lines in
> > I18nTransformer code:
> >
> > 893:     public void configure(Configuration conf)
> > throws
> > ConfigurationException {
> > 894:        if (factory == null) {
> > 895:            throw new
> > ConfigurationException("BundleFactory component is
> > not found.");
> > 896:        }
> >
> > you can try to remove this check and add other
> > checks to avoid NPE.
> >
> > >
> > > Why? Because I'm only using i18n:when and
> > i18n:date
> > > tags.  At the moment I'm having to create the
> > "dummy"
> > > message files.
> >
> > Yes, I see. If the above method works then please
> > post a patch to Bugzilla.
>
> Will do.  What's the process, do I patch entire file?
> -- I've never done this before.

It's quite simple. Make your modifications, then run this from your CVS
root:
>cvs diff -u > diff.txt

then post this patch thru Bugzilla.

Details can be found here:
http://cocoon.apache.org/2.1/howto/howto-patch.html
http://cocoon.apache.org/2.1/howto/howto-bugzilla.html

-- Konstantin


>
> -Alex
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to