Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process does not continue #29

Open
cocorossello opened this issue Mar 16, 2017 · 1 comment
Open

Process does not continue #29

cocorossello opened this issue Mar 16, 2017 · 1 comment

Comments

@cocorossello
Copy link

Hi,

I'm using this plugin to start my tomee:

task startServer(type: SpawnProcessTask, dependsOn: 'assemble') {
doFirst{
copyDependencies.execute()
copyExploded.execute()

}
command "$buildDir/apache-tomee/bin/catalina.bat run"
environmentVariables =[CATALINA_HOME: "${buildDir}/apache-tomee".toString()]
ready 'Server start'

}

I'm using to setup some system tests:

task systemTest(type: Test) {
doFirst{startServer.execute()}

useJUnit {
    include '**/EndToEndSuite.class'
}
doLast{killServer.execute()}

}

I can see that the server starts, the ready condition is met but the task stops there.

10:13:12.707 [main] INFO org.apache.catalina.startup.Catalina - Server startup in 24332 ms
C:\proyectos\tr2\tr2-web-test\build/apache-tomee/bin/catalina.bat run is ready.

Building 96% > :tr2-web-test:systemTest

@sebastianzillessen
Copy link

Same issue for me, any thoughts on fixing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants