tcljava-user Mailing List for Tcl/Java (Page 19)
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: Tom P. <tpo...@ny...> - 2007-01-12 22:00:19
|
On Sat, Jan 13, 2007 at 12:45:42AM +0500, Imran Saleem wrote: > how to learn tcl language For a good starter in programming with Tcl: http://en.wikipedia.org/wiki/Tcl -- Tom Poindexter tpo...@ny... |
From: Imran S. <isa...@gm...> - 2007-01-12 19:48:18
|
On 1/13/07, Imran Saleem <isa...@gm...> wrote: > > Hi > plz tell me how to made model of Differentiated services and integrated > services of ip packet in tcl > thanks > > > On 1/12/07, rahul <Rah...@su...> wrote: > > > > [Pham Ngoc Khanh:] > > | script: contain scripts (Tcl file) > > | scr: contain Java file > > ================= > > | package com; > > | public class TestCommand implements tcl.lang.Command { > > | public void cmdProc(...) {...} > > | } > > ================= > > | package com; > > | > > | public class TestCommandExtension implements > > | tcl.lang.Extension { > > | public void init(...) { > > | // create a TestCommand > > | } > > | } > > | > > | How to load TestCommandExtsion from script store in > > | script folder as i mention above with this situation ? > > | (I'm using Windows XP) > > =============== > > # do this.... > > package require java > > > > java::load -classpath {../scr} com.TestCommandExtension > > =============== > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys - and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > tcljava-user mailing list > > tcl...@li... > > https://lists.sourceforge.net/lists/listinfo/tcljava-user > > > > > > -- > With Regards: > > Imran > ------ -- With Regards: Imran ------ |
From: Imran S. <isa...@gm...> - 2007-01-12 19:45:42
|
how to learn tcl language On 1/13/07, Imran Saleem <isa...@gm...> wrote: > > Hi > plz tell me how to made model of Differentiated services and integrated > services of ip packet in tcl > thanks > > > On 1/12/07, rahul <Rah...@su...> wrote: > > > > [Pham Ngoc Khanh:] > > | script: contain scripts (Tcl file) > > | scr: contain Java file > > ================= > > | package com; > > | public class TestCommand implements tcl.lang.Command { > > | public void cmdProc(...) {...} > > | } > > ================= > > | package com; > > | > > | public class TestCommandExtension implements > > | tcl.lang.Extension { > > | public void init(...) { > > | // create a TestCommand > > | } > > | } > > | > > | How to load TestCommandExtsion from script store in > > | script folder as i mention above with this situation ? > > | (I'm using Windows XP) > > =============== > > # do this.... > > package require java > > > > java::load -classpath {../scr} com.TestCommandExtension > > =============== > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys - and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > tcljava-user mailing list > > tcl...@li... > > https://lists.sourceforge.net/lists/listinfo/tcljava-user > > > > > > -- > With Regards: > > Imran > ------ -- With Regards: Imran ------ |
From: Imran S. <isa...@gm...> - 2007-01-12 19:43:32
|
Hi plz tell me how to made model of Differentiated services and integrated services of ip packet in tcl thanks On 1/12/07, rahul <Rah...@su...> wrote: > > [Pham Ngoc Khanh:] > | script: contain scripts (Tcl file) > | scr: contain Java file > ================= > | package com; > | public class TestCommand implements tcl.lang.Command { > | public void cmdProc(...) {...} > | } > ================= > | package com; > | > | public class TestCommandExtension implements > | tcl.lang.Extension { > | public void init(...) { > | // create a TestCommand > | } > | } > | > | How to load TestCommandExtsion from script store in > | script folder as i mention above with this situation ? > | (I'm using Windows XP) > =============== > # do this.... > package require java > > java::load -classpath {../scr} com.TestCommandExtension > =============== > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user > -- With Regards: Imran ------ |
From: rahul <Rah...@Su...> - 2007-01-12 14:58:04
|
[Pham Ngoc Khanh:] | script: contain scripts (Tcl file) | scr: contain Java file ================= | package com; | public class TestCommand implements tcl.lang.Command { | public void cmdProc(...) {...} | } ================= | package com; | | public class TestCommandExtension implements | tcl.lang.Extension { | public void init(...) { | // create a TestCommand | } | } | | How to load TestCommandExtsion from script store in | script folder as i mention above with this situation ? | (I'm using Windows XP) =============== # do this.... package require java java::load -classpath {../scr} com.TestCommandExtension =============== |
From: Patrick F. <pfi...@oz...> - 2007-01-11 21:16:55
|
Maybe something like this: Write a class that: 1. Runs the tcl command in-line "puts [clock format [clock seconds] -format %k:%M:%S]" 2. Sources the proc compare. proc compare {howmany value} { for {set i 1} {$i < $howmany} {incr i} { if {$i == $value} { puts $i } } } set bench 1000 set bench2 [expr $bench - 1] puts "comparing an int against $bench others..." compare $bench $bench2 ############################################################################# # import tcl.lang.*; // Java wrapper to test JACL under RAD 6. public class ScriptRunnerTcl { public static void main(String []args) { Interp i = new Interp(); try { i.eval("set x {The time is }"); i.eval("set y [clock format [clock seconds] -format %k:%M:%S]"); i.eval("puts [append z $x $y]"); i.eval("puts \\n"); } catch (TclException e) { System.out.println("Exception: " + e.getMessage()); } try { i.eval("source E:/scripts/TCL/jacl/compare.tcl"); } catch (TclException e) { System.out.println("Exception: " + e.getMessage()); } } } |
From: Pham N. K. <pn...@ya...> - 2007-01-11 03:33:58
|
Hi all, I'm studying about tcl with Java, and i have a problem with how to load extension from tcl file. The structure of my project is: script: contain scripts (Tcl file) scr: contain Java file I have a these class: package com; public class TestCommand implements tcl.lang.Command { public void cmdProc(...) {...} } and package com; public class TestCommandExtension implements tcl.lang.Extension { public void init(...) { // create a TestCommand } } How to load TestCommandExtsion from script store in script folder as i mention above with this situation ? (I'm using Windows XP) Please help ! Thanks //Khanh ___________________________________________________________ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk |
From: Kristoffer L. <se...@fi...> - 2007-01-08 18:45:03
|
I tracked the configuration problem I was having and there seems to be a bug in how file tests are managed in the configure script. The issue is that it cannot handle being compiled within a directory with spaces. Here is a diff that should be of the change I made to get that part to work: diff configure oldconf 1711,1714c1711,1715 < if [ "x$TCLJAVA" = "x" ]; then < if [ -d "$srcdir/src/tclblend" ] && [ -d "$srcdir/src/ jacl" ]; then < echo configuring for both jacl and tclblend >&5 < echo configuring for both jacl and tclblend --- > if test "x$TCLJAVA" = "x"; then > if test -d $srcdir/src/tclblend && test -d $srcdir/src/ jacl ; then > > echo configuring for both jacl and tclblend >&5 > echo configuring for both jacl and tclblend 1717c1718 < elif [ -d "$srcdir/src/tclblend" ]; then --- > elif test -d $srcdir/src/tclblend ; then 1719c1720 < elif [ -d "$srcdir/src/jacl" ]; then --- > elif test -d $srcdir/src/jacl ; then 1723,1724c1724,1725 < echo "$as_me: error: Cannot find jacl or tclblend sources" >&2;} < { (exit 1); exit 1; }; } --- > echo "$as_me: error: Cannot find jacl or tclblend sources" >&2;} > { (exit 1); exit 1; }; } 1762c1763 < if [ -d "$srcdir/../tcl8.4.1/unix" ]; then --- > if test -d $srcdir/../tcl8.4.1/unix ; then Additionally there seems to be no direct way of telling the configure script where to find Java include files such as jni.h. It does a small job of looking them up in various locations, none of which are valid on OS X. I have a bit of a dislike for configure files (seeing as they haven't generally made my job any easier than it was before) and I'm not sure how hairy it would be to go and tweak that. PS. Does anybody actually respond to problems on this list? / http://www.fishpool.com/~setok/ |
From: Patrick F. <pfi...@oz...> - 2007-01-07 23:50:44
|
See thread for details. http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/b9b66cce0d9d213c/e17bde379712187c#e17bde379712187c |
From: rahul <Rah...@Su...> - 2007-01-07 06:39:35
|
| Are there any recommended debuggers for jacl and instructions on how to use | them? a (very) simple CLI thingie that works on jacl is http://wiki.tcl.tk/11850 There is another one called juice http://www.codearchive.com/dl.php?dlid=639 (uses Tk) but I was unable to get it to work for jacl, you may have better luck. rahul |
From: rahul <Rah...@Su...> - 2007-01-07 06:33:30
|
I think it would depend on what use you are going to put it to. If you are to use the jacl in a product, it may not be easy/correct to modify the users jre/ext directory during installation. [pat...@hs...:] | | I downloaded the JACL 1.4 binaries then extracted and copied the jar files | to the Java runtime dynamic class loading ext directory "C:\Program | Files\Java\j2re1.4.2_06\lib\ext". Should I run JACL this way or stick to | calling jacl from the bat scripts? | | Start an interactive shell.............................. | | C:\java tcl.lang.Shell | | % clock format [ clock seconds] | Wed Jan 03 09:39:38 GMT 2007 | | % package require java | 1.4.0 | | % puts [ java::call System getProperty user.dir ] | C:\Program Files\Java\j2re1.4.2_06\bin | | % java::import java.net.InetAddress | | % puts "My IP Address is: [ [ java::call InetAddress getLocalHost ] | getHostAddress ] " | My IP Address is: 123.45.67.89 | | Run a script................................... | | C:\java tcl.lang.Shell quickTest.tcl | | Wed Jan 03 10:43:06 GMT 2007 | C:\Program Files\Java\j2re1.4.2_06\bin | My IP Address is: 123.45.67.89 | | Regards. | | Patrick Finnegan. | | | | | ************************************************************ | HSBC Bank plc | Registered Office: 8 Canada Square, London E14 5HQ | Registered in England - Number 14259 | Authorised and regulated by the Financial Services Authority | ************************************************************ | | | ----------------------------------------- | SAVE PAPER - THINK BEFORE YOU PRINT! | | This E-mail is confidential. | | It may also be legally privileged. If you are not the addressee you | may not copy, forward, disclose or use any part of it. If you have | received this message in error, please delete it and all copies | from your system and notify the sender immediately by return | E-mail. | | Internet communications cannot be guaranteed to be timely secure, | error or virus-free. The sender does not accept liability for any | errors or omissions. | | | ------------------------------------------------------------------------- | Take Surveys. Earn Cash. Influence the Future of IT | Join SourceForge.net's Techsay panel and you'll get the chance to share your | opinions on IT & business topics through brief surveys - and earn cash | http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV | _______________________________________________ | tcljava-user mailing list | tcl...@li... | https://lists.sourceforge.net/lists/listinfo/tcljava-user ---~*~--- rahul -- With eyes that speak of the Stars, and magick my very soul, A Dragon I am Eternal. |
From: Virden, L. W. <lv...@ca...> - 2007-01-05 12:16:58
|
Has anyone ever considered working with Activestate to get Jacl and TclBlend included in ActiveTcl? It seems, to me, that would really promote the use of the tool. --=20 <URL: http://wiki.tcl.tk/ > Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. <URL: mailto:lv...@gm... > <URL: http://www.purl.org/NET/lvirden/ > =20 -----Original Message----- From: tcl...@li... [mailto:tcl...@li...] On Behalf Of pat...@hs... Sent: Friday, January 05, 2007 5:18 AM To: tcl...@li... Cc: tcl...@li... Subject: [tcljava-dev] Got Tclblend working with Active State Tcl. I managed to generate a portable binary version of the TclBlend extension for the Windows platform. [...] |
From: <pat...@hs...> - 2007-01-05 10:18:30
|
I managed to generate a portable binary version of the TclBlend extension for the Windows platform. I did some limited testing with the Active State Tcl distro using the normal package installation procedure i.e copy tcljava1.3.2 to C:\Tcl\lib\tcljava1.3.2. No compilation required. It seemed to work quite well. C:\Tcl\bin>tclsh84 % package require java 1.3.2 % puts [ java::call System getProperty user.dir ] C:\Tcl\bin % java::import java.net.InetAddress % puts "My IP Address is: [ [ java::call InetAddress getLocalHost ] getHostAddress ] " My IP Address is: XXX.XX.XX.XX % package require snack 2.2 % package require Expect 5.43 Do we have a regression test suite for tcljava? Would anyone like to volunteer for testing. I can ftp the binary. It has an embedded JVM so it's 80 megabytes in size. Regards . Patrick Finnegan. ************************************************************ HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority ************************************************************ ----------------------------------------- SAVE PAPER - THINK BEFORE YOU PRINT! This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail. Internet communications cannot be guaranteed to be timely secure, error or virus-free. The sender does not accept liability for any errors or omissions. |
From: <pat...@hs...> - 2007-01-04 21:29:58
|
How do I get the C source code for tclblend.dll or see how it's built. ? It's not in the tclBlend140 download zip file. ************************************************************ HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority ************************************************************ ----------------------------------------- SAVE PAPER - THINK BEFORE YOU PRINT! This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail. Internet communications cannot be guaranteed to be timely secure, error or virus-free. The sender does not accept liability for any errors or omissions. |
From: <pat...@hs...> - 2007-01-04 21:29:29
|
Are there any recommended debuggers for jacl and instructions on how to use them? ************************************************************ HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority ************************************************************ ----------------------------------------- SAVE PAPER - THINK BEFORE YOU PRINT! This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail. Internet communications cannot be guaranteed to be timely secure, error or virus-free. The sender does not accept liability for any errors or omissions. |
From: <pat...@hs...> - 2007-01-04 21:28:58
|
I downloaded the JACL 1.4 binaries then extracted and copied the jar files to the Java runtime dynamic class loading ext directory "C:\Program Files\Java\j2re1.4.2_06\lib\ext". Should I run JACL this way or stick to calling jacl from the bat scripts? Start an interactive shell.............................. C:\java tcl.lang.Shell % clock format [ clock seconds] Wed Jan 03 09:39:38 GMT 2007 % package require java 1.4.0 % puts [ java::call System getProperty user.dir ] C:\Program Files\Java\j2re1.4.2_06\bin % java::import java.net.InetAddress % puts "My IP Address is: [ [ java::call InetAddress getLocalHost ] getHostAddress ] " My IP Address is: 123.45.67.89 Run a script................................... C:\java tcl.lang.Shell quickTest.tcl Wed Jan 03 10:43:06 GMT 2007 C:\Program Files\Java\j2re1.4.2_06\bin My IP Address is: 123.45.67.89 Regards. Patrick Finnegan. ************************************************************ HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority ************************************************************ ----------------------------------------- SAVE PAPER - THINK BEFORE YOU PRINT! This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail. Internet communications cannot be guaranteed to be timely secure, error or virus-free. The sender does not accept liability for any errors or omissions. |
From: Kristoffer L. <se...@fi...> - 2007-01-04 13:22:34
|
I've been trying to build TclJava on OSX 10.4.8, but there seems to be some problem with the configure script: $ ./configure --with-tcl=/Users/setok/Proging/tcl8.4.12/unix srcdir is /Users/setok/Projects/Comptel/Fastlink/Prepaid Batch/ tclBlend1.3.3 ./configure: line 1711: test: /Users/setok/Projects/Comptel/Fastlink/ Prepaid: binary operator expected ./configure: line 1717: test: /Users/setok/Projects/Comptel/Fastlink/ Prepaid: binary operator expected ./configure: line 1719: test: /Users/setok/Projects/Comptel/Fastlink/ Prepaid: binary operator expected configure: error: Cannot find jacl or tclblend sources The src directory is in the same directory as the configure script. I have made no changes to the package. I'm just trying to get it compiled seeing as the bundled TclJava on my machine does not work. Additionally, one issue that might affect deployment is that of TclJava not using stubs. This might put off the client. Any plans for a release that would use stubs, if requested? / http://www.fishpool.com/~setok/ |
From: Tom P. <tpo...@ny...> - 2007-01-02 00:43:54
|
Jacl-powered Ajax programming. Not quite in time for Christmas/Hanukkah/Winter Solstice/etc for all of the good Jacl'ers out there, so here is my New Year's gift instead. This is the first public release of Aejaks, and should be considered alpha quality. This means that things basically work (at least for me.) Expect to find bugs and design issues. The release includes a primary set of widgets and two sample applications. -Tom Poindexter README follows: ------------------------------------------------------------------------------ AEJAKS: http://aejaks.sf.net ABOUT: Aejaks combines the server-side Ajax windowing system Echo2 with the powerful simplicity of the Tcl langauge. The result is a rich development environment in which to develop Ajax-based web applications, often with much less code to write. AUTHOR: Aejaks was conceived and written by Tom Poindexter. Please subscribe and use the mailing list for Aejaks related discussion. Subscription information at: http://lists.sourceforge.net/lists/listinfo/aejaks-general If you really, absolutely need to get in touch with me privately, email: tpo...@ny... ACKNOWLEDGEMENTS: Aejaks stands on the shoulders of giants, and would not be possible without the contributions of a host of very talented programmers: Echo2: Tod Liebeck, NextApp Tcl: John Ousterhout, Tcl Core Team Jacl: Ioi Lam, Brian Smith, Sun Microsystems, Inc., Mo DeJong IncrTcl: Michael J. McLennan, Mo DeJong Jetty: Greg Wilkins, Mort Bay Consulting Clcms: Jelte Jansen EchopointNG: Brad Bakerman DOWNLOAD: http://sourceforge.net/project/showfiles.php?group_id=184611 or http://sourceforge.net/projects/aejaks Two packages are available, either in .tar.gz or .zip format. Those that have the notation '-full' are ready-to-run, containing the Jetty servlet engine and full local documentation. You should probably download the '-full' version, unless you already have Jetty 6.x. Python is required to regenerate the local website & documentation. DOCUMENTATION: See: ./website/out/index.html This is a local copy of the website, including all documentation to related software. Only available if you downloaded the '-full' version. Otherwise, surf on over to http://aejaks.sf.net. QUICK START: You will need Java 1.5 or higher installed. If you are reading this, then you probably already un-tarred or un-zipped the distribution file. tar zxf aejaks-x.y-full.tar.gz unzip aejaks-x.y-full.zip winzip ...etc... unix/linux: sh run.sh firefox http://localhost:8080 windows run.bat start http://localhost:8080 If you downloaded the 'regular' distribution, you will need to also download jetty-6.0.1 (or newer) from http://jetty.mortbay.com, and unpack in the top-level aejaks-x.y directory. Build files and run scripts expect ./jetty-6.0.1, so you may have to adjust the scripts if you download a newer version of jetty. COPYRIGHT & LICENSE: Aejaks Copyright 2006, Tom Poindexter Aejaks is licensed under the Mozilla Public License 1.1, or the GNU LGPL 2.1. Aejaks includes the following software, please refer to the copyright and license statements for each package in the ./licenses/ directory: Echo2 Jacl, IncrTcl, TJC Jetty Echopoint, EchopointNG clcms -- Tom Poindexter tpo...@ny... |
From: Bruce J. <nm...@ma...> - 2006-12-23 15:48:36
|
Starting with revision 1.13 of Expression.java the calculation of base 10 logarithms in Jacl is seriously incorrect. Prior to this revision, log10 is calculated (as it should be) by log (x) / log(10) With version 1.13 this was changed to log( x / log(10) ) which is completely wrong. This bug is present in Jacl 1.4.0, but not in 1.3.2 or earlier. A quick check for the correct version expr log10(10) 1.0 the now incorrect code gives expr log10(10) 1.46855264775 |
From: Ivan L. <fun...@ya...> - 2006-12-16 12:37:32
|
I'm working off of this article as a guide to embedding jacl. http://web.archive.org/web/20031203193300/http://www-cs-students.stanford.edu/~jwu/Using_Tcl_in_Java.html it looks like the following code no longer applies, as java doesn't find the references even with jacl.jar and tcljava.jar on the classpath. if (code == TCL.RETURN) { code = interp.updateReturnInfo(); if (code == TCL.OK) { break check_code; } } TCL.OK is not found (or not visible), and interp does not have a method named updateReturnInfo() (or at least is not visible) does anyone know what the updated form of this is? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Rob R. <rr...@fu...> - 2006-12-12 18:40:06
|
Scott Serr wrote: > It IS gcc 4. I built gcc 3.4.6 (on SLED 10) in /usr/local/bin and built > Tcl and TclBlend with that.... it worked fine. > > I also tried it on Ubuntu. Ubuntu comes with 4 gccs... 3.3, 3.4, 4.0, > 4.1... 3.4 works fine, the default of 4.1 doesn't. > > I can only imagine that JNI has problems with the mix of Java compiled > with 3.X and the Tcl stuff compiled with 4.X. > > Hope this helps people. I'm sure it will all work someday, but I'm not > sure it will work before Java (from Sun) is compiled with gcc 4? Other > probably understand all this better... > One could always build the VM and compiler from scratch with gcc 4 now that Java is open source: :-) https://openjdk.dev.java.net/hotspot/ https://jdk6.dev.java.net |
From: Scott S. <ss...@am...> - 2006-12-11 18:21:03
|
It IS gcc 4. I built gcc 3.4.6 (on SLED 10) in /usr/local/bin and built Tcl and TclBlend with that.... it worked fine. I also tried it on Ubuntu. Ubuntu comes with 4 gccs... 3.3, 3.4, 4.0, 4.1... 3.4 works fine, the default of 4.1 doesn't. I can only imagine that JNI has problems with the mix of Java compiled with 3.X and the Tcl stuff compiled with 4.X. Hope this helps people. I'm sure it will all work someday, but I'm not sure it will work before Java (from Sun) is compiled with gcc 4? Other probably understand all this better... -Scott On 12/11/06 10:48, Sebastian Busch wrote: > Hi Scott, > > It seems as though after I compile tcl, tclblend, and install jdk 1.5 on a SuSE 10.1 box it has problems. During "package require java" I get a hot spot error. The only thing that I can think of that is "special" about SuSE 10.1 is that it uses gcc 4.1. Has anyone attempted using gcc 4.1 to build tcl and tclblend? Did it work? Thanks, Scott > > its the same for me(SuSE 10.1 as well), I tried some JDKs (gcj, sun, 1.4.2, 1.5.0) but ran into the same error you described. > > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # SIGSEGV (0xb) at pc=0xb7ee48bd, pid=21797, tid=3083818672 > # > # Java VM: Java HotSpot(TM) Client VM (1.4.2_11-b06 mixed mode) > # Problematic frame: > # C [libtcl8.4.so+0x6e8bd] Tcl_GetCurrentNamespace+0xd > > Maybe I try to compile with an 3.x version of gcc later. > > Have a nice day, > > Sebastian Busch > |
From: Sebastian B. <dir...@gm...> - 2006-12-11 17:49:03
|
Hi Scott, It seems as though after I compile tcl, tclblend, and install jdk 1.5 on a SuSE 10.1 box it has problems. During "package require java" I get a hot spot error. The only thing that I can think of that is "special" about SuSE 10.1 is that it uses gcc 4.1. Has anyone attempted using gcc 4.1 to build tcl and tclblend? Did it work? Thanks, Scott its the same for me(SuSE 10.1 as well), I tried some JDKs (gcj, sun, 1.4.2, 1.5.0) but ran into the same error you described. # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xb7ee48bd, pid=21797, tid=3083818672 # # Java VM: Java HotSpot(TM) Client VM (1.4.2_11-b06 mixed mode) # Problematic frame: # C [libtcl8.4.so+0x6e8bd] Tcl_GetCurrentNamespace+0xd Maybe I try to compile with an 3.x version of gcc later. Have a nice day, Sebastian Busch -- "Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht! -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer |
From: Scott S. <ss...@am...> - 2006-12-08 16:43:15
|
It seems as though after I compile tcl, tclblend, and install jdk 1.5 on a SuSE 10.1 box it has problems. During "package require java" I get a hot spot error. The only thing that I can think of that is "special" about SuSE 10.1 is that it uses gcc 4.1. Has anyone attempted using gcc 4.1 to build tcl and tclblend? Did it work? Thanks, Scott |
From: Maurice D. <Mau...@en...> - 2006-12-07 09:36:21
|
Le 6 d=E9c. 06 =E0 00:26, Bruce Johnson a =E9crit : > Hi Maurice, > > Thanks for the interest in Swank. It is still very much alive. I > work on it a lot, but am so busy with trying to keep my one person > company afloat that I haven't had much time to keep up the public > distributions. I am planning on releasing the latest code shortly > (within a week). Thank you very much, no urgency: just political information ! I don't use jacl any more (no more need) although I keep yet subscribed to this mailing list (tcljava). I working on a little first program in ruby (not jruby for now). I =20 choose to use Tk for the GUI because: - I already know it (old Editeur de texte STEAD, old GRED grafcet =20 editor, ...) - It's true multiplaform (numerous other Gui toolkit claims that too, but it's difficult to port Gtk, Qt, WxyzWidget.... to other plateform as native Gui without installation... Tk is already part of " courant interpreters (perl, python, ruby, ocaml, ...) No one of these languages advertise about Tcl: they just have "stolen" it's GUI feature... Also the only standard GUI in Java (provided with the JDK) is Swing. If Tk would be ported to Java, then Tk would be the first true Multi-platform (even with Java platform) GUI ! That's why I asked for the future of Swank. > I've had another person ask about JRuby and Swank. I've never > looked at JRuby code to see how much trouble it would be to port. > I'm guessing it depends a bit on whether there is something like the > Tcl Interp class that can be used for variables and exceptions. A > lot of the Swank code is automatically generated using a Jacl script > so it might be possible to change these scripts a bit to generate > code that would be a lot closer to what JRuby needs. I'm just a scripting user, so I don't know about deep binding of Tk/Swank/Ruby/Jruby/Java. But as there already exists an OO Tk binding with Ruby, and There exists a port of Tk core to Java (with Swank). It seems not impossible that some Jruby developer to port the ruby Tk =20= extension o Jruby. As Sun seem to push JRuby, perhaps it could be push the major extension of Ruby into Jruby too : Tk ? For that, Bruce could: - either Bruce work with Sun to push Swank as a standard Tk port into Java (... then rebuild the jacl specific binding to Swank :-) - either Sun is doing the Tk port to Java itself - either Bruce allow a fork of Swank to be take from the Jruby team - either Sun keep JRuby without Tk extension (there already have =20 Swing...) I don't believe very much to the first solution !! (too much work without interest for Bruce), neither to the second one. The third solution seems possible if the JRuby show enough interest, and if Bruce is OK (licence problem ?) Function of the answer to this message, I'll probably post a message on the com.lang.ruby group. The goal is to test the Ruby community about the interest of the Tk port to Java (then to Jruby) > On the other hand, why not use Jacl? The question is not about jacl, but about Tcl. My interest is in a general interpreted language for replacing Tcl =20 which is: - consistent, as clean as Tcl, as simple as Tcl, as dynamic as TCL - Object Oriented (*no* standard OO system yet provided with Tcl) - with correct package provided as standard (tcllib is *not* part on =20 tcl) - available in Java The harder point is the first one! But after having had to do some PHP (yes, you know to language invented as a student, probably friend from the Apache Team) I understood that the best things rarely win! So I choose the best one (at my point of vu): Ruby from system tools to high level web tools (Ruby on Rails) - python is less OO than "tcl without OO extensions" - Groovy (strongly Ruby like) would be better, but is only for Java. - Perl is a write-only language > I'll let you know as soon as I release the next version. > cheers, Thank very much -- Maurice > Bruce > > Bruce A. Johnson, President > Web www.onemoonscientific.com > > > On Dec 5, 2006, at 9:53 AM, Maurice Diamantini wrote: > >> Bonjour =E0 tous ! >> >> (sorry for my bad english and error or missing of courtesy) >> >> I'd like to know if Swank (port of Tk to Java for using with TCL) >> is still alive ? >> I just learned the answer is "yes" from a recent post. >> >> So the real question is: >> is there any chance that Swank could be usable with jruby? >> >> As you know, Sun (which helped for making Tk multiplatform) >> has recently engage two guy for working on jruby (port of Ruby to >> Java) >> >> (J)?Ruby is the only (used) language which is as clean and consistent >> that >> Tcl, It would be great if Tk was also usable is the Java world ! |