Bob Paige wrote:
Murray,
I've installed the tags plugin on my fresh JSPWiki install as
described on the above page, but I'm having a few problems.
My first test was to create a page called 'Project' and add
the following to it (after a simple one-line description):
[{HasTagOf Project}]
Hi Bob,
These are likely aliasing problems with a ready solution.
But first of all, to declare a tag you'd use the Tag plugin itself. The
HasTagOf plugin is a query on existing tags, so to declare a "Project"
tag on a page you'd more likely want to use
[{Tag Project}]
This resulted in a ClassNotFoundException looking for
org/ceryle/wiki/plugin/assertion/HasAssertedTagOfPlugin
I get a similar error (looking for some assertion class) if I use
the 'Tag' call.
Looks like this is dependent on your assertion framework?
Only in the sense that I've forgotten to change the commenting in
the aliasing classes, since what I'm doing is changing which classes
are called when "[{Tag}]" and "[{HasTagOf}]" are encountered.
When using the Assertion Framework, the classes Tag.java and
HasTagOf.java are aliases to (i.e., extend) AssertTagPlugin.java
and HasAssertedTagOfPlugin.java (resp.). When the Assertion
Framework is not in use these should extend TagPlugin and
HasTagOfPlugin (resp/). If you look in the aliasing files you
can see the commenting. If you change the commenting and
recompile things will work. I'll go ahead and make those changes
and post a new distribution later today since the default should
be to not use the Assertion Framework (I just happen to always
be using it in my development work so I'd not noticed). I'll also
try to improve the documentation on which plugin to use when.
Thanks for pointing out this error,
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