2

I have a particular executable that I would like to integrate in my Eclipse RCP Framework. Is it possible to wrap the exe in a bundle, define the startingpoints and parameters and start it as a separate tool from my framework? The other question refers to the other way round. Can I retrieve returnvalues from an executable bundle or even exchange parameters/values/something on the fly?

Thank you

cojack20
  • 403
  • 1
  • 5
  • 13

1 Answers1

0

I don't know any existing framework which does that but you can run the executable with Apache Commons Exec or ProcessBuilder in a custom bundle which registers it as service. It obviusly needs some coding and it will be platform dependent, exe files runs on Windows.

This question also could help: Including additional resources with OSGi bundles

Community
  • 1
  • 1
palacsint
  • 28,416
  • 10
  • 82
  • 109