Re: [tcljava-dev] tcl interpr from eclipse plug-in
Brought to you by:
mdejong
|
From: ivan l. <iva...@gm...> - 2007-08-09 13:16:14
|
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 <fin...@gm...> wrote:
>
>
>
> On 09/08/07, ivan letvencuk <iva...@gm...> 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
> tcl...@li...
> https://lists.sourceforge.net/lists/listinfo/tcljava-dev
>
>
|