ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcljava-dev
tcljava-dev
Re: [tcljava-dev] tcl interpr from eclipse plug-in
by Ivan Letvencuk other posts by this author
Aug 9 2007 6:16AM messages near this date
Re: [tcljava-dev] tcl interpr from eclipse plug-in | Re: [tcljava-dev] tcl interpr from eclipse plug-in
Hello Patrick, thanks for interestining in my problem.. :) My English is
little crazy, hope you don't mind..

I'm writing plug-in for Eclipse 3.3 in Java. The concrete problem is next:

   - I have a String that represents tcl script.
   - that script sets some variable with some text
   - and that text is input parameter for (for example)
org.eclipse.swt.Button.setText(text);

I have installed Java jdk 1.6.0 and added jacl.jar and tcljava.jar into.

As I said before, I wrote a simple example (in a simple Java project) and
everything worked like I expected but when I put the same portion of code
into plug-in (Java plug-in project) there is tcl/lang/TclException too.


If you don't understand something that I wrote, let me know and I'll use
some other english words... :)



On 09/08/07, Patrick Finnegan <finnegan.patrick@[...].com>  wrote:
> 
> 
> 
>  On 09/08/07, ivan letvencuk <ivan.letvencuk@[...].com> wrote:
>  >
>  > Hello!
>  >
>  > Is it possible to work with Tcl Interpr within a plugin? When I make a
>  > simple java project in Eclipse that contains something like:
>  >
>  > Interpr i = new Interp();
>  > try {
>  >    interp.eval("puts hello!");
>  > } catch (TclException ex) {
>  >     // Handle Tcl exceptions here ...
>  > }
>  >
>  > everything works just fine but when I try to do the same thing from my
>  > plug-in, tcl/lang/TclException occurs.
>  > Can anyone tell me why?
>  >
>  > Ivan
> 
> 
>  Which plugin?    Java or Tcl?
> 
> 
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by: Splunk Inc.
>  Still grepping through log files to find problems?  Stop.
>  Now Search log events and configuration files using AJAX and a browser.
>  Download your FREE copy of Splunk now >>  http://get.splunk.com/
>  _______________________________________________
>  tcljava-dev mailing list
>  tcljava-dev@[...].net
>  https://lists.sourceforge.net/lists/listinfo/tcljava-dev
> 
> 
Thread:
Ivan Letvencuk
Patrick Finnegan
Ivan Letvencuk
Patrick Finnegan

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved