Using JSesh in Java Programs
Anyone who knows how to program in Java can use JSesh to include hieroglyphs in his applications. This is done, for instance, in the Openglyph software. Now, I admit that the programmer documentation for Jsesh is far from complete. Hence, this forum.
Suppose you want to use JSesh as a library in your own maven projects. You want the JSesh jars available, and I don't want to maintain a maven repository (too large for me on my own servers, and external servers may change).
Here is a way to do it (taken from a bit of the Ramses project). The foll...
The latest versions of JSesh (currently only available in mercurial) use maven 2. To use eclipse with maven, you need a maven plugin, m2eclipse, which is still a bit unstable. There are problems with generated java source code, and multi-modules software.
JSesh uses Cups and JLex to create the par...
if you have monitored the sourceforge JSesh project, you may have seen that there have been a number of changes recently. None of them really change the code, but they clean up the mess that was JSesh code distribution. Sort of.
I have moved to Maven as a build system instead of ANT. The JSesh doc...
(content moved to JSesh documentation. see now http://jsesh.qenherkhopeshef.org/en/node/1057 )
Actually, this is quite easy to do. You need to have jsesh.jar in your classpath, and probably jseshGlyphs.jar too if you want the full fonts. Then, having a hieroglyphic field in your application is as easy as:
// The package may change one day in the (far) future.
import package jsesh.mdcDisplay...
JSesh sources can be downloaded separatly. Bleeding edge sources are available from SVN at http://sourceforge.net/svn/?group_id=135127. For JSesh sources and downloads, in general, see http://sourceforge.net/projects/jsesh/.
The current source distribution may be a bit difficult to use; the cu...
In fact, you can simply find the jsesh.jar file, and add it to the libraries you use. (This post is of course incomplete, I'll add more info later)