|Re: Help running STEM Headless [message #660513 is a reply to message #660321]
||Fri, 18 March 2011 18:54
Registered: July 2009
We're currently developing a simple headless feature that'll run scenarios without the STEM UI. Right now, it's not "true" headless - it requires some type of X subsystem, even though no UI shells are created. We haven't included it in any binary builds yet, but it is checked in - see the org.eclipse.stem.ui.headless plug-in in SVN.
Early documentation available here:
This also builds upon a new feature that will allow you to provide your own STEM "launcher", which will help with your attempts to call STEM programatically.
This feature isn't well-documented yet, but it uses a new extension point called org.eclipse.stem.ui.launchers. See the example in the org.eclipse.stem.ui.headless/plugin.xml file:
In your own plugin, you can create your own launcher class (extends org.eclipse.stem.ui.launcher.Launcher) and register the extension in plugin.xml. You can then use a command-line switch that matches the name of your launcher to invoke it. The above example is named "headless" and looks for the "-headless" switch. If the name was "myheadless", it would look for "-myheadless" when invoking STEM either through the binary or directly through Java.
Will have documentation for launchers available shortly.
Hope this helps!
Powered by FUDForum
. Page generated in 0.01829 seconds