How about plugins? Is the 2.6 API backward compatible? I remember reading about 
changes that would break backward compatibility...

When Maven decided to do a major rewrite for their 2.0 version (breaking 
backward compatibility) they maintained a table with an entry for each 
contributed plugin and the last known (Maven) compatible version.

That saved a lot of time in testing and choosing new plugins. I wonder if 
something like that would be useful to JSPWiki contributed code as well?

-----Original Message-----
From: Harry Metske [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 03, 2008 9:18 AM
To: [email protected]
Subject: Re: EmoticonsFilter in 2.6.0

then you will probably mean all (Page)Filters listed on
http://www.jspwiki.org/wiki/ContributedFilters ?

Harry

2008/1/3, Janne Jalkanen <[EMAIL PROTECTED]>:
>
> > Even the log says:
> > > INFO com.ecyrd.jspwiki.WikiEngine  - Added page filter
> org.stringfellow.jspwiki.emoticons.Filter with priority 0
> >
> > However, emoticons in my wiki pages won't be transformed.
> >
> > Anybody knows what could be the problem?
>
> 2.6 and 2.4 PageFilters are not API compatible.  You will need to
> recompile the Filter.  This is a pretty straightforward process,
> though, and it would be cool if someone could make it their job to
> update 2.4 filters to 2.6.
>
> (The reason for this is that the initialize() method didn't include a
> WikiEngine object, which made it essentially useless.  Also, a new
> destroy() method was added.  However, as Java does not have Java API
> versioning, there's really no way to know if the API works or not.  We
> might be able to resolve this with custom Annotations in the future
> (like @WorksWith2.6 or whatever).
>
> /Janne
>



--
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081

Reply via email to