Re: Standalone parser: how to?

Janne Jalkanen <[email protected]> Fri, 9 Nov 2007 15:09:59 +0200
Newsgroups gmane.comp.java.jspwiki.user
Message-ID <[email protected]>
> Anyone been able to create a parser without a WikiEngine or HTTP
> server? I am running this as an embedded application but I'd like
> access to a parser when neither the WikiEngine nor Jetty are active.
> Another alternative would be to create a dummy WikiEngine outside of
> the context of Jetty.

This is really a -dev issue.

Yes, you must create a WikiEngine.  However a dummy one is completely  
fine.  This is a dependency that we should probably get rid of in 3.0  
timeframe anyway.

I would recommend using the RenderingManager interfaces instead of  
using the MarkupParser directly, but that's more or less a matter of  
taste.

/Janne