Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to build a plugin using c?
How to build a plugin using c? [message #78139] Fri, 08 August 2003 15:39 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Sending commands which prompt for further commands
Next Topic:Errror in makefile
Goto Forum:
  


Current Time: Fri Oct 04 02:24:33 GMT 2024

Powered by FUDForum. Page generated in 0.03641 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top