Re: [tcljava-user] Creating an Eclipse plug-in for TclBlend
Brought to you by:
mdejong
From: Mo D. <md...@un...> - 2005-08-22 18:58:35
|
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 |