How to build a plugin using c? [message #78139] |
Fri, 08 August 2003 15:39 |
Eclipse User |
|
|
|
Originally posted by: sagi_perel.yahoo.com
Hi.
I'm kind of new to Eclipse, but seems a nice enough IDE.
Just read the plug in tutorial, and I have an engine I wrote in C- which I
want to make to an Eclipse plugin. (My engine goes over a given code and
checks it and does all sorts of things. Works great from the command line
in the shell...)
In the plugin tutorial- they only said that I can build plugings in Java.
Is there anyway to integrate my plugin (which is compiled into a binary
file now) into Eclipse- without building it anew in Java?
Basicly - my plugin gets a text file, and returns a text file. There's got
to be a way to make Eclipse use it...
|
|
|
Re: How to build a plugin using c? [message #78159 is a reply to message #78139] |
Fri, 08 August 2003 16:46 |
Eclipse User |
|
|
|
Originally posted by: burner.zclipse.org
On Fri, 08 Aug 2003 15:39:57 +0000, Sagi wrote:
> Hi.
>
> Is there anyway to integrate my plugin (which is compiled into a binary
> file now) into Eclipse- without building it anew in Java?
What about building a thin JNI wrapper? Then you could easily build your
plugin around that.
>
> Basicly - my plugin gets a text file, and returns a text file. There's got
> to be a way to make Eclipse use it...
If your app can be called from the commandline, you should just be able to
do a Runtime.exec() call with the proper arguments. That would be simpler
than building a JNI wrapper, if your program fits that model.
mike
--
http://zclipse.org
|
|
|
Powered by
FUDForum. Page generated in 0.02408 seconds