Mike Mike - 2 months ago 17
Java Question

How to invoke an Eclipse plugin from command line?

if I have a plugin that validates code in Eclipse to a particular standard/spec, is it possible to invoke that plugin from the command line, passing source files as arguments?

Thanks

jzd jzd
Answer

Example:

java -jar plugins\org.eclipse.equinox.launcher_1.0.0.v20070523.jar -consoleLog 

-console -nosplash -application Console.ConsoleStatistics file:///c:/temp/test.aaxl

From: https://wiki.sei.cmu.edu/aadl/index.php/Creating_Headless_(Command_Line)_Plugins

Comments