deploy just one file update.

864 views
Skip to first unread message

John V Denley

unread,
Oct 4, 2010, 6:57:29 AM10/4/10
to Google App Engine
I cant seem to find any information anywhere about how to deploy/
upload just one file.

Its possible I'm not looking in the right places, but also I use
eclipse so I have never had to do any manual manipulation of any
files.

The Simplest example of what I want to do is to simply update the
standard.css file with a new setting, without having to deploy the
entire application.

Or equally I might need to make a small change to my <appname>.html
file but without having to deploy the entire application.

This is similar to doing an FTP to my hosting server, but as I say I
cant seem to find any information about how to do this with app
engine!

Any help pointing me in the right direction on this would be greatly
appreciated

Thanks,
J

Nick Johnson (Google)

unread,
Oct 4, 2010, 8:12:10 AM10/4/10
to google-a...@googlegroups.com
Hi John,

The upload tool (appcfg) only updates modified files. Files that have been uploaded previously are checked for modifications, but not uploaded.

-Nick Johnson


--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.




--
Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047

John Denley

unread,
Oct 4, 2010, 8:30:37 AM10/4/10
to google-a...@googlegroups.com
Hi Nick,

Thanks, I actually just noticed that on my last update. So my question really should have been, how can I run the "deploy" without running the "compile" bit in eclipse (or out of eclipse) if thats whats needed?

so on the following log entries, how can I only do the bit from "Uploading 1 files." onwards?:

...<snip>...
Linking into C:\eclipse\iDeBanet\war\Register.
   Link succeeded
   Compilation succeeded -- 25.152s
Creating staging directory
Scanning for jsp files.
Compiling jsp files.
Scanning files on local disk.
Scanned 250 files.
Scanned 500 files.
Scanned 750 files.
Initiating update.
Cloning 195 static files.
Cloned 100 files.
Cloning 574 application files.
Cloned 100 files.
Cloned 200 files.
Cloned 300 files.
Cloned 400 files.
Cloned 500 files.
Uploading 1 files.
Uploaded 1 files.
Initializing precompilation...
Deploying new version.
Will check again in 1 seconds.
Will check again in 2 seconds.
Will check again in 4 seconds.
Will check again in 8 seconds.
Will check again in 16 seconds.
Will check again in 32 seconds.
Will check again in 60 seconds.
Closing update: new version is ready to start serving.
Uploading index definitions.
Uploading cron jobs.
Uploading task queues.
Deployment completed successfully
Reply all
Reply to author
Forward
Message has been deleted
0 new messages