On Wed, 27 Oct 1999, Thomas McKay wrote:
> Okay, I finally have some time to upgrade to v1.2.4 of Jacl. Since v1.0, I
> had been loading classes dynamically as commands by overriding the unknown
> proc and using a copy of TclClassLoader to load the appropriate class.
>
> I'm guessing that this was simply a workaround from long ago.
>
> The basic problem is this: When the user types in a command and it is not
> recognized, the interpreter will go search the user's classpath for this
> command as CommandName.class and load it using TclClassLoader.
I am not really sure what you are asking. Is this a feature that was
working in the past but has stopped wotrking in the 1.2 version?
I made some changes in the unknown command, but I thought that
would only matter for commands that were exec'ed. Could you provide
more information about what you want to do?
Mo DeJong
> What is the proper way to do this?
>
>
> ---
> Thomas McKay
>
> Project Leader
> Microcosm Technologies, Inc.
> mailto:[EMAIL PROTECTED]
>
> ----------------------------------------------------------------
> The TclJava mailing list is sponsored by Scriptics Corporation.
> To subscribe: send mail to [EMAIL PROTECTED]
> with the word SUBSCRIBE as the subject.
> To unsubscribe: send mail to [EMAIL PROTECTED]
> with the word UNSUBSCRIBE as the subject.
> To send to the list, send email to '[EMAIL PROTECTED]'.
>
----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.