I have created an Eclipse plugin with OSGi framework. 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.