[Tcl Java] Re: [Tcl Java] RE: [Tcl Java] loading classes dynamically as commands

1999-10-28 Thread Moses DeJong
> approaches and thought my code might spark some ideas out there. :-) > > > -Original Message- > > From: Moses DeJong [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, October 28, 1999 11:28 AM > > To: [EMAIL PROTECTED] > > Subject: [Tcl Java] RE: [Tcl J

[Tcl Java] RE: [Tcl Java] loading classes dynamically as commands

1999-10-28 Thread Thomas McKay
r people's approaches and thought my code might spark some ideas out there. :-) > -Original Message- > From: Moses DeJong [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 28, 1999 11:28 AM > To: [EMAIL PROTECTED] > Subject: [Tcl Java] RE: [Tcl Java] Re: [Tcl Java] lo

[Tcl Java] RE: [Tcl Java] Re: [Tcl Java] loading classes dynamically as commands

1999-10-28 Thread Moses DeJong
On Thu, 28 Oct 1999, Thomas McKay wrote: > After I asked the question I had some more time to poke around in the Jacl > src. No, it was never a feature it just seemed natural to me that it would > be, though. Are you saying that this "autoload of commands implemented in Java" feature should be

[Tcl Java] RE: [Tcl Java] Re: [Tcl Java] loading classes dynamically as commands

1999-10-28 Thread Thomas McKay
After I asked the question I had some more time to poke around in the Jacl src. No, it was never a feature it just seemed natural to me that it would be, though. I'll include some code snippets below to illustrate what I am doing. This was my thought: When a user types a command, say "MyComman

[Tcl Java] Re: [Tcl Java] loading classes dynamically as commands

1999-10-27 Thread Moses DeJong
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

[Tcl Java] loading classes dynamically as commands

1999-10-27 Thread Thomas McKay
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 pr