Sam Youtsey
Sam Youtsey

Reputation: 884

Scripting Eclipse

I'm wondering if it's possible to script certain actions of Eclipse itself. I'd like to be able to start a server, stop it, etc. Is this possible and if so, how?

Edit: I'd like to be able to do this so I can run certain server commands just through an SSH connection, no physical interaction required. Thanks.

Upvotes: 12

Views: 2044

Answers (6)

HRJ
HRJ

Reputation: 17787

As of June 2014, the latest official scripting initiative seems to be:

EASE

The project is still under incubation.

Upvotes: 1

Christian
Christian

Reputation: 456

Regarding the answer from vonC: Eclipse scripting got really active again in the last view weeks. Currently the development takes place at github: https://github.com/adaussy/EScriptMonkey We are striving for a dedicated project in the e4 incubator. A first prototype will be available by end of October. Interested parties may visit the "Scripting baby" session at EclipseCon Europe 2013.

Upvotes: 0

Jhon Camacho
Jhon Camacho

Reputation: 63

You would probably want to check: http://www.viplugin.com/scripteclipse.htm

I am using it to run JavaScripts inside Eclipse to automate some tasks.

Upvotes: 2

VonC
VonC

Reputation: 1326776

Note that Martin OBERHUBER announced in his blog (April 2012):

I've started a new initiative to get scripting support back home to Eclipse.org and unify the fragmented landscape a bit.

So:

..., that topic might finally evolve.

Upvotes: 4

jiggy
jiggy

Reputation: 3826

I think it is not supported OOTB. You can configure external tools which are basically just canned command lines that you can pass workbench variables. You can write scripts externally in Perl, Python or whatever and invoke them as external commands. The output can be captured in a console tab and you configure it to trigger a workspace rebuild and/or refresh.

Upvotes: 2

g051051
g051051

Reputation: 1041

Eclipse has a headless mode, mainly tailored for headless builds, but you might be able to leverage that for your purposes. You'll probably have to create your own application or plugin to handle what you want, assuming that the features you need aren't GUI dependent. Search Google for "eclipse headless" to get started.

Upvotes: 1

Related Questions