Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Tomcat and Plugin-Tests
Tomcat and Plugin-Tests [message #1236923] Tue, 28 January 2014 12:02
Alan DW is currently offline Alan DWFriend
Messages: 119
Registered: March 2012
Senior Member
Hello everyone,

I have a quick question: Is it possible to launch an existing Eclipse Run Configuration from the Java code of an Eclipse Plugin?

The reason for this is that I have a lot of JUnit-Plugin-Tests that rely on the fact that the Tomcat server (controlled by Eclipse) is running. Therefore, I'm looking for a way to execute the "Tomcat Server at Localhost" launch configuration directly from my JUnit Plugin-Test Suite before I run the tests. Also, can I somehow check if Tomcat is running on the localhost already so that I don't accidentally start it twice if the test suite is executed multiple times?


Thank you,


Alan
Previous Topic:Headless refactoring plugin problem
Next Topic:Document is parsed two times when opened
Goto Forum:
  


Current Time: Thu Apr 25 05:49:16 GMT 2024

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

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

Back to the top