• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse Plugin with OSGi framework

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have created an Eclipse plugin targeted to run with OSGi framework=Equinox. In my plugin project I have defined a class with a main method. The main method is defined so that while executing the plugin jar user inputs can be taken from command prompt.

I am trying to modify the Activator.java class to call the main method. But have no clue how to handle it.

Is my approach correct? If yes, Can you please suggest me how can I call the main method with user arguments in the Activator.java.

If not, Please sugest me how can I handle the same.

Thanks
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

this tutorial describes the creation of OSGi bundles and how to run them: OSGi with Eclipse Equinox.

Hope this helps.

Best regards, Lars
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic