Re: Standalone parser: how to?
Murray Altheim <[email protected]> Sat, 10 Nov 2007 02:53:13 +1300
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
Janne Jalkanen wrote:
>> 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.
Hi Janne,
I'd thought -dev was for developers *of* JSPWiki, not just developers
using it, with -users for the latter. But okay, in the future, -dev
for this kind of thing.
> 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.
Thanks -- I'll give that a try then. I was trying to avoid creating
a WikiEngine, or was only making the parse feature available when
Jetty and the WikiEngine were running in the background, but that
all broke when I upgraded Jetty since now the whole wiki is now
running in a different JVM than Ceryle so they can't talk directly
to each other as in the past (now it's a long distance romance).
Murray
...........................................................................
Murray Altheim <murray07 at altheim.com> === = =
http://www.altheim.com/murray/ = = ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = =
Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record