Tomcat and Plugin-Tests [message #1236923] |
Tue, 28 January 2014 12:02 |
Alan DW 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
|
|
|
Powered by
FUDForum. Page generated in 0.03341 seconds