[Tcl Java] Re: [Tcl Java] Jacl: patch for tcl/lang/Interp.java (evalResource)

2000-05-24 Thread Mo DeJong
); } catch (SecurityException e2) { // This catch is necessary if Jacl is to work in an applet // at all. Note that java::new will not work from within Jacl Mo Dejong Red Hat Inc. The TclJava mailing list is sponsored

[Tcl Java] Re: [Tcl Java] Can someone help me with the Tcljava demos?

2000-05-23 Thread Mo DeJong
so there is no "bug" to fix in the demo. Mo Dejong Red Hat Inc. The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word SUBSCRIBE

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] Can someone help me with the Tcljava demos?

2000-05-23 Thread Mo DeJong
ames of the programs that should be used to actually run Jacl or Tcl Blend. Mo Dejong Red Hat Inc. The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] wit

[Tcl Java] Re: [Tcl Java] In search of uses of TclBlend and Jacl

2000-05-18 Thread Mo DeJong
uses Jacl) http://www.nmrview.com/swank/index.html (Scriptics Connect uses Tcl Blend) http://scriptics.com/products/connect/ Any others? Mo Dejong Red Hat Inc. On Thu, 18 May 2000, Larry W. Virden wrote: Hi. I maintain a Tcl software catalog on the internet at URL: http://www.purl.org/NET/Tcl

[Tcl Java] RE: [Tcl Java] Re: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Threa d question in TclBlend

2000-05-18 Thread Mo DeJong
I thought the whole point you were making was that if we require that Tcl be built with threads then we could remove the JAVA_LOCK stuff. How do you suggest we implement locking in a non thread enabled version of Tcl if we are not going to use the current JAVA_LOCK approach? Mo Dejong Red Hat

[Tcl Java] RE: [Tcl Java] Threa d question in TclBlend

2000-05-18 Thread Mo DeJong
need one global lock, we could use on Java monitor for each Notifier. Mo DeJong Red Hat Inc On Thu, 18 May 2000, Jiang Wu wrote: My opinion is that there is no need for any locking for non-threaded version of Tcl in TclBlend. There is no need for any locking for threaded version of Tcl

[Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Threa d question in TclBlend

2000-05-18 Thread Mo DeJong
t did. The write() call should be thread safe and the windows port has its own global mutex. Scott, could you extract a comment from Scott S. on this one? Is JAVA_LOCK designed to only let one thread access the JVM at a time? Mo Dejong Red Hat Inc. On Thu, 18 May 2000, Jiang Wu wrote: You are right

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] Tcl Java problems with make test

2000-05-17 Thread Mo DeJong
On Wed, 17 May 2000, Larry W. Virden wrote: From: Mo DeJong [EMAIL PROTECTED] the test cases just fine for me. You are using the tcljava/unix/configure script and not the tcljava/configure script, right? The tcljava/configure Yeah, sorry about that. Merging the configure, unix

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] Re: [Tcl Java] Re: [Tcl Java] Tcl Java problems with make test

2000-05-17 Thread Mo DeJong
On Wed, 17 May 2000, Larry W. Virden wrote: From: Mo DeJong [EMAIL PROTECTED] Boy that is strange. The ./configure test just runs "package require Tcl 8.3.1" and makes sure that does not return an error. What do you get if you just go into the Tcl build dir, r

[Tcl Java] Re: [Tcl Java] RE: [Tcl Java] RE: [Tcl Java] Thread question in TclBlend

2000-05-17 Thread Mo DeJong
es for any paltforms. If folks want to build on windows they will need to install Cygwin and or Mingwin. Mo Dejong Red Hat Inc. On Tue, 16 May 2000, Scott Redman wrote: I think we should just require Tcl to be thread-enabled (as long as Tk will work with it, which is being looked into for 8.4).

[Tcl Java] Re: [Tcl Java] Patch to the Jacl shell

2000-05-14 Thread Mo DeJong
. Something to think about in the near future is moving the Shell.java file from the jacl dir to the tcljava dir so that the same tcl.lang.Shell program can be accessed in Jacl and Tcl Blend. Mo Dejong Red Hat Inc. On Wed, 5 Apr 2000, Jiang Wu wrote: This is related the last email I sent regarding

[Tcl Java] Re: [Tcl Java] Tclblend and Perl

2000-05-10 Thread Mo DeJong
Well, I am not sure what Perl has to do with Tcl Blend. If you are having problmes with Tcl and Tcl Blend I suggest that you upgrade to Tcl 8.3.1 and Tcl Blend 1.2.6 and see if the problem goes away. Perhaps I am not understanding your question. Mo Dejong Red Hat Inc. On Wed, 10 May 2000

[Tcl Java] Announce: Next SVTUG meeting

2000-05-08 Thread Mo DeJong
of the building there is a door there. Further directions will be sign-posted (look for big kitchen). WHEN: Tuesday, May 16th from 7:00pm to ~8:30pm. TOPICS: 7:00 "The state of Tcl/Java." Mo DeJong will present an overview of the current state of Tcl and Java integration (aka Ja

[Tcl Java] Re: [Tcl Java] How to initialise an ORB with TclBlend (fwd)

2000-05-05 Thread Mo DeJong
it [java::cast {String[]} [java::null]] $properties or java::import org.omg.CORBA.ORB java::call ORB {init String[] Properties} [java::null] $properties I hope that helps Mo Dejong Red Hat Inc. The TclJava mailing list is sp

[Tcl Java] Re: [Tcl Java] Build Process

2000-05-03 Thread Mo DeJong
://www.deja.com/[ST_artlink=www.cs.umn.edu,ST_rn=ps]/jump/http://www.cs.umn.edu/~dejong/tcl/tcljava/prerelease.html Mo Dejong Red Hat Inc. On Wed, 3 May 2000, Sendur Sellakumar wrote: Hi. I am getting this linking error when building TclBlend on JDK 1.1.6 w/Tcl 8.3 (on NT) Here

[Tcl Java] Re: [Tcl Java] Re: Using JACL in servlets

2000-05-01 Thread Mo DeJong
ut nothing ever came of it. Third, why rely on a custom command ("weld") when the Tcl subst command does about the same? later Mo Dejong Red Hat Inc. The TclJava mailing list is sponsored by Scriptics Corporation. To sub

[Tcl Java] Re: Thread safety (was: Using JACL in servlets)

2000-05-01 Thread Mo DeJong
On Mon, 1 May 2000, Jeff Sturm wrote: Mo DeJong wrote: The term "thread safe" is very misleading. Jacl interps are safe if you use them properly. The problem is that the documentaiton about how to use them properly is a little thin. There is no "automatic thread saf

[Tcl Java] Re: [Tcl Java] Use of JACL in JFC Actions

2000-05-01 Thread Mo DeJong
k out http://www.nmrview.com/swank/index.html. The "swank" project is Tk implemented on top of Swing. By the way, I am going to be doing a Swank demo at the next SVTUG meeting. It will be at the Red Hat offices in Sunnyvale CA on the 16th of this month. Everyone is welcome to stop by for cool

[Tcl Java] Any objections to removing tcljava/configure for 1.2.6?

2000-04-28 Thread Mo DeJong
before using it. How does that sound? By the way, this whole mess will be fixed in the 1.3 version, I am going to get rid of the build stuff in the win and unix subdirs and just use on TEA ./configure and Makefile for both Jacl and Tcl Blend. M

[Tcl Java] Re: [Tcl Java] Compilation problem with tclBlend1.2.5

2000-04-04 Thread Mo DeJong
is if you could add a configure.in test to see if you can compile the above program like so. AC_TRY_COMPILE([#include jni.h], , , AC_MSG_ERROR([Can not compile file that depends on jni.h])) I hope that helps Mo DeJong Red Hat Inc. On Tue, 4 Apr 2000, Bhupinder Thakur wrote: hello friends, i have

[Tcl Java] RE: [Tcl Java] Should Tcl Blend 1.2.6 use Tcl 8.2 or Tcl 8.3?

2000-04-04 Thread Mo DeJong
g a test case for this problem. It is the only issue holding up a 1.2.6 release at this point. Mo DeJong Red Hat Inc. Let them use 1.2.5, especially if you're only tweaking error messages (or is there more than that?). -- Scott ---

[Tcl Java] Re: [Tcl Java] External classloader for JACL

2000-03-02 Thread Mo DeJong
ally looks inside .jar and .zip files that appear on the env(TCL_CLASSPATH). This makes the "worst case" lookup time depend on the number of .zip or .jar files on the file system, which is really ugly. Perhaps we should add a env(TCL_JARPATH) var instead? Mo Dejong Red Hat Inc. On Thu,

[Tcl Java] Re: [Tcl Java] External classloader for JACL

2000-03-02 Thread Mo DeJong
on the env(TCL_CLASSPATH) that would still be supported. Does anyone see a problem with that? This would be going into 1.3 so backward compatibility is not a valid objection. Mo Dejong Red Hat Inc. On Thu, 2 Mar 2000, Thomas McKay wrote: I actually like the feature of looking for and loading classes fr

[Tcl Java] binary command for Jacl has been added to the CVS

2000-03-01 Thread Mo DeJong
Just an FYI. An implementation of the binary command for Jacl has been added to the 1.3 version in the CVS. Many thanks go to Christian Krone for donating the implementation. Mo Dejong Red Hat Inc. The TclJava mailing list

[Tcl Java] RE: [Tcl Java] Re: [Tcl Java] New 1.3 version is in the CVS

2000-02-23 Thread Mo DeJong
ong to get a "Scriptics Blessed" release because of the web site and FTP site updates. The Web Pages really should be in the tcljava CVS modules. Mo Dejong Red Hat Inc. On Wed, 23 Feb 2000, Scott Redman wrote: Brent is still working on it, you can give him feedback so he can make it eas

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] Tcl Blend and $errorCode

2000-02-22 Thread Mo DeJong
ternal rep is a Java object type. If this problem is caused by the catch command, would switching to the java::try command fix it? Mo DeJong Red Hat Inc. The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:

[Tcl Java] RE: [Tcl Java] some progress with java::defineclass problem

2000-02-22 Thread Mo DeJong
a note the the IBM JDK newsgroup right away. The IBM folks really seem to want to fix problems in the JDK port while Sun seems to just want 1.1.X to die. Mo DeJong Red Hat Inc. The TclJava mailing list is sponsored by Scriptics

[Tcl Java] Re: [Tcl Java] -1.#IO result from double-string

2000-02-22 Thread Mo DeJong
|| \ [string compare $result -inf] == 0 || \ [string compare $result -1.#INF] == 0} { set result pass } else { set result [list fail $result] } set result } pass Yuk! Mo Dejong Red Hat Inc

[Tcl Java] Re: [Tcl Java] Problems building tclblend1.2.5

2000-02-07 Thread Mo DeJong
This is a bug in Tcl 8. If you upgrade to Tcl 8.0.5 it should fix the crash you are seeing. You can read about this and other known bugs in the known_issues.txt file that comes with your Tcl Blend distro. Mo Dejong Red Hat Inc. On Fri, 4 Feb 2000, Suvarna Ayyagari wrote: Hi I was building

[Tcl Java] [Tcl Java] Tcl Blend + java::bind problem, could you help test?

2000-01-31 Thread Mo DeJong
this is a JVM bug there is nothing I can do to fix it. Mo Dejong Red Hat Inc. The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:send mail to [EMAIL PROTECTED] with the word SUBSCRIBE

[Tcl Java] Tcl Blend + java::bind problem, could you help test?

2000-01-19 Thread Mo DeJong
? The problem seems to be that when another Java thread invokes a callback created with the java::bind command, the Tcl callback never gets invoked and the other thread gets deadlocked. This same code works just fine in Jacl. Mo Dejong Red Hat Inc. // Start of file Bind.java // This class

[Tcl Java] Re: [Tcl Java] Interrupting the interpreter

2000-01-18 Thread Mo DeJong
Nope. Mo Dejong Red Hat Inc. On Tue, 18 Jan 2000, Trella Christopher-P28453 wrote: In jacl, is there anyway to interrupt the interpreter while it is executing (say an infinite loop is being executed)? Chris Trella 480-675-1347 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] Jacl in applet

2000-01-17 Thread Mo DeJong
What was the problem you were running into? Would the applet fail to run without the patch you suggest? Could you post a diff -u style patch for the change you suggest? Mo Dejong Red Hat Inc. On Mon, 17 Jan 2000, Thomas McKay wrote: ... + Changed Class.class.getResourceAsStream

[Tcl Java] Are you ready for a tcljava 1.2.6 release?

2000-01-07 Thread Mo DeJong
have patches, please post them now! After the 1.2.6 release, all new code will be added on the new 1.3 development version. Unless there is a really critical bug found and fixed in the 1.2.6 release, I do not think there will be any more releases on the 1.2 tree. Mo Dejong Cygnus Solutions

[Tcl Java] Re: [Tcl Java] Jacl in applet

2000-01-06 Thread Mo DeJong
Jacl work in applet? You should be using Jacl 1.2.5. There will be a new 1.2.6 release in the next couple of weeks. There is no reason to wait for the new release unless you need one of the bug fixes in it. Which is the newest one? A lot of questions and no answer, thanks for any help. L

[Tcl Java] Re: [Tcl Java] using java::defineclass

2000-01-05 Thread Mo DeJong
at you might be able to use to determine your load order. (http://www10.software.ibm.com/developerworks/opensource/jikes/project) I hope that helps Mo DeJong The TclJava mailing list is sponsored by Scriptics Corporation. To subscribe:

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] using java::defineclass

2000-01-05 Thread Mo DeJong
the java::defineclass command is returning null, perhaps you should fire up ddd with the java debug option inside Jacl and see if you can figure out where things are going wrong. There is already a rule in the Jacl makefile that does this for you, it is called "make ddd". Mo Dejong Cygnus

[Tcl Java] Re: [Tcl Java] TclBlend on HP-UX10

1999-12-13 Thread Mo DeJong
s. Check out the unix/custom.c file as well as the "cutom" and "custom_shell_green" rules in the unix makefile for more info. This will require hacking, so please do not expect this to work "out of the box". Mo Dejong Cygnus Solutions On Mon, 13 Dec 1999, Nimrod Shaulsk

[Tcl Java] Re: [Tcl Java] solution to java::import problem

1999-12-09 Thread Mo DeJong
On Wed, 8 Dec 1999, Vince Darley wrote: Hope this stops someone else wasting a bunch of time. My problem with 'java::import -package medical Simulation' not working when it seemed it should (and when it worked yesterday) turned out to be the following: (i) my code, tclBlend, java etc

[Tcl Java] Re: [Tcl Java] java::bind questions

1999-12-09 Thread Mo DeJong
You might want to try this to get a stack trace. That might really help track down the problem. java::try { java::bind $l processLogin login } catch {NullPointerException e} { $e printStactTrace } Mo Dejong Cygnus Solutions * set l [Login getObject] works, I get a ref that supports

[Tcl Java] New 1.3 version info (please read)

1999-12-09 Thread Mo DeJong
pment tree will only exist in the CVS. I am not going to create .tar or .zip snapshots, but if someone else really wanted em they would be welcome to host snapshots on an FTP or web server. I hope that clears things up. Mo Dejong Cygnus

[Tcl Java] Re: [Tcl Java] JavaBean event is locking on evt.sync()

1999-12-09 Thread Mo DeJong
Blend. Mo Dejong Cygnus Solutions On Thu, 9 Dec 1999, Randolph S. Kahle wrote: I am making a lot of progress today understanding the JavaBean event processing. But I am now stuck again. In the class EventAdaptor.java the method _processEvent(...) has the following code: BeanEvent evt

[Tcl Java] Re: [Tcl Java] tclblend.dll Loading problems

1999-12-07 Thread Mo DeJong
or JDK 1.2, you need more than one directory on the PATH for it to work. Mo Dejong Cygnus Solutions On Thu, 9 Dec 1999, Grant Sayer wrote: Hi I've just installed, on Windows-NT, tcl8.2, Java JDK1.2.2, tclblend125 binary. In a tclsh82 shell when I execute %package require java I'm gettin

<    1   2