Reputation: 302
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
Upvotes: 4
Views: 6637
Reputation: 2039
You can create new headless application and run it through the command line. Here is a simple "hello word" example.
http://www.developertesting.com/archives/month200508/20050823-HeadlessHelloWorldInEclipse.html
Upvotes: 3
Reputation: 23639
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
Upvotes: 4