Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [Newbie] Is it kosher for a plug-in to run another program?
[Newbie] Is it kosher for a plug-in to run another program? [message #239133] Thu, 06 May 2004 04:06 Go to next message
Eclipse UserFriend
Originally posted by: kapland.uci.edu

Hope this question isn't too annoying for people. Is it ok for an eclipse
plug-in to execute another program that is not an eclipse plug-in?

Thanks,
Dan
Re: [Newbie] Is it kosher for a plug-in to run another program? [message #239182 is a reply to message #239133] Thu, 06 May 2004 09:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Marko.Schulz.gmx.de

tieTYT wrote:
> Hope this question isn't too annoying for people. Is it ok for an eclipse
> plug-in to execute another program that is not an eclipse plug-in?

Sure. You might be able to integrate the other program better, if it was
a plug-in, but the platform does call external programs itself too, e.g.
when opening resources with external editors or presenting help with an
browser.

HTH

marko
Re: [Newbie] Is it kosher for a plug-in to run another program? [message #239290 is a reply to message #239182] Thu, 06 May 2004 13:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kapland.uci.edu

yes, thanks. That helped a lot. would you mind answering my other question
I posted on the newsgroup if it's not to much trouble? I'll copy and paste
it here:

Hello, hope the topic doesn't make everyone avoid the post.

Anyway, I have 5 weeks to make a plug-in that reads a JAR file for
project/class/method dependencies and outputs this as a graphical call
graph. I'm doing this for a class and it will be an open source project.
Fortunately (or unfortunately) for me, I already have a separate program
that can take a JAR file as input and output the dependencies in a text
file. I also have another program that can take an input file and output it
as a graph. Neither of these programs are Eclipse Plug-Ins.

Now this is my first time working with a group of people and I don't know
much about eclipse or these other two programs I just mentioned. So I'm
wondering how will it be possible to split up this workload between multiple
people.

This is the main thing I'm wondering: Would *I* be able to make a normal
(non-Eclipse plug-in) program that does exactly what I just described above
while someone else just spends the rest of their time studying how to create
an Eclipse plug-in and at the end of the day we just convert my program into
a plug-in? Or is this a very bad way to go about it because, perhaps,
designing a regular program is complllllletely different from designing an
Eclipse plug-in?

Thanks,
Dan

PS: I'd also like to know if this project is conceivable :) I assume it is.
"Marko Schulz" <Marko.Schulz@gmx.de> wrote in message
news:c7dd5o$34l$1@eclipse.org...
> tieTYT wrote:
> > Hope this question isn't too annoying for people. Is it ok for an
eclipse
> > plug-in to execute another program that is not an eclipse plug-in?
>
> Sure. You might be able to integrate the other program better, if it was
> a plug-in, but the platform does call external programs itself too, e.g.
> when opening resources with external editors or presenting help with an
> browser.
>
> HTH
>
> marko
Re: [Newbie] Is it kosher for a plug-in to run another program? [message #239354 is a reply to message #239133] Thu, 06 May 2004 17:04 Go to previous messageGo to next message
Eclipse UserFriend
Both the RMI Plugin for Eclipse and the JDK15 plugin do it all the time.

And if you're not 100% sure - ask a Rabbi :)

Genady

tieTYT wrote:

>Hope this question isn't too annoying for people. Is it ok for an eclipse
>plug-in to execute another program that is not an eclipse plug-in?
>
>Thanks,
>Dan
>
>
>
>

--
Genady Beryozkin
http://www.genady.net/
Re: [Newbie] Is it kosher for a plug-in to run another program? [message #240513 is a reply to message #239290] Tue, 11 May 2004 15:26 Go to previous message
Eclipse UserFriend
Originally posted by: John_Arthorne.oti.com_

While it is possible to integrate a plain Java application into an
Eclipse plug-in, you will probably get much better and faster
integration by going straight for an Eclipse-specific implementation.
The Java development tools in Eclipse have extensive APIs that would
make this kind of computation quite simple. Take a look at the
implementation of the Call Hierarchy plugin in Eclipse as a place to get
started (package org.eclipse.jdt.internal.ui.callhierarchy in plugin
org.eclipse.jdt.ui).
--

tieTYT wrote:
> yes, thanks. That helped a lot. would you mind answering my other question
> I posted on the newsgroup if it's not to much trouble? I'll copy and paste
> it here:
>
> Hello, hope the topic doesn't make everyone avoid the post.
>
> Anyway, I have 5 weeks to make a plug-in that reads a JAR file for
> project/class/method dependencies and outputs this as a graphical call
> graph. I'm doing this for a class and it will be an open source project.
> Fortunately (or unfortunately) for me, I already have a separate program
> that can take a JAR file as input and output the dependencies in a text
> file. I also have another program that can take an input file and output it
> as a graph. Neither of these programs are Eclipse Plug-Ins.
>
> Now this is my first time working with a group of people and I don't know
> much about eclipse or these other two programs I just mentioned. So I'm
> wondering how will it be possible to split up this workload between multiple
> people.
>
> This is the main thing I'm wondering: Would *I* be able to make a normal
> (non-Eclipse plug-in) program that does exactly what I just described above
> while someone else just spends the rest of their time studying how to create
> an Eclipse plug-in and at the end of the day we just convert my program into
> a plug-in? Or is this a very bad way to go about it because, perhaps,
> designing a regular program is complllllletely different from designing an
> Eclipse plug-in?
>
> Thanks,
> Dan
>
> PS: I'd also like to know if this project is conceivable :) I assume it is.
> "Marko Schulz" <Marko.Schulz@gmx.de> wrote in message
> news:c7dd5o$34l$1@eclipse.org...
>
>>tieTYT wrote:
>>
>>>Hope this question isn't too annoying for people. Is it ok for an
>>
> eclipse
>
>>>plug-in to execute another program that is not an eclipse plug-in?
>>
>>Sure. You might be able to integrate the other program better, if it was
>>a plug-in, but the platform does call external programs itself too, e.g.
>>when opening resources with external editors or presenting help with an
>>browser.
>>
>>HTH
>>
>>marko
>
>
>
Previous Topic:Help!jvm exit with code 13
Next Topic:Workspace not being read on new computer
Goto Forum:
  


Current Time: Thu Jul 17 19:36:50 EDT 2025

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

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

Back to the top