Re: modifying source at runtime - jython case

2005-11-07 Thread Jan Gregor
Kent Johnson wrote: Jan Gregor wrote: my typical scenario is that my swing application is running, and i see some error or chance for improvement - modify sources of app, stop and run application again. so task is to reload class defitions (from source files) and modify also existing

Re: modifying source at runtime - jython case

2005-11-06 Thread Jan Gregor
In article [EMAIL PROTECTED], Kent Johnson wrote: Jan Gregor wrote: Hello folks I want to apply changes in my source code without stopping jython and JVM. Preferable are modifications directly to instances of classes. My application is a desktop app using swing library. Can you be

Re: modifying source at runtime - jython case

2005-11-06 Thread Kent Johnson
Jan Gregor wrote: my typical scenario is that my swing application is running, and i see some error or chance for improvement - modify sources of app, stop and run application again. so task is to reload class defitions (from source files) and modify also existing instances (their methods).

Re: modifying source at runtime - jython case

2005-11-06 Thread Alan Kennedy
[Jan Gregor] Following try showed me that instances aren't affected by modification in class definition. Is this more like what you mean? c:\jython Jython 2.1 on java1.4.2_09 (JIT: null) Type copyright, credits or license for more information. class a: ... def test(self): ...

modifying source at runtime - jython case

2005-11-05 Thread Jan Gregor
Hello folks I want to apply changes in my source code without stopping jython and JVM. Preferable are modifications directly to instances of classes. My application is a desktop app using swing library. Python solutions also interest me. Solution similiar to lisp way is ideal. Thanks

Re: modifying source at runtime - jython case

2005-11-05 Thread Alan Kennedy
[Jan Gregor] I want to apply changes in my source code without stopping jython and JVM. Preferable are modifications directly to instances of classes. My application is a desktop app using swing library. Python solutions also interest me. Solution similiar to lisp way is ideal. OK,

Re: modifying source at runtime - jython case

2005-11-05 Thread Jan Gregor
In article [EMAIL PROTECTED], Alan Kennedy wrote: [Jan Gregor] I want to apply changes in my source code without stopping jython and JVM. Preferable are modifications directly to instances of classes. My application is a desktop app using swing library. Python solutions also interest

Re: modifying source at runtime - jython case

2005-11-05 Thread Kent Johnson
Jan Gregor wrote: Hello folks I want to apply changes in my source code without stopping jython and JVM. Preferable are modifications directly to instances of classes. My application is a desktop app using swing library. Can you be more specific? Python and Jython allow classes to be