Nageshwar -
Apologies, that was my patch that was returning the parent.embeddedHandle.
I was having problems getting the wid using
c.getField(linuxWID).getInt(parent) method on Fedora (core 8) / fedora
eclipse (based on eclipse 3.3.0).
I am having more problems under Ubuntu (8.4
"Hardy"). The c.getField(linuxWID).getInt(parent) method works, but when
vim is started using the ProcessBuilder, it doesn't connect to the
VimServer. I can see the process running, but vim complains
"Vim: Warning: Output is not to a terminal Vim: Warning: Input is not from a
terminal", and eclipse hangs. Vim plugin works properly if vim is started
using p = Runtime.getRuntime().exec(args); [in the org.vimplugin.VimServer
start(args) function]. Might be some environment variable settings, or
maybe just some weird java thing.
On 5/10/08, vim...@li... <
vim...@li...> wrote:
>
>
> Message: 7
> Date: Sat, 10 May 2008 10:03:26 +0530
> From: Nageshwar <nag...@st...>
> Subject: [vimplugin-devel] Problem on windows
> To: "vimplugin mailing list" <vim...@li...>
> Message-ID:
> <1cd...@ma...>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> In the file widhandler.java, parent.embeddedHandle was used to get the
> window Id. This field is not supported
> on eclipse sdk 3.3.2 on windows. I got some errors when I tried to run
> the project reporting that the field doesn't exist.
>
> I replaced the line
> return parent.embeddedHandle;
> with the following.
> return c.getField("embeddedHandle").getInt(parent);
>
> I don't know whether the above code works or not. someone, please
> check this on linux machine and commit the changes.
>
> --
> Best Regards,
> Nageshwar M.
>
>
|