I have installed Eclipse Escripts plugin, but it does not seem to have proper documentation and I am very new to Eclipse JDT API.
I am trying to write a script which can run Server
and several Client
s with just one click using Escripts. Server and Client are Run Configuration what I have in Eclipse.
This an example of a script which can open a new project wizard
<?xml version="1.0"?>
<escript>
<action id="org.eclipse.jdt.ui.actions.OpenProjectWizard">
<dialog title="New Java Project">
<!-- Enter the project name in the dialog and finish the wizard: -->
<enter text="Escripts Examples - Java Project"/>
<click button="Finish"/>
</dialog>
</action>
</escript>
So my guess is that I need to change action
to something like org.eclipse.jdt.launching
and specify run configuration inside inner XML-tags. I have found this page for JDT, but cannot find proper action to Run a project.
Any one can help me to come up with script which can run existing Run Configuration
?