Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Terminate plugin on startup
Terminate plugin on startup [message #1100154] Mon, 02 September 2013 19:12
Miriam Hundemer is currently offline Miriam Hundemer
Messages: 10
Registered: February 2013
Junior Member
Hey all

I am currently developing a plugin that needs to check certain requirements during startup (after I click "run As -> Eclipse Application"), namely if a server with a socket on a certain port is running. If the server is not running the eclipse starup process should be aborted.

What I am currently doing is trying to connect to the socket in the start() method of the plugin's Activator, but no matter what I do when the expected UnknownHostException is thrown the eclipse instance finishes its startup. Sad

Can anyone please help and tell me how to abort the startup of the second eclipse instance???

Thanks for any help.

Miriam

[Updated on: Mon, 02 September 2013 19:13]

Report message to a moderator

Previous Topic:How to checkout map file from GIT ?
Next Topic:How to Create a Console extension
Goto Forum:
  


Current Time: Thu Oct 23 11:58:48 GMT 2014

Powered by FUDForum. Page generated in 0.02128 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software