tcljava-user Mailing List for Tcl/Java (Page 26)
Brought to you by:
mdejong
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(23) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(12) |
Feb
(10) |
Mar
(16) |
Apr
(10) |
May
(40) |
Jun
(13) |
Jul
(18) |
Aug
(4) |
Sep
(6) |
Oct
(3) |
Nov
|
Dec
(3) |
2002 |
Jan
(15) |
Feb
(19) |
Mar
(1) |
Apr
(11) |
May
(12) |
Jun
(10) |
Jul
(2) |
Aug
(22) |
Sep
|
Oct
(3) |
Nov
(9) |
Dec
(20) |
2003 |
Jan
(32) |
Feb
(5) |
Mar
(26) |
Apr
(30) |
May
(10) |
Jun
(8) |
Jul
(17) |
Aug
(7) |
Sep
(24) |
Oct
(7) |
Nov
(6) |
Dec
|
2004 |
Jan
(5) |
Feb
|
Mar
|
Apr
(7) |
May
(8) |
Jun
(12) |
Jul
(3) |
Aug
(11) |
Sep
(8) |
Oct
(4) |
Nov
(2) |
Dec
(6) |
2005 |
Jan
(8) |
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(19) |
Jul
(8) |
Aug
(22) |
Sep
(12) |
Oct
(35) |
Nov
(12) |
Dec
(4) |
2006 |
Jan
(20) |
Feb
(14) |
Mar
(23) |
Apr
(10) |
May
(11) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(4) |
Nov
(17) |
Dec
(10) |
2007 |
Jan
(41) |
Feb
(6) |
Mar
(23) |
Apr
(15) |
May
(34) |
Jun
(5) |
Jul
(18) |
Aug
(13) |
Sep
(8) |
Oct
(9) |
Nov
(7) |
Dec
(2) |
2008 |
Jan
|
Feb
(1) |
Mar
(18) |
Apr
(1) |
May
(1) |
Jun
(10) |
Jul
(3) |
Aug
|
Sep
(10) |
Oct
(3) |
Nov
(13) |
Dec
(3) |
2009 |
Jan
(4) |
Feb
(10) |
Mar
(1) |
Apr
(11) |
May
(3) |
Jun
(7) |
Jul
(4) |
Aug
(9) |
Sep
(16) |
Oct
(3) |
Nov
(5) |
Dec
(2) |
2010 |
Jan
(3) |
Feb
|
Mar
|
Apr
(7) |
May
(1) |
Jun
|
Jul
|
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
2011 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
(17) |
May
(4) |
Jun
(17) |
Jul
(5) |
Aug
(7) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(12) |
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
(3) |
Sep
(2) |
Oct
(6) |
Nov
|
Dec
(2) |
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
(8) |
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
(3) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
(1) |
Jun
(3) |
Jul
(3) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Mo D. <md...@un...> - 2005-10-11 19:27:08
|
On Tue, 11 Oct 2005 12:31:54 +0800 <PFi...@hb...> wrote: > Use of TclBlend to put a JMS message on a remote IBM MQ Windows queue > using MQ JMS classes. > > http://wiki.tcl.tk/1313 Patrick, could you create a new WIKI page of examples and put your example there instead of tossing it on the Tcl Blend page? You example could be used with either Jacl or Tcl Blend so it does not really belong where you put it. cheers Mo DeJong |
From: Adrian T. <ah...@te...> - 2005-10-11 05:58:25
|
I'm running Virtual PC on Windows XP Professional. The OS for the Virtual PC is Fedora Core 4. I have installed Java 1.5.0, Tcl 8.4.11, Tk 8.4.11, and Threads 2.6.2 Regards, Adrian -----Original Message----- From: tcl...@li... = [mailto:tcl...@li...] On Behalf Of = PFi...@hb... Sent: Tuesday, October 11, 2005 12:34 PM To: tcl...@li... Subject: Re: [tcljava-user] Error "make install" Tclblend 1.3.2 What OS?=20 Regards. PATRICK FINNEGAN. IBM WebSphere Consultant. HBF Web Master LDAP Administrator. PH: +61 (0)8 9265 6569 FX: +61 (0)8 9265 6380 MB: +61 (0)402 232619=20 "Adrian Tan" <ah...@te...>=20 Sent by: tcl...@li... 10/10/2005 12:10 PM Please respond to tcl...@li... To <tcl...@li...> cc Subject [tcljava-user] Error "make install" Tclblend 1.3.2 Hi all, =20 I get the following error when I do a make install for Tclblend 1.3.2 =20 =20 # make install # # Installing tcljava # Installing tcljava.jar in /opt/tclblend/lib/tcljava1.3.2 # # Installing tclblend # Installing libtclblend.so in /opt/tclblend/lib/tcljava1.3.2 Installing tclblend.jar in /opt/tclblend/lib/tcljava1.3.2 Installing pkgIndex.tcl in /opt/tclblend/lib/tcljava1.3.2 Installing xputils package in /opt/tclblend/lib Installing jtclsh in /opt/tclblend/bin Installing jwish in /opt/tclblend/bin Testing installed program Exception in thread =E2=80=9Cmain=E2=80=9D = java.lang.NullPointerexception: Invalid=20 interpreter. at tcl.land.Interp.getCommand(Native Method) at tcl.land.BlendExtension.init(BlendExtension.java:39) =E2=80=9Cpackage require java=E2=80=9D failed with the following error =E2=80=9CXpUtils::iload =E2=80=93d /opt/tclblend/lib/tcljava1.3.2 = tclblend=E2=80=9D failed: Java.lang.NullPointerException: Invalid interpreter. Jtclsh test failed due to a configuration error =20 =20 Kind regards =20 Adrian Tan Technology Resources Group www.techresgroup.com =20 Landline: +65 6319 9708 Mobile: +65 9171 6415 =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D HBF Health Funds Inc. a registered organisation under the National = Health Act HBF Insurance Pty Ltd ACN 009 268 277 This email is a confidential communication intended only for the named = Addressee(s).=20 If you are not that person any disclosure, copying, distribution or use = of this email or the information in it is prohibited. Please notify us immediately by=20 telephone, (+61) 08 9265 6111 or return email and delete this email. The views in this email may be personal to the author and not those of = HBF. N=18HS^=E9=9A=8AX'u =02!=D7=9CE(=1E zky(=D7=A70Z=1Avb=CB=AC*'=DD=9A=DE=86i(b{'{ =1ErmmrX=DA=BDzXX%=DA=BA=C7=AB+-.=C7=9F=1Ealb,y+=DE=B7b?+-w%=DA=BA=C7=AB |
From: <PFi...@hb...> - 2005-10-11 04:34:24
|
V2hhdCBPUz8gDQoNClJlZ2FyZHMuDQoNCg0KUEFUUklDSyBGSU5ORUdBTi4NCklCTSBXZWJTcGhl cmUgQ29uc3VsdGFudC4NCkhCRiBXZWIgTWFzdGVyDQpMREFQIEFkbWluaXN0cmF0b3IuDQpQSDog KzYxICgwKTggOTI2NSA2NTY5DQpGWDogKzYxICgwKTggOTI2NSA2MzgwDQpNQjogKzYxICgwKTQw MiAyMzI2MTkgDQoNCg0KDQoiQWRyaWFuIFRhbiIgPGFoc3RhbkB0ZWNocmVzZ3JvdXAuY29tPiAN ClNlbnQgYnk6IHRjbGphdmEtdXNlci1hZG1pbkBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQNCjEwLzEw LzIwMDUgMTI6MTAgUE0NClBsZWFzZSByZXNwb25kIHRvDQp0Y2xqYXZhLXVzZXJAbGlzdHMuc291 cmNlZm9yZ2UubmV0DQoNCg0KVG8NCjx0Y2xqYXZhLXVzZXJAbGlzdHMuc291cmNlZm9yZ2UubmV0 Pg0KY2MNCg0KU3ViamVjdA0KW3RjbGphdmEtdXNlcl0gRXJyb3IgIm1ha2UgaW5zdGFsbCIgVGNs YmxlbmQgMS4zLjINCg0KDQoNCg0KDQoNCkhpIGFsbCwNCiANCkkgZ2V0IHRoZSBmb2xsb3dpbmcg ZXJyb3Igd2hlbiBJIGRvIGEgbWFrZSBpbnN0YWxsIGZvciBUY2xibGVuZCAxLjMuMg0KIA0KIA0K IyBtYWtlIGluc3RhbGwNCiMNCiMgSW5zdGFsbGluZyB0Y2xqYXZhDQojDQpJbnN0YWxsaW5nIHRj bGphdmEuamFyIGluIC9vcHQvdGNsYmxlbmQvbGliL3RjbGphdmExLjMuMg0KIw0KIyBJbnN0YWxs aW5nIHRjbGJsZW5kDQojDQpJbnN0YWxsaW5nIGxpYnRjbGJsZW5kLnNvIGluIC9vcHQvdGNsYmxl bmQvbGliL3RjbGphdmExLjMuMg0KSW5zdGFsbGluZyB0Y2xibGVuZC5qYXIgaW4gL29wdC90Y2xi bGVuZC9saWIvdGNsamF2YTEuMy4yDQpJbnN0YWxsaW5nIHBrZ0luZGV4LnRjbCBpbiAvb3B0L3Rj bGJsZW5kL2xpYi90Y2xqYXZhMS4zLjINCkluc3RhbGxpbmcgeHB1dGlscyBwYWNrYWdlIGluIC9v cHQvdGNsYmxlbmQvbGliDQpJbnN0YWxsaW5nIGp0Y2xzaCBpbiAvb3B0L3RjbGJsZW5kL2Jpbg0K SW5zdGFsbGluZyBqd2lzaCBpbiAvb3B0L3RjbGJsZW5kL2Jpbg0KVGVzdGluZyBpbnN0YWxsZWQg cHJvZ3JhbQ0KRXhjZXB0aW9uIGluIHRocmVhZCDigJxtYWlu4oCdIGphdmEubGFuZy5OdWxsUG9p bnRlcmV4Y2VwdGlvbjogSW52YWxpZCANCmludGVycHJldGVyLg0KICAgICAgICAgICAgYXQgdGNs LmxhbmQuSW50ZXJwLmdldENvbW1hbmQoTmF0aXZlIE1ldGhvZCkNCiAgICAgICAgICAgIGF0IHRj bC5sYW5kLkJsZW5kRXh0ZW5zaW9uLmluaXQoQmxlbmRFeHRlbnNpb24uamF2YTozOSkNCuKAnHBh Y2thZ2UgcmVxdWlyZSBqYXZh4oCdIGZhaWxlZCB3aXRoIHRoZSBmb2xsb3dpbmcgZXJyb3INCuKA nFhwVXRpbHM6Omlsb2FkIOKAk2QgL29wdC90Y2xibGVuZC9saWIvdGNsamF2YTEuMy4yIHRjbGJs ZW5k4oCdIGZhaWxlZDoNCiBKYXZhLmxhbmcuTnVsbFBvaW50ZXJFeGNlcHRpb246IEludmFsaWQg aW50ZXJwcmV0ZXIuDQpKdGNsc2ggdGVzdCBmYWlsZWQgZHVlIHRvIGEgY29uZmlndXJhdGlvbiBl cnJvcg0KIA0KIA0KS2luZCByZWdhcmRzDQogDQpBZHJpYW4gVGFuDQpUZWNobm9sb2d5IFJlc291 cmNlcyBHcm91cA0Kd3d3LnRlY2hyZXNncm91cC5jb20NCiANCkxhbmRsaW5lOiArNjUgNjMxOSA5 NzA4DQpNb2JpbGU6ICs2NSA5MTcxIDY0MTUNCiANCiANCg0KPT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpIQkYgSGVhbHRoIEZ1bmRzIEluYy4gYSBy ZWdpc3RlcmVkIG9yZ2FuaXNhdGlvbiB1bmRlciB0aGUgTmF0aW9uYWwgSGVhbHRoIEFjdA0KSEJG IEluc3VyYW5jZSBQdHkgTHRkIEFDTiAgMDA5IDI2OCAyNzcNClRoaXMgZW1haWwgaXMgYSBjb25m aWRlbnRpYWwgY29tbXVuaWNhdGlvbiBpbnRlbmRlZCBvbmx5IGZvciB0aGUgbmFtZWQgQWRkcmVz c2VlKHMpLiANCklmIHlvdSBhcmUgbm90IHRoYXQgcGVyc29uIGFueSBkaXNjbG9zdXJlLCBjb3B5 aW5nLCBkaXN0cmlidXRpb24gb3IgdXNlIG9mIHRoaXMgZW1haWwNCm9yIHRoZSBpbmZvcm1hdGlv biBpbiBpdCBpcyBwcm9oaWJpdGVkLiBQbGVhc2Ugbm90aWZ5IHVzIGltbWVkaWF0ZWx5IGJ5IA0K dGVsZXBob25lLCAoKzYxKSAwOCA5MjY1IDYxMTEgb3IgcmV0dXJuIGVtYWlsIGFuZCBkZWxldGUg dGhpcyBlbWFpbC4NClRoZSB2aWV3cyBpbiB0aGlzIGVtYWlsIG1heSBiZSBwZXJzb25hbCB0byB0 aGUgYXV0aG9yIGFuZCBub3QgdGhvc2Ugb2YgSEJGLg0K |
From: <PFi...@hb...> - 2005-10-11 04:31:39
|
Use of TclBlend to put a JMS message on a remote IBM MQ Windows queue using MQ JMS classes. http://wiki.tcl.tk/1313 Regards. PATRICK FINNEGAN. IBM WebSphere Consultant. HBF Web Master LDAP Administrator. PH: +61 (0)8 9265 6569 FX: +61 (0)8 9265 6380 MB: +61 (0)402 232619 =================================================== HBF Health Funds Inc. a registered organisation under the National Health Act HBF Insurance Pty Ltd ACN 009 268 277 This email is a confidential communication intended only for the named Addressee(s). If you are not that person any disclosure, copying, distribution or use of this email or the information in it is prohibited. Please notify us immediately by telephone, (+61) 08 9265 6111 or return email and delete this email. The views in this email may be personal to the author and not those of HBF. |
From: Adrian T. <ah...@te...> - 2005-10-10 04:11:16
|
Hi all, I get the following error when I do a make install for Tclblend 1.3.2 # make install # # Installing tcljava # Installing tcljava.jar in /opt/tclblend/lib/tcljava1.3.2 # # Installing tclblend # Installing libtclblend.so in /opt/tclblend/lib/tcljava1.3.2 Installing tclblend.jar in /opt/tclblend/lib/tcljava1.3.2 Installing pkgIndex.tcl in /opt/tclblend/lib/tcljava1.3.2 Installing xputils package in /opt/tclblend/lib Installing jtclsh in /opt/tclblend/bin Installing jwish in /opt/tclblend/bin Testing installed program Exception in thread "main" java.lang.NullPointerexception: Invalid interpreter. at tcl.land.Interp.getCommand(Native Method) at tcl.land.BlendExtension.init(BlendExtension.java:39) "package require java" failed with the following error "XpUtils::iload -d /opt/tclblend/lib/tcljava1.3.2 tclblend" failed: Java.lang.NullPointerException: Invalid interpreter. Jtclsh test failed due to a configuration error Kind regards Adrian Tan Technology Resources Group <http://www.techresgroup.com> www.techresgroup.com Landline: +65 6319 9708 Mobile: +65 9171 6415 |
From: community h. <hel...@ya...> - 2005-09-19 14:37:45
|
Hi, Now the installation ended with the following message: Testing installed program Installed programming is working correctly So,i did a mistake of not specifying arguments of configure. When i've read the readme i understood that it was possible to run the configure script without arguments because in this case the script chooses the default directory. Thank you very much for your help --- Mo DeJong <md...@un...> wrote: > On Fri, 16 Sep 2005 04:41:37 -0700 (PDT) > community help <hel...@ya...> wrote: > > > > Did installing "jaclsh" also fail with the same > > > error or was it > > > just the jaclsh.bat file that did not work? > > jaclsh installed successfully. > > Well, that does help. > > > Here is the content of my jaclsh.bat: > > -------------------- > > @echo off > > setlocal > > > > set JAVA=c:/j2sdk1.4.1/bin/java > > set JAVA_FLAGS= -ms5m -mx22m > > > > set PREFIX=C:/msys/jacl1.3.2/NONE > > Ahh, this seems to be the problem. The prefix should > not > include "NONE" there at the end. How did you > configure > jacl? Could you post the exact configure command > line > you used? > > > My msys directory does not contain any directory > of > > name usr. Perhaps this is the problem as jacl > tries to > > install in /usr/local/bin? > > My guess here is that you configured jacl like so: > > ./configure > make > make install > > And the problem is showing up because the prefix > is getting set to "NONE" instead of /usr/local which > is what it would get set to by default. Does it work > if you run configure like so: > > ./configure --prefix=/usr/local > make > make install > > If that fixes the problem, then it is clearly caused > by > the default --prefix value not getting setup > correctly > in the configure file. Could you let me know if that > is the problem you were running into? > > thanks > Mo DeJong > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |
From: yahalome <yah...@xo...> - 2005-09-18 05:42:35
|
Hello I compiled against tcl8.4.11 and tclBlend works. Thanks a lot for the help. Now it's time to dive into the deep water. Yahalom Emet Ashrait Team Leader Xor Technologies phone: 04-6619166 fax: 04-6619054 e-mail: yah...@xo... web: http://www.xortechnologies.com -----Original Message----- From: tcl...@li... [mailto:tcl...@li...] On Behalf Of tcl...@li... Sent: Friday, September 16, 2005 5:14 AM To: tcl...@li... Subject: tcljava-user digest, Vol 1 #317 - 3 msgs Send tcljava-user mailing list submissions to tcl...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/tcljava-user or, via email, send a message with subject or body 'help' to tcl...@li... You can reach the person managing the list at tcl...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of tcljava-user digest..." Today's Topics: 1. RE: tcljava-user digest, Vol 1 #316 - 3 msgs (yahalome) 2. Re: compiling tclBlend (Kevin Kenny) 3. Re: compiling tclBlend (Mo DeJong) --__--__-- Message: 1 From: "yahalome" <yah...@xo...> To: <tcl...@li...> Date: Thu, 15 Sep 2005 07:52:21 +0200 Subject: [tcljava-user] RE: tcljava-user digest, Vol 1 #316 - 3 msgs Reply-To: tcl...@li... I looked at jni.h and they define of jchar is the same: typedef unsigned short jchar; I do not think sun will change it without changing version as this seems to be a major change. Is there another idea? Yahalom Emet Ashrait Team Leader Xor Technologies phone: 04-6619166 fax: 04-6619054 e-mail: yah...@xo... web: http://www.xortechnologies.com -----Original Message----- From: tcl...@li... [mailto:tcl...@li...] On Behalf Of tcl...@li... Sent: Thursday, September 15, 2005 5:30 AM To: tcl...@li... Subject: tcljava-user digest, Vol 1 #316 - 3 msgs Send tcljava-user mailing list submissions to tcl...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/tcljava-user or, via email, send a message with subject or body 'help' to tcl...@li... You can reach the person managing the list at tcl...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of tcljava-user digest..." Today's Topics: 1. compiling tclBlend (yahalome) 2. Re: compiling tclBlend (Mo DeJong) 3. Itcl support added to Jacl! (Mo DeJong) -- __--__-- Message: 1 From: "yahalome" <yah...@xo...> To: <tcl...@li...> Date: Wed, 14 Sep 2005 08:44:55 +0200 Subject: [tcljava-user] compiling tclBlend Reply-To: tcl...@li... This is a multi-part message in MIME format. ------=_NextPart_000_009C_01C5B908.955D16F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I try to compile tclBlend but failed. This is the error I get: gcc -pipe -c -g -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -D_REENTRANT -DTCL_MEM_DEBUG -I. -I/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native -I/u/packages/tcl/tcl8.4.5/generic -I/usr/java/j2sdk1.4.2_09/include -I/usr/java/j2sdk1.4.2_09/include/linux -fPIC /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c: In function `Java_tcl_lang_CObject_getString': /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: warning: assignment from incompatible pointer type /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:501: invalid operands to binary - Is this a bug? Yahalom Emet Ashrait Team Leader Xor Technologies phone: 04-6619166 fax: 04-6619054 e-mail: <mailto:yah...@xo...> yah...@xo... web: <http://www.xortechnologies.com/> http://www.xortechnologies.com ------=_NextPart_000_009C_01C5B908.955D16F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Rockwell; panose-1:2 6 6 3 2 2 5 2 4 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I try to compile tclBlend but failed. This is the = error I get:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>gcc -pipe -c -g -DHAVE_UNISTD_H=3D1 = -DHAVE_LIMITS_H=3D1 -D_LARGEFILE64_SOURCE=3D1 -DTCL_WIDE_INT_TYPE=3Dlong\ long -DHAVE_STRUCT_STAT64=3D1 = -DHAVE_TYPE_OFF64_T=3D1 -DHAVE_GETCWD=3D1 -DHAVE_OPENDIR=3D1 -DHAVE_STRSTR=3D1 -DHAVE_STRTOL=3D1 = -DHAVE_STRTOLL=3D1 -DHAVE_STRTOULL=3D1 -DHAVE_TMPNAM=3D1 -DHAVE_WAITPID=3D1 -DHAVE_UNISTD_H=3D1 = -DHAVE_SYS_PARAM_H=3D1 -DUSE_TERMIOS=3D1 -DHAVE_SYS_TIME_H=3D1 -DTIME_WITH_SYS_TIME=3D1 -DHAVE_TM_ZONE=3D1 = -DHAVE_GMTIME_R=3D1 -DHAVE_LOCALTIME_R=3D1 -DHAVE_TM_GMTOFF=3D1 -DHAVE_TIMEZONE_VAR=3D1 -DHAVE_ST_BLKSIZE=3D1 = -DSTDC_HEADERS=3D1 -DHAVE_SIGNED_CHAR=3D1 -DHAVE_LANGINFO=3D1 -DPEEK_XCLOSEIM=3D1 -DHAVE_SYS_IOCTL_H=3D1 = -D_REENTRANT -DTCL_MEM_DEBUG -I. -I/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native = -I/u/packages/tcl/tcl8.4.5/generic -I/usr/java/j2sdk1.4.2_09/include = -I/usr/java/j2sdk1.4.2_09/include/linux -fPIC /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c<o:p></o:= p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native= /javaObj.c: In function = `Java_tcl_lang_CObject_getString':<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native= /javaObj.c:477: warning: assignment from incompatible pointer = type<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native= /javaObj.c:501: invalid operands to binary –<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Is this a bug?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DRockwell><span = style=3D'font-size:10.0pt; font-family:Rockwell'>Yahalom Emet<br> Ashrait Team Leader</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DRockwell><span = style=3D'font-size:10.0pt; font-family:Rockwell'>Xor Technologies<br> phone: 04-6619166<br> fax: 04-6619054<br> e-mail: </span></font><a href=3D"mailto:yah...@xo..." title=3D"mailto:yah...@xo..."><font size=3D2 face=3DRockwell><span style=3D'font-size:10.0pt;font-family:Rockwell'>yah...@xo...</span>= </font></a><br> <font size=3D2 face=3DRockwell><span = style=3D'font-size:10.0pt;font-family:Rockwell'>web: </span></font><a href=3D"http://www.xortechnologies.com/" title=3D"http://www.xortechnologies.com"><font size=3D2 = face=3DRockwell><span style=3D'font-size:10.0pt;font-family:Rockwell'>http://www.xortechnologie= s.com</span></font></a><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_009C_01C5B908.955D16F0-- -- __--__-- Message: 2 Date: Wed, 14 Sep 2005 18:18:54 -0700 From: Mo DeJong <md...@un...> To: tcl...@li... Subject: Re: [tcljava-user] compiling tclBlend Organization: None Reply-To: tcl...@li... On Wed, 14 Sep 2005 08:44:55 +0200 "yahalome" <yah...@xo...> wrote: > I try to compile tclBlend but failed. This is the error I get: > gcc -c javaObj.c > > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c: In > function `Java_tcl_lang_CObject_getString': > > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: > warning: assignment from incompatible pointer type Humm, this seems to come from: jchar *buf; Tcl_UniChar *w; (447) w = buf; > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:501: > invalid operands to binary - (501) length = (w - buf); My guess here is that something about the declaration of the jchar type has changed in the JDK headers you have on your system. An old JDK install that I have on my linux box defines jchar like so: typedef unsigned short jchar; So, there would be no problem with pointer arith in this case. How is jchar defined in your j2sdk1.4.2_09 JDK on your linux box? Take a peek at jni.h or related include file in the JDK to find out. The Tcl Blend source may need to be updated to deal with this issue. I have never seen it before so I am 99% sure that it is an issue with the way JNI types are defined in this JDK release. cheers Mo DeJong -- __--__-- Message: 3 Date: Wed, 14 Sep 2005 18:49:14 -0700 From: Mo DeJong <md...@un...> To: tcl...@li... Cc: tcl...@li... Organization: None Subject: [tcljava-user] Itcl support added to Jacl! Reply-To: tcl...@li... This message is to announce the availability of a new Itcl port for Jacl. Jacl is a 100% pure version of the Tcl scripting language. Itcl is an object oriented extension for Tcl. Itcl users will now be able to run Itcl code directly in Jacl. The Itcl port was implemented by Mo DeJong as part of a Jacl support and maintenance contract. Itcl 3.2.1 was ported from its original C source code to Java source code. A version of Jacl that includes Itcl support is available via the Sourceforge CVS. It can be downloaded via CVS with the following commands: CVSROOT=:pserver:ano...@cv...:/cvsroot/tcljava cvs login (press enter at password prompt) cvs co tcljava Build and install Jacl in the normal way and then run "package require Itcl" to load Itcl commands into Jacl. This software was made possible thanks to: AMD New Iron Systems -- __--__-- _______________________________________________ tcljava-user mailing list tcl...@li... https://lists.sourceforge.net/lists/listinfo/tcljava-user End of tcljava-user Digest --__--__-- Message: 2 From: ke...@cr... (Kevin Kenny) Organization: Advanced Computing Technologies, GE Global Research Center To: tcl...@li... Subject: Re: [tcljava-user] compiling tclBlend Date: Thu, 15 Sep 2005 09:47:43 -0400 Reply-To: tcl...@li... md...@un... said: > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: > warning: assignment from incompatible pointer type > Humm, this seems to come from: > jchar *buf; > Tcl_UniChar *w; > (447) w = buf; This remonds me of some old problems. There was at least one Red Hat release where Red Hat (*not* the Tcl maintainers) gratuitously decided to change Tcl_UniChar to a 32-bit type. The change was not well tested (it made Tk leak memory like a sieve) and caused a good deal of grief on the affected systems. There still seem to be a fair number of them out there. The cure is either to rebuild Tcl/Tk from source or to install ActiveTcl and build against that - either of those approaches won't have the misdefinition of Tcl_UniChar. -- 73 de ke9tv/2, Kevin KENNY GE Corporate Research & Development ke...@cr... P. O. Box 8, Bldg. K-1, Rm. 5B36A Schenectady, New York 12301-0008 USA --__--__-- Message: 3 Date: Thu, 15 Sep 2005 18:35:15 -0700 From: Mo DeJong <md...@un...> To: tcl...@li... Subject: Re: [tcljava-user] compiling tclBlend Organization: None Reply-To: tcl...@li... On Thu, 15 Sep 2005 09:47:43 -0400 ke...@cr... (Kevin Kenny) wrote: > > md...@un... said: > > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: > > warning: assignment from incompatible pointer type > > Humm, this seems to come from: > > jchar *buf; > > Tcl_UniChar *w; > > (447) w = buf; > > This remonds me of some old problems. There was at least one Red Hat > release where Red Hat (*not* the Tcl maintainers) gratuitously decided > to change Tcl_UniChar to a 32-bit type. Well, I am not sure if that is the problem here but I did notice that the user was building with Tcl 8.4.5. You really should upgrade to Tcl 8.4.11 since that is the most recent version that Tcl Blend was tested with. If that does not do the trick, then could you find out what type Tcl_UniChar is getting set to so we can find out why the "w - buf" operator is failing to compile. Mo DeJong --__--__-- _______________________________________________ tcljava-user mailing list tcl...@li... https://lists.sourceforge.net/lists/listinfo/tcljava-user End of tcljava-user Digest |
From: Mo D. <md...@un...> - 2005-09-16 21:24:00
|
On Fri, 16 Sep 2005 04:41:37 -0700 (PDT) community help <hel...@ya...> wrote: > > Did installing "jaclsh" also fail with the same > > error or was it > > just the jaclsh.bat file that did not work? > jaclsh installed successfully. Well, that does help. > Here is the content of my jaclsh.bat: > -------------------- > @echo off > setlocal > > set JAVA=c:/j2sdk1.4.1/bin/java > set JAVA_FLAGS= -ms5m -mx22m > > set PREFIX=C:/msys/jacl1.3.2/NONE Ahh, this seems to be the problem. The prefix should not include "NONE" there at the end. How did you configure jacl? Could you post the exact configure command line you used? > My msys directory does not contain any directory of > name usr. Perhaps this is the problem as jacl tries to > install in /usr/local/bin? My guess here is that you configured jacl like so: ./configure make make install And the problem is showing up because the prefix is getting set to "NONE" instead of /usr/local which is what it would get set to by default. Does it work if you run configure like so: ./configure --prefix=/usr/local make make install If that fixes the problem, then it is clearly caused by the default --prefix value not getting setup correctly in the configure file. Could you let me know if that is the problem you were running into? thanks Mo DeJong |
From: community h. <hel...@ya...> - 2005-09-16 11:41:43
|
Hi, I reinstalled verything (in case i made a mistake while installing last time). By everything i mean java, msys and jacl. But the problem still persists. --- Mo DeJong <md...@un...> wrote: > On Thu, 8 Sep 2005 04:10:00 -0700 (PDT) > community help <hel...@ya...> wrote: > > > Hi, > > > > when i've run "make install" i had the following: > > ........ > > ......... > > ......... > > Installing jaclsh.bat in /usr/local/bin > > Exception in thread "main" > > java.lang.NoClassDefFoundError:tcl/lang/shell > > Did installing "jaclsh" also fail with the same > error or was it > just the jaclsh.bat file that did not work? Could > you take a > look at the generated jaclsh.bat file and see if > there is something > obviously wrong. The only thing I can think of is > that perhaps jaclsh installed successfully. Here is the content of my jaclsh.bat: -------------------- @echo off setlocal set JAVA=c:/j2sdk1.4.1/bin/java set JAVA_FLAGS= -ms5m -mx22m set PREFIX=C:/msys/jacl1.3.2/NONE set XP_TCLJAVA_INSTALL_DIR=%PREFIX%/lib/tcljava1.3.2 set CLASSPATH=%CLASSPATH%;%XP_TCLJAVA_INSTALL_DIR%/tcljava.jar set CLASSPATH=%CLASSPATH%;%XP_TCLJAVA_INSTALL_DIR%/jacl.jar %JAVA% %JAVA_FLAGS% tcl.lang.Shell %1 %2 %3 %4 %5 %6 %7 %8 %9 endlocal ------------------ > jacl.jar or tcljava.jar were generated incorrectly > and will not > load into the JVM. Could you try setting the > CLASSPATH to > include these jar files and then run "java > tcl.lang.Shell" by hand > to see if that works. Also, what OS and JVM Version > are you using? It didn't work. I'm using Windows XP, java1.4.1, msys_mingw8 and jacl1.3.2. My msys directory does not contain any directory of name usr. Perhaps this is the problem as jacl tries to install in /usr/local/bin? If the problem is my java version can you give me the version with which jacl works well? for the classpath i added a classpath variable to system variables and gave it a value of : c:\msys\jacl1.3.2\jacl, it didn't work then i added it to user variables and it didn't work too. Thank you for your help __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Mo D. <md...@un...> - 2005-09-16 01:32:30
|
On Thu, 15 Sep 2005 09:47:43 -0400 ke...@cr... (Kevin Kenny) wrote: > > md...@un... said: > > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: > > warning: assignment from incompatible pointer type > > Humm, this seems to come from: > > jchar *buf; > > Tcl_UniChar *w; > > (447) w = buf; > > This remonds me of some old problems. There was at least one Red Hat > release where Red Hat (*not* the Tcl maintainers) gratuitously decided > to change Tcl_UniChar to a 32-bit type. Well, I am not sure if that is the problem here but I did notice that the user was building with Tcl 8.4.5. You really should upgrade to Tcl 8.4.11 since that is the most recent version that Tcl Blend was tested with. If that does not do the trick, then could you find out what type Tcl_UniChar is getting set to so we can find out why the "w - buf" operator is failing to compile. Mo DeJong |
From: <ke...@cr...> - 2005-09-15 13:50:41
|
md...@un... said: > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: > warning: assignment from incompatible pointer type > Humm, this seems to come from: > jchar *buf; > Tcl_UniChar *w; > (447) w = buf; This remonds me of some old problems. There was at least one Red Hat release where Red Hat (*not* the Tcl maintainers) gratuitously decided to change Tcl_UniChar to a 32-bit type. The change was not well tested (it made Tk leak memory like a sieve) and caused a good deal of grief on the affected systems. There still seem to be a fair number of them out there. The cure is either to rebuild Tcl/Tk from source or to install ActiveTcl and build against that - either of those approaches won't have the misdefinition of Tcl_UniChar. -- 73 de ke9tv/2, Kevin KENNY GE Corporate Research & Development ke...@cr... P. O. Box 8, Bldg. K-1, Rm. 5B36A Schenectady, New York 12301-0008 USA |
From: yahalome <yah...@xo...> - 2005-09-15 04:55:34
|
I looked at jni.h and they define of jchar is the same: typedef unsigned short jchar; I do not think sun will change it without changing version as this seems to be a major change. Is there another idea? Yahalom Emet Ashrait Team Leader Xor Technologies phone: 04-6619166 fax: 04-6619054 e-mail: yah...@xo... web: http://www.xortechnologies.com -----Original Message----- From: tcl...@li... [mailto:tcl...@li...] On Behalf Of tcl...@li... Sent: Thursday, September 15, 2005 5:30 AM To: tcl...@li... Subject: tcljava-user digest, Vol 1 #316 - 3 msgs Send tcljava-user mailing list submissions to tcl...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/tcljava-user or, via email, send a message with subject or body 'help' to tcl...@li... You can reach the person managing the list at tcl...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of tcljava-user digest..." Today's Topics: 1. compiling tclBlend (yahalome) 2. Re: compiling tclBlend (Mo DeJong) 3. Itcl support added to Jacl! (Mo DeJong) --__--__-- Message: 1 From: "yahalome" <yah...@xo...> To: <tcl...@li...> Date: Wed, 14 Sep 2005 08:44:55 +0200 Subject: [tcljava-user] compiling tclBlend Reply-To: tcl...@li... This is a multi-part message in MIME format. ------=_NextPart_000_009C_01C5B908.955D16F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I try to compile tclBlend but failed. This is the error I get: gcc -pipe -c -g -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -D_REENTRANT -DTCL_MEM_DEBUG -I. -I/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native -I/u/packages/tcl/tcl8.4.5/generic -I/usr/java/j2sdk1.4.2_09/include -I/usr/java/j2sdk1.4.2_09/include/linux -fPIC /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c: In function `Java_tcl_lang_CObject_getString': /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: warning: assignment from incompatible pointer type /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:501: invalid operands to binary - Is this a bug? Yahalom Emet Ashrait Team Leader Xor Technologies phone: 04-6619166 fax: 04-6619054 e-mail: <mailto:yah...@xo...> yah...@xo... web: <http://www.xortechnologies.com/> http://www.xortechnologies.com ------=_NextPart_000_009C_01C5B908.955D16F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Rockwell; panose-1:2 6 6 3 2 2 5 2 4 3;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I try to compile tclBlend but failed. This is the = error I get:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>gcc -pipe -c -g -DHAVE_UNISTD_H=3D1 = -DHAVE_LIMITS_H=3D1 -D_LARGEFILE64_SOURCE=3D1 -DTCL_WIDE_INT_TYPE=3Dlong\ long -DHAVE_STRUCT_STAT64=3D1 = -DHAVE_TYPE_OFF64_T=3D1 -DHAVE_GETCWD=3D1 -DHAVE_OPENDIR=3D1 -DHAVE_STRSTR=3D1 -DHAVE_STRTOL=3D1 = -DHAVE_STRTOLL=3D1 -DHAVE_STRTOULL=3D1 -DHAVE_TMPNAM=3D1 -DHAVE_WAITPID=3D1 -DHAVE_UNISTD_H=3D1 = -DHAVE_SYS_PARAM_H=3D1 -DUSE_TERMIOS=3D1 -DHAVE_SYS_TIME_H=3D1 -DTIME_WITH_SYS_TIME=3D1 -DHAVE_TM_ZONE=3D1 = -DHAVE_GMTIME_R=3D1 -DHAVE_LOCALTIME_R=3D1 -DHAVE_TM_GMTOFF=3D1 -DHAVE_TIMEZONE_VAR=3D1 -DHAVE_ST_BLKSIZE=3D1 = -DSTDC_HEADERS=3D1 -DHAVE_SIGNED_CHAR=3D1 -DHAVE_LANGINFO=3D1 -DPEEK_XCLOSEIM=3D1 -DHAVE_SYS_IOCTL_H=3D1 = -D_REENTRANT -DTCL_MEM_DEBUG -I. -I/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native = -I/u/packages/tcl/tcl8.4.5/generic -I/usr/java/j2sdk1.4.2_09/include = -I/usr/java/j2sdk1.4.2_09/include/linux -fPIC /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c<o:p></o:= p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native= /javaObj.c: In function = `Java_tcl_lang_CObject_getString':<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native= /javaObj.c:477: warning: assignment from incompatible pointer = type<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native= /javaObj.c:501: invalid operands to binary –<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Is this a bug?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DRockwell><span = style=3D'font-size:10.0pt; font-family:Rockwell'>Yahalom Emet<br> Ashrait Team Leader</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D2 face=3DRockwell><span = style=3D'font-size:10.0pt; font-family:Rockwell'>Xor Technologies<br> phone: 04-6619166<br> fax: 04-6619054<br> e-mail: </span></font><a href=3D"mailto:yah...@xo..." title=3D"mailto:yah...@xo..."><font size=3D2 face=3DRockwell><span style=3D'font-size:10.0pt;font-family:Rockwell'>yah...@xo...</span>= </font></a><br> <font size=3D2 face=3DRockwell><span = style=3D'font-size:10.0pt;font-family:Rockwell'>web: </span></font><a href=3D"http://www.xortechnologies.com/" title=3D"http://www.xortechnologies.com"><font size=3D2 = face=3DRockwell><span style=3D'font-size:10.0pt;font-family:Rockwell'>http://www.xortechnologie= s.com</span></font></a><o:p></o:p></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> </div> </body> </html> ------=_NextPart_000_009C_01C5B908.955D16F0-- --__--__-- Message: 2 Date: Wed, 14 Sep 2005 18:18:54 -0700 From: Mo DeJong <md...@un...> To: tcl...@li... Subject: Re: [tcljava-user] compiling tclBlend Organization: None Reply-To: tcl...@li... On Wed, 14 Sep 2005 08:44:55 +0200 "yahalome" <yah...@xo...> wrote: > I try to compile tclBlend but failed. This is the error I get: > gcc -c javaObj.c > > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c: In > function `Java_tcl_lang_CObject_getString': > > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: > warning: assignment from incompatible pointer type Humm, this seems to come from: jchar *buf; Tcl_UniChar *w; (447) w = buf; > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:501: > invalid operands to binary - (501) length = (w - buf); My guess here is that something about the declaration of the jchar type has changed in the JDK headers you have on your system. An old JDK install that I have on my linux box defines jchar like so: typedef unsigned short jchar; So, there would be no problem with pointer arith in this case. How is jchar defined in your j2sdk1.4.2_09 JDK on your linux box? Take a peek at jni.h or related include file in the JDK to find out. The Tcl Blend source may need to be updated to deal with this issue. I have never seen it before so I am 99% sure that it is an issue with the way JNI types are defined in this JDK release. cheers Mo DeJong --__--__-- Message: 3 Date: Wed, 14 Sep 2005 18:49:14 -0700 From: Mo DeJong <md...@un...> To: tcl...@li... Cc: tcl...@li... Organization: None Subject: [tcljava-user] Itcl support added to Jacl! Reply-To: tcl...@li... This message is to announce the availability of a new Itcl port for Jacl. Jacl is a 100% pure version of the Tcl scripting language. Itcl is an object oriented extension for Tcl. Itcl users will now be able to run Itcl code directly in Jacl. The Itcl port was implemented by Mo DeJong as part of a Jacl support and maintenance contract. Itcl 3.2.1 was ported from its original C source code to Java source code. A version of Jacl that includes Itcl support is available via the Sourceforge CVS. It can be downloaded via CVS with the following commands: CVSROOT=:pserver:ano...@cv...:/cvsroot/tcljava cvs login (press enter at password prompt) cvs co tcljava Build and install Jacl in the normal way and then run "package require Itcl" to load Itcl commands into Jacl. This software was made possible thanks to: AMD New Iron Systems --__--__-- _______________________________________________ tcljava-user mailing list tcl...@li... https://lists.sourceforge.net/lists/listinfo/tcljava-user End of tcljava-user Digest |
From: Mo D. <md...@un...> - 2005-09-15 01:46:48
|
This message is to announce the availability of a new Itcl port for Jacl. Jacl is a 100% pure version of the Tcl scripting language. Itcl is an object oriented extension for Tcl. Itcl users will now be able to run Itcl code directly in Jacl. The Itcl port was implemented by Mo DeJong as part of a Jacl support and maintenance contract. Itcl 3.2.1 was ported from its original C source code to Java source code. A version of Jacl that includes Itcl support is available via the Sourceforge CVS. It can be downloaded via CVS with the following commands: CVSROOT=:pserver:ano...@cv...:/cvsroot/tcljava cvs login (press enter at password prompt) cvs co tcljava Build and install Jacl in the normal way and then run "package require Itcl" to load Itcl commands into Jacl. This software was made possible thanks to: AMD New Iron Systems |
From: Mo D. <md...@un...> - 2005-09-15 01:16:21
|
On Wed, 14 Sep 2005 08:44:55 +0200 "yahalome" <yah...@xo...> wrote: > I try to compile tclBlend but failed. This is the error I get: > gcc -c javaObj.c > > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c: In > function `Java_tcl_lang_CObject_getString': > > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: > warning: assignment from incompatible pointer type Humm, this seems to come from: jchar *buf; Tcl_UniChar *w; (447) w = buf; > /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:501: > invalid operands to binary - (501) length = (w - buf); My guess here is that something about the declaration of the jchar type has changed in the JDK headers you have on your system. An old JDK install that I have on my linux box defines jchar like so: typedef unsigned short jchar; So, there would be no problem with pointer arith in this case. How is jchar defined in your j2sdk1.4.2_09 JDK on your linux box? Take a peek at jni.h or related include file in the JDK to find out. The Tcl Blend source may need to be updated to deal with this issue. I have never seen it before so I am 99% sure that it is an issue with the way JNI types are defined in this JDK release. cheers Mo DeJong |
From: yahalome <yah...@xo...> - 2005-09-14 05:47:59
|
I try to compile tclBlend but failed. This is the error I get: gcc -pipe -c -g -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DPEEK_XCLOSEIM=1 -DHAVE_SYS_IOCTL_H=1 -D_REENTRANT -DTCL_MEM_DEBUG -I. -I/home/yahalom/compile/tclJava/tclBlend1.3.2/src/native -I/u/packages/tcl/tcl8.4.5/generic -I/usr/java/j2sdk1.4.2_09/include -I/usr/java/j2sdk1.4.2_09/include/linux -fPIC /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c: In function `Java_tcl_lang_CObject_getString': /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:477: warning: assignment from incompatible pointer type /home/yahalom/compile/tclJava/tclBlend1.3.2/src/native/javaObj.c:501: invalid operands to binary - Is this a bug? Yahalom Emet Ashrait Team Leader Xor Technologies phone: 04-6619166 fax: 04-6619054 e-mail: <mailto:yah...@xo...> yah...@xo... web: <http://www.xortechnologies.com/> http://www.xortechnologies.com |
From: Mo D. <md...@un...> - 2005-09-08 17:28:50
|
On Thu, 8 Sep 2005 04:10:00 -0700 (PDT) community help <hel...@ya...> wrote: > Hi, > > when i've run "make install" i had the following: > ........ > ......... > ......... > Installing jaclsh.bat in /usr/local/bin > Exception in thread "main" > java.lang.NoClassDefFoundError:tcl/lang/shell Did installing "jaclsh" also fail with the same error or was it just the jaclsh.bat file that did not work? Could you take a look at the generated jaclsh.bat file and see if there is something obviously wrong. The only thing I can think of is that perhaps jacl.jar or tcljava.jar were generated incorrectly and will not load into the JVM. Could you try setting the CLASSPATH to include these jar files and then run "java tcl.lang.Shell" by hand to see if that works. Also, what OS and JVM Version are you using? I hope that helps Mo DeJong |
From: community h. <hel...@ya...> - 2005-09-08 11:10:11
|
Hi, when i've run "make install" i had the following: ........ ......... ......... Installing jaclsh.bat in /usr/local/bin Exception in thread "main" java.lang.NoClassDefFoundError:tcl/lang/shell Instead of this error i can run the getting started example of using java variables in tcl. But i can't use tcl in java code. i tested a simple hello world containing "import tcl.lang.*;". the java compiler displays an error saying that it can't import tcl.lang.*. Thank you ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ |
From: Larry W. V. <lv...@ca...> - 2005-08-24 12:25:50
|
> So far, I've been able to build a tcl.lang Eclipse plug-in, however, I'm > working on a way for it to find the init.tcl file which I plan to > distribute with my RCP application. Well, in tcl/generic/tclInterp.c, I see this comment: /* * In order to find init.tcl during initialization, the following script * is invoked by Tcl_Init(). It looks in several different directories: * * $tcl_library - can specify a primary location, if set, no * other locations will be checked. This is * the recommended way for a program that * embeds Tcl to specifically tell Tcl where to * find an init.tcl file. * * $env(TCL_LIBRARY) - highest priority so user can always override * the search path unless the application has * specified an exact directory above * * $tclDefaultLibrary - INTERNAL: This variable is set by Tcl * on those platforms where it can determine at * runtime the directory where it expects the * init.tcl file to be. After [tclInit] reads * and uses this value, it [unset]s it. * External users of Tcl should not make use of * the variable to customize [tclInit]. * * $tcl_libPath - OBSOLETE: This variable is no longer * set by Tcl itself, but [tclInit] examines it * in case some program that embeds Tcl is * customizing [tclInit] by setting this * variable to a list of directories in which * to search. * * [tcl::pkgconfig get scriptdir,runtime] * - the directory determined by configure to be * the place where Tcl's script library is to * be installed. * * The first directory on this path that contains a valid init.tcl script * will be set as the value of tcl_library. * * Note that this entire search mechanism can be bypassed by defining an * alternate tclInit procedure before calling Tcl_Init(). */ Does that help? -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...><URL: http://www.purl.org/NET/lvirden/ > Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: <PFi...@hb...> - 2005-08-24 02:37:02
|
A bloke from CISCO (bsc...@ci...) posted a message on comp.lang.tcl on 01/05/2005 soliciting interest in an Eclipse Tcl plug-in. See link. May be of some use. Good luck. http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/62674bdc4389aaeb/016b0b0d1a7da792?lnk=st&q=group:*tcl*+author:patrick+author:finnegan&rnum=1&hl=en#016b0b0d1a7da792 Regards. PATRICK FINNEGAN. IBM WebSphere Consultant. HBF Web Master LDAP Administrator. PH: +61 (0)8 9265 6569 FX: +61 (0)8 9265 6380 MB: +61 (0)402 232619 Gregory Pierce <gp...@ls...> Sent by: tcl...@li... 24/08/2005 09:37 AM Please respond to tcl...@li... To tcl...@li... cc Subject Re: [tcljava-user] Creating an Eclipse plug-in for TclBlend Hi Patrick, I probably haven't been clear in what my application is doing. What I am writing is an Eclipse (Rich Client Platform) RCP application. This application will be writing in Eclipse Java and it will have a Tcl command shell. This command shell will be written using the Eclipse SWT StyleText widget. This command shell will call TclBlend's Java->Tcl classes. For example: Interp interp = new Interp(); interp.eval("puts hello"); ... The reason I don't want to use Jacl to provide a Tcl interface to my Java application is that I need to load Itcl because I have existing Tcl code that needs to run in this command shell which depends on Itcl. So far, I've been able to build a tcl.lang Eclipse plug-in, however, I'm working on a way for it to find the init.tcl file which I plan to distribute with my RCP application. BTW, I should note that I built TclBlend by statically linking in Tcl 8.4.11 using the .a file. This eliminates the need for my RCP application to locate and load the libtcl8.4.so file. Usually, there's always a way to do something. I'm well on my way to finding it. I was just hoping that someone on this user group might have some information that would help. Thanks, Greg Pierce Patrick Finnegan wrote: See my post on comp.lang.tcl re running JACL under RAD6/Eclipse. http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/3d26cccab289a00e/c59a217ca0bdd708?lnk=st&q=group:*tcl*+author:Patrick+author:Finnegan&rnum=2&hl=en#c59a217ca0bdd708 In my opinion developing an Eclipse plugin for TclBlend is rather pointless as TclBlend is architected to connect to a JVM rather than run inside a JVM. It's designed to expose the Java system libraries for use in a dynamic language environment. Mo may correct me but AFAIK you cannot write native Java under TclBlend so you can't debug under Eclipse. I use TclBlend to implement system monitoring scripts for MQ Series and DB2 using the JDK and IBM supplied Java API libraries. Since TclBlend is certified to work with only a certain release of JAVA we compile TclBlend on Windows against the appropriate JDK and bundle that JDK with the distro so TclBlend always knows the location of the JDK. The Sun JDK licence allows JDK re-distribution with applications. The directory structure looks like: D:\tclBlend D:\tclBlend\JDK142 D:\tclBlend\lib D:\tclBlend\bin We drop any required tcl packages in the lib directory and ship these as well. We compile TclBlend on Windows XP and deploy to Windows 2003 server with no issues. On Win2k TclBlend is called from a bat file "jtclsh.bat" that sets up the env vars. I created a tcl script "tclblend.tcl" to set the required env vars then starpacked it using the "set base $starkit::topdir" to locate the installation directory and from there the relative location of the JDK. Tclblend.exe calls tclsh.exe which locates the JDK in the same sub-directory of the installation directory regardless of where TclBlend is installed. Eclipse may be useful if someone writes a Tcl editor/debug plugin that can switch from Tcl to the java editor/debugger when TclBlend calls a java class or method. Otherwise stick with SourceNav. =================================================== HBF Health Funds Inc. a registered organisation under the National Health Act HBF Insurance Pty Ltd ACN 009 268 277 This email is a confidential communication intended only for the named Addressee(s). If you are not that person any disclosure, copying, distribution or use of this email or the information in it is prohibited. Please notify us immediately by telephone, (+61) 08 9265 6111 or return email and delete this email. The views in this email may be personal to the author and not those of HBF. |
From: <PFi...@hb...> - 2005-08-24 02:30:00
|
Send plain text instead of html email. Regards. PATRICK FINNEGAN. IBM WebSphere Consultant. HBF Web Master LDAP Administrator. PH: +61 (0)8 9265 6569 FX: +61 (0)8 9265 6380 MB: +61 (0)402 232619 =================================================== HBF Health Funds Inc. a registered organisation under the National Health Act HBF Insurance Pty Ltd ACN 009 268 277 This email is a confidential communication intended only for the named Addressee(s). If you are not that person any disclosure, copying, distribution or use of this email or the information in it is prohibited. Please notify us immediately by telephone, (+61) 08 9265 6111 or return email and delete this email. The views in this email may be personal to the author and not those of HBF. |
From: Gregory P. <gp...@ls...> - 2005-08-24 01:37:10
|
Hi Patrick, I probably haven't been clear in what my application is doing. What I am writing is an Eclipse (Rich Client Platform) RCP application. This application will be writing in Eclipse Java and it will have a Tcl command shell. This command shell will be written using the Eclipse SWT StyleText widget. This command shell will call TclBlend's Java->Tcl classes. For example: Interp interp = new Interp(); interp.eval("puts hello"); ... The reason I don't want to use Jacl to provide a Tcl interface to my Java application is that I need to load Itcl because I have existing Tcl code that needs to run in this command shell which depends on Itcl. So far, I've been able to build a tcl.lang Eclipse plug-in, however, I'm working on a way for it to find the init.tcl file which I plan to distribute with my RCP application. BTW, I should note that I built TclBlend by statically linking in Tcl 8.4.11 using the .a file. This eliminates the need for my RCP application to locate and load the libtcl8.4.so file. Usually, there's always a way to do something. I'm well on my way to finding it. I was just hoping that someone on this user group might have some information that would help. Thanks, Greg Pierce Patrick Finnegan wrote: > See my post on comp.lang.tcl re running JACL under RAD6/Eclipse. > > http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/3d26cccab289a00e/c59a217ca0bdd708?lnk=st&q=group:*tcl*+author:Patrick+author:Finnegan&rnum=2&hl=en#c59a217ca0bdd708 > > In my opinion developing an Eclipse plugin for TclBlend is rather > pointless as TclBlend is architected to connect to a JVM rather than > run inside a JVM. It's designed to expose the Java system libraries > for use in a dynamic language environment. Mo may correct me but > AFAIK you cannot write native Java under TclBlend so you can't debug > under Eclipse. > > I use TclBlend to implement system monitoring scripts for MQ Series > and DB2 using the JDK and IBM supplied Java API libraries. Since > TclBlend is certified to work with only a certain release of JAVA we > compile TclBlend on Windows against the appropriate JDK and bundle > that JDK with the distro so TclBlend always knows the location of the > JDK. The Sun JDK licence allows JDK re-distribution with applications. > > The directory structure looks like: > > D:\tclBlend > D:\tclBlend\JDK142 > D:\tclBlend\lib > D:\tclBlend\bin > > We drop any required tcl packages in the lib directory and ship these > as well. We compile TclBlend on Windows XP and deploy to Windows 2003 > server with no issues. On Win2k TclBlend is called from a bat file > "jtclsh.bat" that sets up the env vars. I created a tcl script > "tclblend.tcl" to set the required env vars then starpacked it using > the "set base $starkit::topdir" to locate the installation directory > and from there the relative location of the JDK. Tclblend.exe calls > tclsh.exe which locates the JDK in the same sub-directory of the > installation directory regardless of where TclBlend is installed. > > Eclipse may be useful if someone writes a Tcl editor/debug plugin that > can switch from Tcl to the java editor/debugger when TclBlend calls a > java class or method. Otherwise stick with SourceNav. > |
From: Patrick F. <pfi...@oz...> - 2005-08-23 14:32:05
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> wrote:<br> <blockquote cite="mid...@sc..." type="cite"> <pre wrap="">Send tcljava-user mailing list submissions to <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> To subscribe or unsubscribe via the World Wide Web, visit <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tcljava-user">https://lists.sourceforge.net/lists/listinfo/tcljava-user</a> or, via email, send a message with subject or body 'help' to <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> You can reach the person managing the list at <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> When replying, please edit your Subject line so it is more specific than "Re: Contents of tcljava-user digest..." Today's Topics: 1. Creating an Eclipse plug-in for TclBlend (Gregory Pierce) 2. Re: Creating an Eclipse plug-in for TclBlend (Mo DeJong) 3. Re: Creating an Eclipse plug-in for TclBlend (Gregory Pierce) 4. R: [tcljava-user] Creating an Eclipse plug-in for TclBlend (Luca) --__--__-- Message: 1 Date: Mon, 22 Aug 2005 12:49:30 -0400 From: Gregory Pierce <a class="moz-txt-link-rfc2396E" href="mailto:gp...@ls..."><gp...@ls...></a> Organization: LSI Loigic Corp. To: TclJava-User <a class="moz-txt-link-rfc2396E" href="mailto:tcl...@li..."><tcl...@li...></a> Subject: [tcljava-user] Creating an Eclipse plug-in for TclBlend Reply-To: <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> Hi, Does anyone know how I could create an Eclipse plug-in for TclBlend? I would want this plug-in to contain any required native shared libraries so that I could send this plug-in to anyone and they could use it without having to build and install Tcl on their system first. Thanks, Greg --__--__-- Message: 2 Date: Mon, 22 Aug 2005 11:55:18 -0700 From: Mo DeJong <a class="moz-txt-link-rfc2396E" href="mailto:md...@un..."><md...@un...></a> To: <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> Cc: <a class="moz-txt-link-abbreviated" href="mailto:gp...@ls...">gp...@ls...</a> Subject: Re: [tcljava-user] Creating an Eclipse plug-in for TclBlend Organization: None Reply-To: <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> On Mon, 22 Aug 2005 12:49:30 -0400 Gregory Pierce <a class="moz-txt-link-rfc2396E" href="mailto:gp...@ls..."><gp...@ls...></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, Does anyone know how I could create an Eclipse plug-in for TclBlend? I would want this plug-in to contain any required native shared libraries so that I could send this plug-in to anyone and they could use it without having to build and install Tcl on their system first. </pre> </blockquote> <pre wrap=""><!----> Really hard to do. You could build Tcl and Tcl Blend and zip up the install tree but the trouble is that Tcl Blend depends on runtime env vars to find the JDK that it is linked to. At runtime, it needs to find jvm.dll and that means the PATH has to be searched. If you knew the JVM location or the PATH that jvm dlls were found on, then you might be able to do it. The trick will be getting all the env vars setup correctly when the JVM process starts. The process under Unix is the same except that you set LD_LIBRARY_PATH instead of PATH (for Win32). You would have a much easier time setting up a Jacl plugin since all that is needed is to add tcljava.jar and jacl.jar to the CLASSPATH. cheers Mo DeJong --__--__-- Message: 3 Date: Mon, 22 Aug 2005 15:28:34 -0400 From: Gregory Pierce <a class="moz-txt-link-rfc2396E" href="mailto:gp...@ls..."><gp...@ls...></a> Organization: LSI Loigic Corp. To: <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> Subject: Re: [tcljava-user] Creating an Eclipse plug-in for TclBlend Reply-To: <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> This is a multi-part message in MIME format. --------------000507060203030102060805 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Mo, Thanks for the reply. I need to use TclBlend because I have pre-existing Tcl code that uses Itcl and some other Tcl packages. I'm also guessing that TclBlend would be faster since it uses JNI. In order to run Eclipse the user needs to have JRE installed on their system. Is this enough information to get TclBlend to work? Currently, I'm able to set to env variables setenv TCL_LIBRARY /a/b/c/lib/tcl8.4 where: /a/b/c/lib contains libtcl8.4.so and setenv LD_LIBRARY_PATH /a/b/c/lib where: /a/b/c/lib contains libtclblend.so However, I'm not sure how to set these environment variables within an Eclipse plug-in. Greg Mo DeJong wrote: </pre> <blockquote type="cite"> <pre wrap="">On Mon, 22 Aug 2005 12:49:30 -0400 Gregory Pierce <a class="moz-txt-link-rfc2396E" href="mailto:gp...@ls..."><gp...@ls...></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, Does anyone know how I could create an Eclipse plug-in for TclBlend? I would want this plug-in to contain any required native shared libraries so that I could send this plug-in to anyone and they could use it without having to build and install Tcl on their system first. </pre> </blockquote> <pre wrap="">Really hard to do. You could build Tcl and Tcl Blend and zip up the install tree but the trouble is that Tcl Blend depends on runtime env vars to find the JDK that it is linked to. At runtime, it needs to find jvm.dll and that means the PATH has to be searched. If you knew the JVM location or the PATH that jvm dlls were found on, then you might be able to do it. The trick will be getting all the env vars setup correctly when the JVM process starts. The process under Unix is the same except that you set LD_LIBRARY_PATH instead of PATH (for Win32). You would have a much easier time setting up a Jacl plugin since all that is needed is to add tcljava.jar and jacl.jar to the CLASSPATH. cheers Mo DeJong ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * <a class="moz-txt-link-freetext" href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a> _______________________________________________ tcljava-user mailing list <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tcljava-user">https://lists.sourceforge.net/lists/listinfo/tcljava-user</a> </pre> </blockquote> <pre wrap=""><!----> --------------000507060203030102060805 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <title></title> </head> <body text="#000000" bgcolor="#ffffff"> Hi Mo,<br> <br> Thanks for the reply. I need to use TclBlend because I have pre-existing Tcl<br> code that uses Itcl and some other Tcl packages. I'm also guessing that TclBlend<br> would be faster since it uses JNI.<br> <br> In order to run Eclipse the user needs to have JRE installed on their system. Is this<br> enough information to get TclBlend to work? Currently, I'm able to set to env variables<br> <br> setenv TCL_LIBRARY /a/b/c/lib/tcl8.4&nbsp;&nbsp; where: /a/b/c/lib contains libtcl8.4.so<br> and<br> setenv LD_LIBRARY_PATH /a/b/c/lib&nbsp;&nbsp; where: /a/b/c/lib contains libtclblend.so<br> <br> However, I'm not sure how to set these environment variables within an Eclipse plug-in.<br> <br> Greg<br> <br> Mo DeJong wrote:<br> <blockquote type="cite" cite=<a class="moz-txt-link-rfc2396E" href="mailto:mid...@un...">"mid...@un..."</a>> <pre wrap="">On Mon, 22 Aug 2005 12:49:30 -0400 Gregory Pierce <a class="moz-txt-link-rfc2396E" href=<a class="moz-txt-link-rfc2396E" href="mailto:gp...@ls...">"mailto:gp...@ls..."</a>>&lt;gp...@ls...&gt;</a> wrote: </pre> <blockquote type="cite"> <pre wrap="">Hi, Does anyone know how I could create an Eclipse plug-in for TclBlend? I would want this plug-in to contain any required native shared libraries so that I could send this plug-in to anyone and they could use it without having to build and install Tcl on their system first. </pre> </blockquote> <pre wrap=""><!----> Really hard to do. You could build Tcl and Tcl Blend and zip up the install tree but the trouble is that Tcl Blend depends on runtime env vars to find the JDK that it is linked to. At runtime, it needs to find jvm.dll and that means the PATH has to be searched. If you knew the JVM location or the PATH that jvm dlls were found on, then you might be able to do it. The trick will be getting all the env vars setup correctly when the JVM process starts. The process under Unix is the same except that you set LD_LIBRARY_PATH instead of PATH (for Win32). You would have a much easier time setting up a Jacl plugin since all that is needed is to add tcljava.jar and jacl.jar to the CLASSPATH. cheers Mo DeJong ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference &amp; EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile &amp; Plan-Driven Development * Managing Projects &amp; Teams * Testing &amp; QA Security * Process Improvement &amp; Measurement * <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="http://www.sqe.com/bsce5sf">"http://www.sqe.com/bsce5sf"</a>><a class="moz-txt-link-freetext" href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a></a> _______________________________________________ tcljava-user mailing list <a class="moz-txt-link-abbreviated" href=<a class="moz-txt-link-rfc2396E" href="mailto:tcl...@li...">"mailto:tcl...@li..."</a>><a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a></a> <a class="moz-txt-link-freetext" href=<a class="moz-txt-link-rfc2396E" href="https://lists.sourceforge.net/lists/listinfo/tcljava-user">"https://lists.sourceforge.net/lists/listinfo/tcljava-user"</a>><a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tcljava-user">https://lists.sourceforge.net/lists/listinfo/tcljava-user</a></a> </pre> </blockquote> </body> </html> --------------000507060203030102060805-- --__--__-- Message: 4 From: "Luca" <a class="moz-txt-link-rfc2396E" href="mailto:luc...@al..."><luc...@al...></a> To: <a class="moz-txt-link-rfc2396E" href="mailto:tcl...@li..."><tcl...@li...></a> Subject: R: [tcljava-user] Creating an Eclipse plug-in for TclBlend Date: Mon, 22 Aug 2005 21:43:19 +0200 Reply-To: <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> This is a multi-part message in MIME format. ------=_NextPart_000_0017_01C5A762.832DAF10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Unsubscribe =20 _____ =20 Da: <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> [<a class="moz-txt-link-freetext" href="mailto:tcl...@li...">mailto:tcl...@li...</a>] Per conto di Gregory Pierce Inviato: luned=EC 22 agosto 2005 21.29 A: <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> Oggetto: Re: [tcljava-user] Creating an Eclipse plug-in for TclBlend =20 Hi Mo, Thanks for the reply. I need to use TclBlend because I have pre-existing = Tcl code that uses Itcl and some other Tcl packages. I'm also guessing that TclBlend would be faster since it uses JNI. In order to run Eclipse the user needs to have JRE installed on their system. Is this enough information to get TclBlend to work? Currently, I'm able to set = to env variables setenv TCL_LIBRARY /a/b/c/lib/tcl8.4 where: /a/b/c/lib contains libtcl8.4.so and setenv LD_LIBRARY_PATH /a/b/c/lib where: /a/b/c/lib contains libtclblend.so However, I'm not sure how to set these environment variables within an Eclipse plug-in. Greg Mo DeJong wrote: On Mon, 22 Aug 2005 12:49:30 -0400 Gregory Pierce <a class="moz-txt-link-rfc2396E" href="mailto:gp...@ls..."><mailto:gp...@ls...></a> <a class="moz-txt-link-rfc2396E" href="mailto:gp...@ls..."><gp...@ls...></a> wrote: =20 =20 Hi, =20 Does anyone know how I could create an Eclipse plug-in for TclBlend? I would want this plug-in to contain any required native shared=20 libraries so that I could send this plug-in to anyone and they could use it without having = to build and install Tcl on their system first. =20 =20 Really hard to do. You could build Tcl and Tcl Blend and zip up the install tree but the trouble is that Tcl Blend depends on runtime env vars to find the JDK that it is linked to. At runtime, it needs to find jvm.dll and that means the PATH has to be searched. If you knew the JVM location or the PATH that jvm dlls were found on, then you might be able to do it. The trick will be getting all the env vars setup correctly when the JVM process starts. The process under Unix is the same except that you set LD_LIBRARY_PATH instead of PATH (for Win32). =20 You would have a much easier time setting up a Jacl plugin since all that is needed is to add tcljava.jar and jacl.jar to the CLASSPATH. =20 cheers Mo DeJong =20 =20 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle = Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & = QA Security * Process Improvement & Measurement * = <a class="moz-txt-link-freetext" href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a> _______________________________________________ tcljava-user mailing list <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tcljava-user">https://lists.sourceforge.net/lists/listinfo/tcljava-user</a> =20 =20 =20 ------=_NextPart_000_0017_01C5A762.832DAF10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3DISO-8859-1"> <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/TR/REC-html40">"http://www.w3.org/TR/REC-html40"</a>> <head> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = name=3D"PersonName"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman"; color:black;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} pre {margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New"; color:black;} span.StileMessaggioDiPostaElettronica18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:595.3pt 841.9pt; margin:70.85pt 2.0cm 2.0cm 2.0cm;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body bgcolor=3Dwhite lang=3DIT link=3Dblue vlink=3Dblue> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'>Unsubscribe<o:p></o:p></span></font>= </p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font = size=3D3 color=3Dblack face=3D"Times New Roman"><span = style=3D'font-size:12.0pt;color:windowtext'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 color=3Dblack face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight= :bold'>Da:</span></font></b><font size=3D2 color=3Dblack face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma; color:windowtext'> <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> [<a class="moz-txt-link-freetext" href="mailto:tcl...@li...">mailto:tcl...@li...</a>] <b><span = style=3D'font-weight: bold'>Per conto di </span></b>Gregory Pierce<br> <b><span style=3D'font-weight:bold'>Inviato:</span></b> luned&igrave; 22 = agosto 2005 21.29<br> <b><span style=3D'font-weight:bold'>A:</span></b> <st1:PersonName = w:st=3D"on"><a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a></st1:PersonName><br> <b><span style=3D'font-weight:bold'>Oggetto:</span></b> Re: = [tcljava-user] Creating an Eclipse plug-in for TclBlend</span></font><font = color=3Dblack><span style=3D'color:windowtext'><o:p></o:p></span></font></p> </div> <p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New = Roman"><span style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 color=3Dblack face=3D"Times New = Roman"><span style=3D'font-size:12.0pt'>Hi Mo,<br> <br> Thanks for the reply. I need to use TclBlend because I have pre-existing = Tcl<br> code that uses Itcl and some other Tcl packages. I'm also guessing that TclBlend<br> would be faster since it uses JNI.<br> <br> In order to run Eclipse the user needs to have JRE installed on their = system. Is this<br> enough information to get TclBlend to work? Currently, I'm able to set = to env variables<br> <br> setenv TCL_LIBRARY /a/b/c/lib/tcl8.4&nbsp;&nbsp; where: /a/b/c/lib = contains libtcl8.4.so<br> and<br> setenv LD_LIBRARY_PATH /a/b/c/lib&nbsp;&nbsp; where: /a/b/c/lib contains libtclblend.so<br> <br> However, I'm not sure how to set these environment variables within an = Eclipse plug-in.<br> <br> Greg<br> <br> Mo DeJong wrote:<br> <br> <o:p></o:p></span></font></p> <pre wrap=3D""><font size=3D2 color=3Dblack face=3D"Courier New"><span style=3D'font-size:10.0pt'>On Mon, 22 Aug 2005 12:49:30 = -0400<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>Gregory Pierce <a href=3D<a class="moz-txt-link-rfc2396E" href="mailto:gp...@ls...">"mailto:gp...@ls..."</a>>&lt;gp...@ls...&gt;</a> = wrote:<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>&nbsp; <o:p></o:p></span></font></pre> <blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt' = type=3Dcite><pre wrap=3D""><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>Hi,<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>Does anyone know how I could create an = Eclipse plug-in for TclBlend?<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>I would want this plug-in to contain any = required native shared <o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>libraries so = that<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>I could send this plug-in to anyone and they = could use it without having <o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>to = build<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>and install Tcl on their system = first.<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp; = <o:p></o:p></span></font></pre></blockquote> <pre wrap=3D""><font size=3D2 color=3Dblack face=3D"Courier New"><span style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>Really hard to do. You could build Tcl and = Tcl Blend and zip up the<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>install tree but the trouble is that Tcl = Blend depends on runtime<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>env vars to find the JDK that it is linked = to. At runtime, it needs to<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>find jvm.dll and that means the PATH has to = be searched. If you<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>knew the JVM location or the PATH that jvm = dlls were found on,<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>then you might be able to do it. The trick = will be getting all the<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>env vars setup correctly when the JVM process = starts. The process<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>under Unix is the same except that you set = LD_LIBRARY_PATH instead<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>of PATH (for = Win32).<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>You would have a much easier time setting up = a Jacl plugin since<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>all that is needed is to add tcljava.jar and = jacl.jar to the CLASSPATH.<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>cheers<o:p></o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>Mo = DeJong<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>----------------------------------------------= ---------<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>SF.Net email is Sponsored by the Better = Software Conference &amp; EXPO<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>September 19-22, 2005 * San Francisco, CA * = Development Lifecycle Practices<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>Agile &amp; Plan-Driven Development * = Managing Projects &amp; Teams * Testing &amp; = QA<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>Security * Process Improvement &amp; = Measurement * <a href=3D<a class="moz-txt-link-rfc2396E" href="http://www.sqe.com/bsce5sf">"http://www.sqe.com/bsce5sf"</a>><a class="moz-txt-link-freetext" href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a></a><o:p></= o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>______________________________________________= _<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>tcljava-user mailing = list<o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><a href=3D<a class="moz-txt-link-rfc2396E" href="mailto:tcl...@li...">"mailto:tcl...@li..."</a>><a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...u=">tcl...@li...u=</a> rceforge.net</a><o:p></o:p></span></font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><a href=3D<a class="moz-txt-link-rfc2396E" href="https://lists.sourceforge.net/lists/listinfo/tcljava-user">"https://lists.sourceforge.net/lists/listinfo/tcljava-user"</a>><a class="moz-txt-link-freetext" href="https:=">https:=</a> //lists.sourceforge.net/lists/listinfo/tcljava-user</a><o:p></o:p></span>= </font></pre><pre><font size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></pre><pre><fon= t size=3D2 color=3Dblack face=3D"Courier New"><span = style=3D'font-size:10.0pt'>&nbsp; <o:p></o:p></span></font></pre></div> </body> </html> ------=_NextPart_000_0017_01C5A762.832DAF10-- --__--__-- _______________________________________________ tcljava-user mailing list <a class="moz-txt-link-abbreviated" href="mailto:tcl...@li...">tcl...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/tcljava-user">https://lists.sourceforge.net/lists/listinfo/tcljava-user</a> End of tcljava-user Digest </pre> </blockquote> See my post on comp.lang.tcl re running JACL under RAD6/Eclipse.<br> <br> <a class="moz-txt-link-freetext" href="http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/3d26cccab289a00e/c59a217ca0bdd708?lnk=st&q=group:*tcl*+author:Patrick+author:Finnegan&rnum=2&hl=en#c59a217ca0bdd708">http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/3d26cccab289a00e/c59a217ca0bdd708?lnk=st&q=group:*tcl*+author:Patrick+author:Finnegan&rnum=2&hl=en#c59a217ca0bdd708</a><br> <br> In my opinion developing an Eclipse plugin for TclBlend is rather pointless as TclBlend is architected to connect to a JVM rather than run inside a JVM. It's designed to expose the Java system libraries for use in a dynamic language environment. Mo may correct me but AFAIK you cannot write native Java under TclBlend so you can't debug under Eclipse. <br> <br> I use TclBlend to implement system monitoring scripts for MQ Series and DB2 using the JDK and IBM supplied Java API libraries. Since TclBlend is certified to work with only a certain release of JAVA we compile TclBlend on Windows against the appropriate JDK and bundle that JDK with the distro so TclBlend always knows the location of the JDK. The Sun JDK licence allows JDK re-distribution with applications.<br> <br> The directory structure looks like:<br> <br> D:\tclBlend<br> D:\tclBlend\JDK142<br> D:\tclBlend\lib<br> D:\tclBlend\bin<br> <br> We drop any required tcl packages in the lib directory and ship these as well. We compile TclBlend on Windows XP and deploy to Windows 2003 server with no issues. On Win2k TclBlend is called from a bat file "jtclsh.bat" that sets up the env vars. I created a tcl script "tclblend.tcl" to set the required env vars then starpacked it using the "set base $starkit::topdir" to locate the installation directory and from there the relative location of the JDK. Tclblend.exe calls tclsh.exe which locates the JDK in the same sub-directory of the installation directory regardless of where TclBlend is installed. <br> <br> Eclipse may be useful if someone writes a Tcl editor/debug plugin that can switch from Tcl to the java editor/debugger when TclBlend calls a java class or method. Otherwise stick with SourceNav.<br> <br> </body> </html> |
From: Luca <luc...@al...> - 2005-08-22 19:43:36
|
Unsubscribe =20 _____ =20 Da: tcl...@li... [mailto:tcl...@li...] Per conto di Gregory Pierce Inviato: luned=EC 22 agosto 2005 21.29 A: tcl...@li... Oggetto: Re: [tcljava-user] Creating an Eclipse plug-in for TclBlend =20 Hi Mo, Thanks for the reply. I need to use TclBlend because I have pre-existing = Tcl code that uses Itcl and some other Tcl packages. I'm also guessing that TclBlend would be faster since it uses JNI. In order to run Eclipse the user needs to have JRE installed on their system. Is this enough information to get TclBlend to work? Currently, I'm able to set = to env variables setenv TCL_LIBRARY /a/b/c/lib/tcl8.4 where: /a/b/c/lib contains libtcl8.4.so and setenv LD_LIBRARY_PATH /a/b/c/lib where: /a/b/c/lib contains libtclblend.so However, I'm not sure how to set these environment variables within an Eclipse plug-in. Greg Mo DeJong wrote: On Mon, 22 Aug 2005 12:49:30 -0400 Gregory Pierce <mailto:gp...@ls...> <gp...@ls...> wrote: =20 =20 Hi, =20 Does anyone know how I could create an Eclipse plug-in for TclBlend? I would want this plug-in to contain any required native shared=20 libraries so that I could send this plug-in to anyone and they could use it without having = to build and install Tcl on their system first. =20 =20 Really hard to do. You could build Tcl and Tcl Blend and zip up the install tree but the trouble is that Tcl Blend depends on runtime env vars to find the JDK that it is linked to. At runtime, it needs to find jvm.dll and that means the PATH has to be searched. If you knew the JVM location or the PATH that jvm dlls were found on, then you might be able to do it. The trick will be getting all the env vars setup correctly when the JVM process starts. The process under Unix is the same except that you set LD_LIBRARY_PATH instead of PATH (for Win32). =20 You would have a much easier time setting up a Jacl plugin since all that is needed is to add tcljava.jar and jacl.jar to the CLASSPATH. =20 cheers Mo DeJong =20 =20 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle = Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & = QA Security * Process Improvement & Measurement * = http://www.sqe.com/bsce5sf _______________________________________________ tcljava-user mailing list tcl...@li... https://lists.sourceforge.net/lists/listinfo/tcljava-user =20 =20 =20 |
From: Gregory P. <gp...@ls...> - 2005-08-22 19:28:42
|
Hi Mo, Thanks for the reply. I need to use TclBlend because I have pre-existing Tcl code that uses Itcl and some other Tcl packages. I'm also guessing that TclBlend would be faster since it uses JNI. In order to run Eclipse the user needs to have JRE installed on their system. Is this enough information to get TclBlend to work? Currently, I'm able to set to env variables setenv TCL_LIBRARY /a/b/c/lib/tcl8.4 where: /a/b/c/lib contains libtcl8.4.so and setenv LD_LIBRARY_PATH /a/b/c/lib where: /a/b/c/lib contains libtclblend.so However, I'm not sure how to set these environment variables within an Eclipse plug-in. Greg Mo DeJong wrote: >On Mon, 22 Aug 2005 12:49:30 -0400 >Gregory Pierce <gp...@ls...> wrote: > > > >>Hi, >> >>Does anyone know how I could create an Eclipse plug-in for TclBlend? >>I would want this plug-in to contain any required native shared >>libraries so that >>I could send this plug-in to anyone and they could use it without having >>to build >>and install Tcl on their system first. >> >> > >Really hard to do. You could build Tcl and Tcl Blend and zip up the >install tree but the trouble is that Tcl Blend depends on runtime >env vars to find the JDK that it is linked to. At runtime, it needs to >find jvm.dll and that means the PATH has to be searched. If you >knew the JVM location or the PATH that jvm dlls were found on, >then you might be able to do it. The trick will be getting all the >env vars setup correctly when the JVM process starts. The process >under Unix is the same except that you set LD_LIBRARY_PATH instead >of PATH (for Win32). > >You would have a much easier time setting up a Jacl plugin since >all that is needed is to add tcljava.jar and jacl.jar to the CLASSPATH. > >cheers >Mo DeJong > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >tcljava-user mailing list >tcl...@li... >https://lists.sourceforge.net/lists/listinfo/tcljava-user > > > > |
From: Mo D. <md...@un...> - 2005-08-22 18:58:35
|
On Mon, 22 Aug 2005 12:49:30 -0400 Gregory Pierce <gp...@ls...> wrote: > Hi, > > Does anyone know how I could create an Eclipse plug-in for TclBlend? > I would want this plug-in to contain any required native shared > libraries so that > I could send this plug-in to anyone and they could use it without having > to build > and install Tcl on their system first. Really hard to do. You could build Tcl and Tcl Blend and zip up the install tree but the trouble is that Tcl Blend depends on runtime env vars to find the JDK that it is linked to. At runtime, it needs to find jvm.dll and that means the PATH has to be searched. If you knew the JVM location or the PATH that jvm dlls were found on, then you might be able to do it. The trick will be getting all the env vars setup correctly when the JVM process starts. The process under Unix is the same except that you set LD_LIBRARY_PATH instead of PATH (for Win32). You would have a much easier time setting up a Jacl plugin since all that is needed is to add tcljava.jar and jacl.jar to the CLASSPATH. cheers Mo DeJong |