Skip to content
This repository was archived by the owner on Apr 23, 2026. It is now read-only.
This repository was archived by the owner on Apr 23, 2026. It is now read-only.

Process does not continue #29

Description

@cocorossello

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions