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 HundemerFriend
Messages: 12
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.


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

Report message to a moderator

Previous Topic:How make application like Eclipse?
Next Topic:How to Create a Console extension
Goto Forum:

Current Time: Fri Apr 27 05:04:05 GMT 2018

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

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