All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.appengine.task.appcfg.UpdateDispatchTask.groovy Maven / Gradle / Ivy

Go to download

Gradle plugin that provides tasks for uploading, running and managing Google App Engine projects.

There is a newer version: 1.9.51
Show newest version
package com.google.appengine.task.appcfg

/**
 * Google App Engine task updating dispatch configuration on the server.
 *
 * To be used on the "default" module, will not work on EAR
 * See Dispatch Docs
 */
class UpdateDispatchTask extends AppConfigTaskTemplate {
    static final String COMMAND = 'update_dispatch'

    @Override
    String startLogMessage() {
        'Starting update-dispatch process...'
    }

    @Override
    String errorLogMessage() {
        'An error occurred updating the dispatch file on App Engine.'
    }

    @Override
    String finishLogMessage() {
        'Finished updating dispatch file.'
    }

    @Override
    List getParams() {
        [COMMAND, getWebAppSourceDirectory().canonicalPath]
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy