Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How do I implement Run->Run
How do I implement Run->Run [message #1749454] Tue, 06 December 2016 23:25 Go to next message
Jim Steed is currently offline Jim SteedFriend
Messages: 6
Registered: December 2016
Junior Member
I am trying to implement my own Project Nature for my plugin. I want to be able to run my project by calling a function through the JNI. Is this possible? How do I access the callback for Run->Run or otherwise tell Eclipse to run my method when the user Runs my project?
Re: How do I implement Run->Run [message #1749513 is a reply to message #1749454] Wed, 07 December 2016 16:18 Go to previous messageGo to next message
Jim Steed is currently offline Jim SteedFriend
Messages: 6
Registered: December 2016
Junior Member
I found "LaunchConfigurationDelegate" but it looks like I can't test this in my plugin, because I can't press Run when I'm Run'ning my plugin.
Re: How do I implement Run->Run [message #1749519 is a reply to message #1749513] Wed, 07 December 2016 17:17 Go to previous messageGo to next message
Jim Steed is currently offline Jim SteedFriend
Messages: 6
Registered: December 2016
Junior Member
Edit: Removed because it seemed like the wrong path to take. I should ship my plugin as a Jar, not as an Eclipse application, so I shouldn't need a product file, not sure but going with that for now.

[Updated on: Wed, 07 December 2016 20:34]

Report message to a moderator

Re: How do I implement Run->Run [message #1749546 is a reply to message #1749519] Thu, 08 December 2016 01:41 Go to previous message
Jim Steed is currently offline Jim SteedFriend
Messages: 6
Registered: December 2016
Junior Member
I was able to quickly add my own Run menu for my editor and access my JNI functions. I wish it was as easy to access Run->Run and Project->Build Project. I can't get either of those to go into a method I write.
Previous Topic:Maven project import
Next Topic:Creating project error!
Goto Forum:
  


Current Time: Fri Apr 26 17:26:09 GMT 2024

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

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

Back to the top