bmuschko / gradle-cargo-plugin

Gradle plugin that provides deployment capabilities to local and remote containers via Cargo
Apache License 2.0
258 stars 63 forks source link

cargoDeployRemote context root #175

Closed sandeep-khanna closed 5 years ago

sandeep-khanna commented 5 years ago

Trying to separate out current Eclipse and embedded Tomcat deployment model to deploying and debugging remotely...

Our web application is currently deployed to the root '/' context. Does cargo or the gradle-cargo-plugin support remote deployment to the root context?

Here is a snippet from our Gradle build file:

cargo {
    containerId = 'tomcat8x'
    port = 80

    deployable {
        context = 'ROOT'
    }

    remote {
        hostname = 'remote-host'
        username = 'admin'
        password = 'password'
    }
}
sandeep-khanna commented 5 years ago

This actually works with a standalone or Cargo daemon created Tomcat server instance. It does not work with an Eclipse embedded instance.