User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In this presentation there's an example of a DDE server in Eclipse. Now,
having used DDE years ago, I'm not too fond of it. We had problems with
the client getting locked up if the server (I mean the program you were
trying to launch and send an open file message to) didn't come up for
some reason. Also it's been deprecated for a long time.
In the fileopen project I used a different approach based on sockets. It
was inspired by emacsclient, if you've ever used that. I didn't do the
actual launching though, just communicating with a running Eclipse. But
this kind of communication-from-the-outside thing is really powerful
(especially if you start letting it do more than just open files, but
then you have to keep security in mind). Also being based on sockets it
was portable. See:
I don't actually use it myself; one problem is that you have to have
this seperate client program that is registered somehow, and another is
what do you do if there are two or three Eclipse processes running?
Anyway, feel free to use anything in there if you find it valuable.