Yes -- I got the text from internet browser into the clipboard, paste it
into new text file and added the following lines (to make source code
compilable):

import java.util.*;
import com.xmlmind.xmledit.xmlutil.*;
import com.xmlmind.xmledit.doc.*;
import com.xmlmind.xmledit.doctype.*;
import com.xmlmind.xmleditapp.dochook.*;

Next I modified build.xml -- I changed xxe.distrib to: <property
name="xxe.distrib" value="D:/Program Files/XMLmind_XML_Editor" /> and next I
created directory checklinks under the directory where checklinks.java is.

And after that I compiled project (ant checklinks), took result
(checklinks.jar) and copied it into directory with *.xxe. Next I tried to
copy jar into distribution directory.

Maybe I do some trivial error using java -- although I am able to use java
it is not my production environment, so I am not sure in many things. Thus I
suppose that any hint or help or idea can lead to success -- if only I grasp
it :-)

Thanks,

Martin

> -----Original Message-----
> From: hussein at saxo.pixware.fr [mailto:hussein at saxo.pixware.fr]On Behalf
> Of Hussein Shafie
> Sent: Wednesday, May 07, 2003 12:18 PM
> To: kolarik at mii.cz
> Cc: xmleditor-support at xmlmind.com
> Subject: Re: [XXE] documentHook
>
>
> Martin Kolar?k wrote:
> >
> > there is the piece of configuration (after loading in to XXE it was
> > syntactically correct):
> >
> > ...
> >   <load location="checklinks.jar"/>
> >
> >   <documentHook>
> >     <class>CheckLinks</class>
> >   </documentHook>
> > ...
> >
> > checklinks.jar is placed in the same directory as *.xxe. Maybe
> > checklinks.jar is bad? I got the code from www page, only added
> imports and
> > compile it.
>
> OK. From what I've understood, checklinks.jar is the sample document
> hook described in the Developer's Guide.
>
> I have compiled checklinks.jar used the ant build.xml file and installed
> the document hook as described in the guide and everything works fine:
> documentHook is loaded and used by XXE.
>
> Therefore, I need more details to be able to help you as I cannot
> reproduce your problem. For example, what do you mean by ``I got the
> code from www page, only added imports and compile it.''?
>


Reply via email to