[tcljava-dev] [Incr Jacl]: How to proceed?
Brought to you by:
mdejong
From: Christian K. <chr...@so...> - 2001-03-27 06:43:23
|
Hello, yesterday evening it finally happended: the ensemble.test of [IncrTcl] was processed by Jacl without any failure, and I had even added one test case... But before I will look for the next command to implement, I want to reorganize the layout of the sources. Since I don't know, what the best way would be, I seek for your help. Let me first explain my current solution, which is really a temporary hack. I extend the Interp class, to load on demand the EnsembleCmd if "itcl::ensemble" is needed. This class is defined inside the tcl.lang package and the sources are put into .../src/jacl/tcl/lang. The compiled classes will thus go into jacl.jar. In other words: IncrTcl is no loadable package at all. I think, beside the name EnsembleCmd all of the above should be changed... A nice package name could be "tcl.incr", so the sources would be put into .../src/jacl/tcl/incr. The jar file containing all the Incr classes should probably be called incr.jar. And the loadOnDemand() inside Interp should be removed again. But how would the new classes be loaded into the Jacl interpreter? Currently I have no idea:-( Greetings, Krischan -- Christian Krone, SQL Datenbanksysteme GmbH Mail mailto:chr...@so... |