Hi Mo,
Remember I asked about creating an Eclipse plugin for TclBlend? Well,
I've successfully
created an Eclipse plugin. I was wondering if the TclJava developers
were interested in
my changes?
My changes required very little changes to the TclJava code.
I also went ahead and updated the configure and Makefile.in files. Now
if a user uses
the --enable-eclipseplugin --with-eclipse=<ECLIPSE_INSTALL_DIR> then
they should
be able to build the Eclipse plugin.
The Eclipse plugin requires that Tcl was built statically (i.e.
--disable-shared). This is so the
plugin does not have to rely on Tcl being install on the users system in
order to use it. It makes
is self-contained.
The Eclipse plugin is two separate plugins:
tcl.lang_1.3.2.jar
-and-
tcl.lang.<os>.<arch>_1.3.2/ <-- this is a fragment for the tcl.lang
plugin (platform specific).
The fragment contains a lib/tcl8.4 directory and this is where the
init.tcl file wil be sourced
when the pluginin is used.
Let me know if you're interested in having my changes. I've only tested
building the plugin on
Linux. However, I'm working on a Solaris test.
Regards,
Greg Pierce
LSI Logic Corp.
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
>
>
>
>
|