tcljava-user Mailing List for Tcl/Java (Page 6)
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: Patrick F. <pfi...@oz...> - 2011-04-04 02:34:20
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> See this page: - <a href="http://www.websphereconsultant.com/WSAdmin/docs/dynamicLoading.html">http://www.websphereconsultant.com/WSAdmin/docs/dynamicLoading.html</a><br> <br> <i>It's now possible to dynamically load jacl procedures(modules) into a top level script without explicitly specifying procedure locations using the source command. The JACL auto_path variable holds a list of directories that JACL will search for procedures or namespaces that are called by a top level script. If JACL cannot resolve the location of a called procedure locally it searches the list of directories held in the auto_path variable for a tclIndex file that contains load instructions for the procedures in the directory. The tclIndex file is generated by the auto_mkindex command and this command must be run each time procedures names are changed and procedures are added or deleted. The auto_path variable is initialized by the TCLLIBPATH environmental variable or explicitly within the script. <br> </i><br> On 1/04/2011 8:29 PM, trishanth diwate wrote: <blockquote cite="mid:AANLkTimuYJxDyxH8onq9gje-ao1jueaG2X1m39d=m8...@ma..." type="cite">whenever I try this command it gives an error saying package foo doesn't exist <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/ms-webmatrix-sf">http://p.sf.net/sfu/ms-webmatrix-sf</a> </pre> <pre wrap=""> <fieldset class="mimeAttachmentHeader"></fieldset> _______________________________________________ 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> <br> <br> <div class="moz-signature">-- <br> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>SIGNATURE</title> <br> <span style="text-decoration: underline; font-weight: bold;">PATRICK FINNEGAN</span><br> <span style="color: rgb(153, 0, 0);">MB: +61422542326</span><br> FX: +442084591085<br> <br> <br> <br> </div> </body> </html> |
From: trishanth d. <tri...@gm...> - 2011-04-01 12:29:20
|
whenever I try this command it gives an error saying package foo doesn't exist |
From: Omar E. J. V. <oma...@gm...> - 2011-03-06 13:15:49
|
Hello everybody, I'm working on a proyect made in Java that needs to execute tcl scripts. This project is running on Linux. So far I used tjc to compile simple tcl scripts and turn them into Java classes. Then, from Java I executed the simple proc successfully. Now that I'm adding more functionalities to the project, I add them to the tcl script then I recompile and use those compiled classes in Java again. But I'm running into troubles here because the added functionalities include sourcing a tcl script which access global variables like PATH. The problem is: when I initialize the class, and the sourced script tries to access PATH environment variable I get the following error: tcl.lang.TclVarException ==> in Java can't read "env(PATH)": no such element in array ==> result from command execution I verified that 'global env' is included in the proc that uses PATH and I executed the script in command line and works correctly. However when I compile the script with tjc and run it with Java I get this error. Please if you can give me some pointers to look at to fix this problem, I''ll be happy to tried them :D Thanks for your time, I really appreciate it Omar Jimenez |
From: Omar E. J. V. <oma...@gm...> - 2011-03-06 12:57:40
|
From: Fredrik K. <dar...@gm...> - 2011-01-24 10:50:44
|
Dear list, I want to build the TclBlend extension, and I've read the building instructions. However, the ActiveState dist of Tcl (for Mac) now already has a Tcl built with threads enabled, and the thread extension is already there. Is there a way to build the TclBlend extension and use these resources instead for building? In short, is there a simple way to use TclBlend with ActiveState Tcl? /Fredrik -- "Life is like a trumpet - if you don't put anything into it, you don't get anything out of it." |
From: <kan...@gm...> - 2011-01-06 11:47:24
|
Try setting classpath to the jar file. -----Original Message----- From: Nandu Chowdhury Sent: 06/01/2011 5:13:44 pm Subject: [tcljava-user] Problem running pyramidpkg demo Hi, I'm trying to compile and run jacl demo : pyramidpkg. It seems it can compile fine but it gives class-not-found exception when I try to run it. I get following exception: ================================================== linux_propmy > appletviewer pyramid.html java.lang.NoClassDefFoundError: tcl/lang/TclEvent at Pyramid.init(Pyramid.java:53) at sun.applet.AppletPanel.run(AppletPanel.java:418) at java.lang.Thread.run(Thread.java:619) ================================================== I have checked that TclEvent class is present in my CLASSPATH settings. I strongly suspect that the exception is caused because TclEvent class is an abstract-class. But I believe we're doing everything right - we do not make a direct instance of class TclEvent instead we do implement the abstract function present inside the class. Any help to resolve this issue will be helpful. I'm really looking to attach a TCL console to an existing JAVA application. How can I do it? Please help. Thanks, -Nandu. |
From: Nandu C. <nan...@gm...> - 2011-01-06 11:43:52
|
Hi, I'm trying to compile and run jacl demo : pyramidpkg. It seems it can compile fine but it gives class-not-found exception when I try to run it. I get following exception: ================================================== linux_propmy > appletviewer pyramid.html java.lang.NoClassDefFoundError: tcl/lang/TclEvent at Pyramid.init(Pyramid.java:53) at sun.applet.AppletPanel.run(AppletPanel.java:418) at java.lang.Thread.run(Thread.java:619) ================================================== I have checked that TclEvent class is present in my CLASSPATH settings. I strongly suspect that the exception is caused because TclEvent class is an abstract-class. But I believe we're doing everything right - we do not make a direct instance of class TclEvent instead we do implement the abstract function present inside the class. Any help to resolve this issue will be helpful. I'm really looking to attach a TCL console to an existing JAVA application. How can I do it? Please help. Thanks, -Nandu. |
From: Tom P. <tpo...@ny...> - 2010-11-17 16:18:28
|
The JTcl team is happy to announce the JTcl 2.0.0 alpha1 release. Get it now at: http://kenai.com/projects/jtcl/downloads Or find out more information at the JTcl website: http://jtcl.kenai.com ------------------------------------------------------------------------- JTcl - Tcl Language Interpreter in Java http://jtcl.kenai.com JTcl is an implementation of Tcl (Tool Command Language) written in Java. JTcl implements a large extent of Tcl 8.4 syntax and commands, limited only by API restrictions of the Java Virtual Machine. JTcl is based on the Jacl interpreter (http://tcljava.sf.net) INSTALLING JTCL JTcl requires a Java JVM 1.5 or higher (Java 1.6 is recommended). You may have to install Java if you don't already have it installed. JTcl is distributed as a ZIP archive. Download the latest jtcl-{version}.zip file from the JTcl website, and unzip into a directory of your choice. Unix/Linux/Mac OSX shell script (`jtcl') and Windows batch file (`jtcl.bat') are included. SOURCE CODE JTcl uses the Mercurial distributed source code control system. Install Mercurial using your OS distribution package manager or get executables from the Mercurial site: http://mercurial.selenic.com/ Browse JTcl source code: http://kenai.com/projects/jtcl/sources Clone the JTcl repository: hg clone https://hg.kenai.com/hg/jtcl~jtcl-main DOCUMENTATION Please refer to the JTcl web site. MAILING LIST and BUG REPORTING Please subscribe and use the JTcl mailing list for questions and to share information. The JTcl Bug tracker should be used to report bugs. Mailing lists: http://kenai.com/projects/jtcl/lists Bug reporting: http://kenai.com/bugzilla/buglist.cgi?product=jtcl **The JTcl Team** -- Tom Poindexter tpo...@ny... |
From: Tom P. <tpo...@ny...> - 2010-10-06 02:38:11
|
Aejaks 1.3 is now available. This release fixes a few bugs and adds a few minor features. For more information, see the news item at: http://aejaks.sourceforge.net/News/index.html --README-------------------------------------------------------------- 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. Building a Rich Internet Application (RIA) usually means having to write your application in a variety of languages and markup: HTML, CSS, and Javascript for the browser, plus some backend language (PHP, Java, Tcl, etc.) With Aejaks, you only need a single language: Tcl. Aejaks applications resemble desktop Tcl/Tk applications. Aejaks uses a Tk-inspired object interface to create and interact with widgets. Classic "Hello world" in Aejaks: Button .hello -text "Hello world" -command {. exitApp /index.html} Pack .hello The first line creates a Button widget named '.hello' and defines a command to be run when the button is pressed (exit the application and tell the browser to load the index.html page.) The second line makes the Button widget visible in the browser window. That's all you need! 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 and artists: Echo2: Tod Liebeck, NextApp Tcl/Jacl John Ousterhout, Ioi Lam, Brian Smith, Mo DeJong IncrTcl: Michael J. McLennan, Mo DeJong Jetty: Greg Wilkins, Mort Bay Consulting Clcms: Jelte Jansen EchopointNG: Brad Bakerman Nuvola icons: David Vignoni MrPersister Jacob Jenkov H2 Database Thomas Mueller DOWNLOAD: http://sourceforge.net/project/showfiles.php?group_id=184611 or http://sourceforge.net/projects/aejaks Three downloads are available (where 'x.y' is the current version): aejaks-x.y-exe.tar.gz aejaks-x.y-exe.zip This package contains everything required to run, develop and deploy Aejaks applications. Included are the aejaks.war file, Jetty web server, sample scripts, and documentation. Java 1.4 or higher is required to run the Aejaks and the Jetty web server. http://java.sun.com aejaks-x.y-src.tar.gz aejaks-x.y-src.zip Developers who wish to contribute to Aejaks development should download this file and the above '-exe' file, and unpack both into the same directory. This package contains source for Java and Tcl files, documentation source, build scripts, library files, icon and image source, Eclipse project and classpath files. Java JDK 1.4 or higher is required to develop Aejaks. http://java.sun.com Ant or Eclipse is require to run the Java source build.xml file. Ant and Eclipse can be downloaded from http://ant.apache.org http://eclipse.org The Jetty web server is not included with the source distribution. If you would like to run with the Jetty web server, download and unpack the executable distribution (e.g., aejaks-x.y-exe.zip) or download the Jetty web server at: http://jetty.mortbay.com You may also run with Apache Tomcat, or other Java Servlet web servers. Clcms and Python are required to regenerate the local website & documentation. Clcms and Python can be downloaded from: http://www.jelte.nlnetlabs.nl/Projects/clcms/index.html http://python.org AejaksDemo.war This war is the webserver deployment file containing the Aejaks runtime and all required libraries, along with the 'widget_tour' demo script. Simply deploy this file into your existing Java Servlet engine (e.g., Jetty, Tomcat, Resin, Websphere, Weblogic, Winstone, etc. Java 1.4 or higher is also requried.) Once deployed (and depending on your servlet engine), you should be able to invoke the Aejaks 'widget_tour' demo by opening a browser to http://your-web-server-host/AejaksDemo AejaksDemo.war is a full run-time environment for Aejaks. Update the internal WEB-INF/web.xml file or provide the runtime parameters as outlined in the documentation: http://aejaks.sourceforge.net/Documentation/Running/index.html http://aejaks.sourceforge.net/Documentation/Configuration/index.html REQUIREMENTS: Aejaks requires a Java JRE 1.4 or higher installation. No other external software is required, Aejaks is ready to run. Aejaks includes the Jetty webserver, configured to start on port 8080. DOCUMENTATION: See: ./website/out/index.html This is a local copy of the website, including all documentation to related software. All documentation is also available at: http://aejaks.sf.net QUICK START: You will need Java JDK or JRE 1.4 or higher installed. un-tar or un-zip the '-exe' distribution file: tar zxf aejaks-x.y-exe.tar.gz unzip aejaks-x.y-exe.zip winzip ...etc... Start the Jetty webserver: unix/linux: sh run.sh windows, execute in a Command Prompt window: run.bat Start your web browser and load the index.html page: unix/linux: firefox http://localhost:8080 windows: start http://localhost:8080 Now start exploring the demos! To stop the web server: unix/linux: sh stop.sh windows: ^C (in the Command Prompt window where you started jetty) and ^C (in the Command Prompt window running the H2 database) COPYRIGHT & LICENSE: Aejaks (a.k.a. "Ãâ jaks") Copyright 2006-2010, 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 EchopointNG Jacl, IncrTcl, TJC Jetty JFreeChart Nuvola icons Mr Persister H2 Database TclTutor -- Tom Poindexter tpo...@ny... |
From: Ahmed S. <am...@gm...> - 2010-09-25 17:56:19
|
Hi all, I am trying to compile TclBlend, and i get an error message about optimization error for gcc, is there a workaround for this issue ? and if i have to downgrade my gcc version, which is not very easy for me, what version should i look for ? and is there a way to get this gcc pre-compiled instead of compiling it again ? -- Regards, Ahmed |
From: Andreas K. <and...@ac...> - 2010-09-09 15:47:10
|
17th Annual Tcl/Tk Conference (Tcl'2010) http://www.tcl.tk/community/tcl2010/ October 11 - 15, 2010 Hilton Suites/Conference Center Chicago/Oakbrook Terrace, Illinois, USA Registration for the Conference is open at http://www.tcl.tk/community/tcl2010/reg.html To book a room at the conference hotel at reduced rates follow the link on that page. Note that this offer expires on September 26. Book early. Our schedule can be found at http://www.tcl.tk/community/tcl2010/schedule.html We have special social activites October 15, 2010 - Friday afternoon -- Tour of Fermilab Fermi National Accelerator Laboratory, http://www.fnal.gov/ Tour signup is at the conference, Wednesday, Oct 13. A tour lasts about two hours and begins in Wilson Hall. Visitors view the Laboratory from the 15th floor windows and visit various displays located there. The tour moves to the Linear Accelerator building where visitors see the Cockcroft-Walton, the components in the linear accelerator gallery and the Main Control Room. There is a docent for every 20 people. Registration required since tours must be arranged in advance. October 15, 2010 - Friday evening Dinner-theater at the award winning Drury Lane theater located next to our hotel. Special package price for dinner and theater at $44.00 per person. Regularly $64 per person. Please make reservation and payment at time of registration, or by Wednesday Oct 13 latest (at the conference). "Seven Brides for Seven Brothers" http://www.drurylaneoakbrook.com/ Bill Jenkins is one of the newest and most exciting new directors on the Chicago scene. As Chairman of the Department of Theatre and Dance at Ball State University, he heads one of the nation's largest theatre programs. After admiring his work with other Chicago area theatres, we are very pleased for this opportunity to showcase his talent at Drury Lane. Once Bill shared some of the fresh ideas and insights he had for ÂSeven Brides for Seven BrothersÂ, we knew we would have a great show for the holidays. Conference Committee Clif Flynt Noumena Corp General Chair, Website Admin Andreas Kupries ActiveState Software Inc. Program Chair Cyndy Lilagan Iomas Research, LLC Facilities Coordination Brian Griffin Mentor Graphics Ron Fox NSCL/FRIB Michigan State University Arjen Markus Deltares Mike Doyle Iomas Research, LLC Gerald Lester KnG Consulting, LLC Donal Fellows University of Manchester Jeffrey Hobbs ActiveState Software Inc. Steve Landers Digital Smarties Kevin Kenny GE Global Research Center Larry Virden Tcl FAQ Maintainer Steve Redler IV SR Technology Contact Information tcl...@go... Tcl'2010 would like to thank those who are sponsoring the conference: ActiveState Software Inc. Buonacorsi Foundation Mentor Graphics Noumena Corp. SR Technology Tcl Community Association |
From: Joe W. <joe...@er...> - 2010-09-08 01:26:08
|
Hi, I really need your help. I just used Jacl for a few days. My requirement is runing Tcl script in Java application. My tcl script includes 'fileevent' command but when I run it in Jacl Interp, I got an exception complaints "invalid command name "fileevent". What do you think? I want to verity wether or not Jacl support 'fileevent' command. I am very glad to get your response. Thanks. Regards, Joe |
From: <mch...@as...> - 2010-08-13 08:00:47
|
Etant absent jusqu'au 27 août, merci de contacter su...@as... pour toute question concernant Audros. I'm out of office until August 27th. Please contact su...@as... if you have any question regarding Audros meanwhile . |
From: <mch...@as...> - 2010-08-13 08:00:14
|
Etant absent jusqu'au 27 août, merci de contacter su...@as... pour toute question concernant Audros. I'm out of office until August 27th. Please contact su...@as... if you have any question regarding Audros meanwhile . |
From: Georgios P. <pet...@ya...> - 2010-08-13 07:59:17
|
Hi all, I have written a Tcl extension in Java: public class JavaTest extends Extension { public void init(Interp interp) { /* Register some commands... */ interp.createCommand("creole_JavaTest", new creole_JavaTest()); } public static void SetComponentHome(String path) { System.out.println("JavaTest::SetComponentHome("+path+")"); creole_JavaTest.creole_JavaTest_home = path; } } /* class JavaTest */ My "JavaTest" that is an extension, has a new method "SetComponentHome". Is there a way to call this method? I can load the extension with: java::load -classpath path JavaTest but the JavaTest class seems to disappear after the extension gets loaded. Any ideas on how to call SetComponentHome? George |
From: Omer b. <ome...@ho...> - 2010-05-20 15:53:35
|
Hi, Does Jacl support safe interpreter? Sincerely, Omer _________________________________________________________________ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5 |
From: Sriram J <sri...@tc...> - 2010-04-19 09:35:06
|
Hi , I haven't tried this package yet ( http://tcljava.sourceforge.net/docs/website/index.html). I am trying to understand the capabilities and limitations of Jacl and TCL Blend, for making up the architecture. Problem description: I have a huge volume of legacy TCL/ expect based test scripts. The new test platform is based on a Java based framework. The test scripts are written in Java. The ambition is to run the legacy test scripts to the Java framework by either 1) Porting the TCL scripts to Java, - Either by manually - Or by intelligent parser 2) Make a compatible layer, which would take the legacy scripts and run it on the Java framework. there by making minimal (or) Zero changes to the legacy scripts. Question Could the Jacl and TCL Blend could act as a abstraction layer for the legacy scripts, if I choose to run the legacy test scripts on a Java test platform, what are the limitation could I face later. Thanks and Regards Sriram Jagadeesan =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |
From: Latha G. <la...@ai...> - 2010-04-19 06:57:08
|
Hi, Getting Run Time Error while make install tclblend # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x003f3d9a, pid=24267, tid=3086218944 # # JRE version: 6.0_20-b02 # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing linux-x86 ) # Problematic frame: # C [libtcl8.5.so+0x98d9a] Tcl_FindCommand+0x2a # Can u please help Regards latha From: Latha Ganesan [mailto:la...@ai...] Sent: Monday, April 19, 2010 11:11 AM To: tcl...@li... Subject: [tcljava-user] getting error while trying to configure tclblend checking for GCC 4.1.0 optimizer bug... yes configure: error: This gcc release contains an optimizer bug that breaks Tcl Blend, please use another version of gcc Can u let me know what needs to be done to configure & install successfully It should be ok even if optimization is not enaled Regards Latha P.S. I tried to browse thru the archieve, but couldn't get a satisdactory resolution My system has the following gcc installed [root@INDATSRVR13 build_tclblend]# which gcc /usr/bin/gcc [root@INDATSRVR13 build_tclblend]# /usr/bin/gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20071124 (Red Hat 4.1.2-42) [root@INDATSRVR13 build_tclblend]# |
From: Latha G. <la...@ai...> - 2010-04-19 05:41:31
|
checking for GCC 4.1.0 optimizer bug... yes configure: error: This gcc release contains an optimizer bug that breaks Tcl Blend, please use another version of gcc Can u let me know what needs to be done to configure & install successfully It should be ok even if optimization is not enaled Regards Latha P.S. I tried to browse thru the archieve, but couldn't get a satisdactory resolution My system has the following gcc installed [root@INDATSRVR13 build_tclblend]# which gcc /usr/bin/gcc [root@INDATSRVR13 build_tclblend]# /usr/bin/gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20071124 (Red Hat 4.1.2-42) [root@INDATSRVR13 build_tclblend]# |
From: Mo D. <mo...@mo...> - 2010-04-15 03:36:39
|
Giorgio Valoti wrote: > Hi all, > I’m trying to load the Tcl interpreter using ScriptEngineManager. Is there a way add jacl to the engine factories known by the engine? Is jacl JSR 223 compliant? > > This page claims the Jacl 1.3.3 is included in the *jsr223-engines *download. https://scripting.dev.java.net/ I have not actually tried it myself, so I can't speak to that. Mo |
From: Mo D. <mo...@mo...> - 2010-04-15 02:56:41
|
Ross, Bill wrote: > > I am new to Java but have doing TCL for many years. > > I have one application that requires java. > > I have gotten it all working but am now trying to add a new feature. > > I get an object “cstat” back using tclbelnd. > > According to the Javadoc I need to read it back into a byte array. > > I then want to write it to a file using “$fos {write byte[]} $dataBytes;” > > I can’t figure out the right syntax in tclblend to do this. > > I can use a different Java command to get the size of the file which > is 3188. > > I tried creating a byte array of this size . > > Any help would be appreciated. > > Here is the line from the javadoc that shows the Java code that does > the data > > byte[] bytes = (byte[])cstat.getData(); > > Here is the relevant tclblend code I tried > > set fos [java::new java.io.FileOutputStream > "/home/server/output/filename"]; > > set dataBytes [java::new {byte[]} 3188]; > > set dataBytes [$cstat getData]; > > $fos {write byte[]} $dataBytes; > > $fos close; > > When I run my code I get > > expected object of type byte[] but got "java0xc" (java.lang.Object) > > while executing > > "$fos {write byte[]} $dataBytes" > Your code does not really make sense: set dataBytes [java::new {byte[]} 3188] set dataBytes [$cstat getData] Why allocate a byte[] and then assign it to dataBytes in step 1? Did you mean to pass that to the getData method or something? The error indicates that the type of dataBytes after the call to getData is java.lang.Object. Likely that is what your method returns as the object type. You could change your method so that the return type is byte[] in the Java code. Otherwise, you could use the java::cast command to cast the java.lang.Object result to byte[] (that step is missing in your Tcl code, but it appears in the Java snip you provide). cheers Mo DeJong |
From: Ross, B. <Bil...@Ca...> - 2010-04-14 21:02:17
|
I am new to Java but have doing TCL for many years. I have one application that requires java. I have gotten it all working but am now trying to add a new feature. I get an object "cstat" back using tclbelnd. According to the Javadoc I need to read it back into a byte array. I then want to write it to a file using "$fos {write byte[]} $dataBytes;" I can't figure out the right syntax in tclblend to do this. I can use a different Java command to get the size of the file which is 3188. I tried creating a byte array of this size . Any help would be appreciated. Here is the line from the javadoc that shows the Java code that does the data byte[] bytes = (byte[])cstat.getData(); Here is the relevant tclblend code I tried set fos [java::new java.io.FileOutputStream "/home/server/output/filename"]; set dataBytes [java::new {byte[]} 3188]; set dataBytes [$cstat getData]; $fos {write byte[]} $dataBytes; $fos close; When I run my code I get expected object of type byte[] but got "java0xc" (java.lang.Object) while executing "$fos {write byte[]} $dataBytes" |
From: Giorgio V. <gio...@me...> - 2010-04-02 12:12:57
|
Hi all, I’m trying to load the Tcl interpreter using ScriptEngineManager. Is there a way add jacl to the engine factories known by the engine? Is jacl JSR 223 compliant? Thank you in advance -- Giorgio Valoti |
From: Tom P. <tpo...@ny...> - 2010-01-12 18:52:42
|
On Thu, Dec 31, 2009 at 01:01:56PM -0500, Garcia, Maurice wrote: > Can anyone help me to do this in TCL Blend: > > > > public static final byte[] intToByteArray(int value) { > > return new byte[] { > > (byte)(value >>> 24), > > (byte)(value >>> 16), > > (byte)(value >>> 8), > > (byte)value}; > > } > > > > > > This does not work??? > > set integer [java::new Integer {254}] > > set bVpnId [java::new {byte[]} 1 [java::cast byte $integer]] > Note that Java byte datatype is signed, so legal values are -128 to +127. To coerce 0-255 into a byte, try: set val 254 set bVpnId [java::new {byte[]} 1 [expr $val > 128 ? [expr $val - 256] : $val]] puts [$bVpnId get 0] I'm more of a Jacl user rather than TclBlend, but since they both share the 'java' package, I believe this also holds true for TclBlend. -- Tom Poindexter tpo...@ny... |
From: Radosław S. <rad...@sz...> - 2010-01-08 18:18:01
|
Great job Bruce! After summer holidays I had an idea to work on Swank. Didn't know that you are SwankGuy :) Keep going on Swank! -- Radek 2010/1/8 Bruce Johnson <nm...@ma...> > I've been madly working on the Swank Canvas lately. Some of it is > described at > > http://wiki.tcl.tk/25389 > > and the pages that are linked from there. > > Some of the stuff described is not yet in a release (or even uploaded to > the Kenai repository), but I'm aiming for one by the end of the month. Also > working on making it easier for me to modify Tk documentation to something > appropriate for Swank. > > > > I'd certainly welcome feedback on this work in progress. > > cheers, > > Bruce (aka swankguy) > > > > > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user > |