aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Plugin with OSGi framework Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse Plugin with OSGi framework" Watch "Eclipse Plugin with OSGi framework" New topic
Author

Eclipse Plugin with OSGi framework

Rl Kumar
Greenhorn

Joined: Jun 28, 2009
Posts: 6
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
Lars Vogel
Ranch Hand

Joined: Oct 10, 2007
Posts: 55
Hello,

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

Hope this helps.

Best regards, Lars


Tutorials about Java, Eclipse and Webprogramming http://www.vogella.de
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse Plugin with OSGi framework
 
Similar Threads
How can I provide command line arguments to a method in a Eclipse Plugin?
JSF in jetty-equinox, Cannot find Bean classes in other bundles!
OSGi as a Java standard
SpringIDE plugin for RAD 7.5
How flexible the application is?