I developed a Lucene plugin which is working great in Servoy Developer.
The problem is that is it not working in SmartClient; it gives me some strange errors that I do not know to interpret.
I think the problem is that this plugin is working with files, it creates indexes and so on, and maybe the SmartClient is somehow more
restrictive concerning the file permissions and so on.
Can you please help me find the problem? Maybe someone had a similar problem before?
Thank you,
Francisc
You need to provide more details. What errors are you getting (you could post a stack trace)? What extra libraries are required and are they transferred to the client? What files are written/used and where are they?
Did you create a JNLP file? Have a look at one of the jnlp files from the plugins directory (open it using a text editor).
Hi domnuprofesor.
I’m very interested in a servoy plugin capable of indexing documents.
Are you gonna commercialize it?
Best Regards. Roberto.
Unfortunately I cannot help you. All I can say is that if you get this plug in working you should commercialize it or offer it as free/open source software. Great job!
You need a jnlp file to tell the smart client to download the required library.
And to have proper access to the user’s file system without restrictions, you will need to sign all the jars of your plugin, including the lucene jars, then the user will be presented with a window asking him to trust your library.
Once you have done this, it should work, unless you have other problems related to absolute paths?