Jason, This will be fixed in the next release of Cloud Tools for Eclipse.
In the meantime you should be able to use the `appcfg.sh` command [1] to upload your cron.xml (`appcfg.sh help update_cron`) and `queue.xml` (`appcfg.sh help update_queues`). You'll need to use the `-A` argument to specify your Project ID if you don't have an `<application/>` element in your appengine-web.xml. Brian. [1] appcfg.sh is from the App Engine SDK for Java <https://cloud.google.com/appengine/docs/standard/java/download> and not included in the Google Cloud SDK. But it's a simple wrapper around a jar that is included in the Google Cloud SDK: $ java -cp $GOOGLE_CLOUD_SDK_HOME/platform/google_appengine/google/appengine/tools/java/lib/appengine-tools-api.jar com.google.appengine.tools.admin.AppCfg [args] > On 31-Mar-2017, at 9:18 PM, Jason <[email protected]> wrote: > > What if you are not using a Maven-based project? I created a non-maven > project and it is not uploading my queue.xml or cron.xml either. > > On Wednesday, March 15, 2017 at 3:23:46 AM UTC-7, Nicola Spreafico wrote: > If you're using a Maven-based project, by default implementation of the Maven > Plugin only the app.yaml file (the application itself) is deployed. > > If you need to deploy the cron, queue and index as well, you need to > configure the deployables configuration with all the files > Please see this issue > <https://github.com/GoogleCloudPlatform/app-maven-plugin/issues/143> where I > posted a configuration example. > > With the default configuration of the Maven plugin, your configuration will > be something like this: > <deployables> > <param>target/appengine-staging/app.yaml</param> > <param>target/appengine-staging/cron.yaml</param> > <param>target/appengine-staging/queue.yaml</param> > <param>target/appengine-staging/index.yaml</param> > </deployables> > > Il giorno martedì 14 marzo 2017 22:35:19 UTC+1, Daniel Garrido ha scritto: > Hi all, > > I have tried to create a cron task using cron.xml file: > > <?xml version="1.0" encoding="UTF-8"?> > <cronentries> > <cron> > <url>/save</url> > <description>daily summary job</description> > <schedule>every 2 minutes</schedule> > </cron> > </cronentries> > > When I deploy my app to app engine using Google Cloud Tools for Eclipse, the > cron task is not being created (it doesn't appear in the console). > > I tested the same example using the old Eclipse plugin and it worked. > > It seems that the cron.xml file is not being uploaded. Documentation > (https://cloud.google.com/appengine/docs/standard/java/config/cron > <https://cloud.google.com/appengine/docs/standard/java/config/cron>) says > that I have to upload cron tasks using appcfg. This is automatically > performed by the eclipse plugin. > > Finally, I used appcfg and the cron task was created. > > I am wondering if I can do the same using the new Google Cloud Tools in an > automatic way. > > Best regards, > Daniel. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/google-appengine > <https://groups.google.com/group/google-appengine>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/735dac15-28f2-4b86-893f-6c9f103768d1%40googlegroups.com > > <https://groups.google.com/d/msgid/google-appengine/735dac15-28f2-4b86-893f-6c9f103768d1%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/50C97C9D-CC66-4274-8A59-AD3C048979C7%40gmail.com. For more options, visit https://groups.google.com/d/optout.
