Problem deploying vaadin7 to Google App Engine due to: gwt-unitCache-000001

Google tools do not allow me to deploy application due to:

Beginning interaction for module default...
0% Created staging directory at: 'D:\cygwin\tmp\appcfg1467547992556114831.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.

java.io.IOException: File D:\cygwin\tmp\appcfg1467547992556114831.tmp\VAADIN\gwt-unitCache\gwt-unitCache-00000143681BC78B is too large (limit 32000000 bytes).
[color=#FF0000]
[b]
Unable to update app: File D:\cygwin\tmp\appcfg1467547992556114831.tmp\VAADIN\gwt-unitCache\gwt-unitCache-00000143681BC78B is too large (limit 32000000 bytes).
[/b]
[/color]

Here is the gwt-unitCache directory content:

$ ls -lah target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681*
----------+ 1  Domain Users  70M Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681BC78B
rw--r--r--+ 1 Domain Users 106K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681CFE83
rw--r--r--+ 1  Domain Users 9.6K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681CFEF0
rw--r--r--+ 1  Domain Users  38K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681CFF10
rw--r--r--+ 1  Domain Users  45K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681CFF3E
rw--r--r--+ 1  Domain Users 7.1M Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681CFF4E
rw--r--r--+ 1  Domain Users 222K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681D0F08
rw--r--r--+ 1  Domain Users  29K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681D1262
----------+ 1  Domain Users  19K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681D16C5
----------+ 1  Domain Users 119K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681D1925
----------+ 1  Domain Users  20K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681D1ADB
----------+ 1  Domain Users  14K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681D1AFA
----------+ 1  Domain Users  14K Jan  6 16:12 target/gui/VAADIN/gwt-unitCache/gwt-unitCache-00000143681D1C42

I know google has it’s own limitations descdribed here https://developers.google.com/appengine/docs/java/#Java_Quotas_and_limits but:

  • is there a way to force compiler to split cache files so the size fits to google limits?
  • or, is there something I can do to slim cache files - perhaps some guidelines on building the UI?

Please advise.

Hi,

the gwt-unitCache directory is used for caching compilation results in order to speed up further compiles. You should not deploy these at all, so please remove the whole directory from your deployable artifact and it should fix the issue.

That’s works for me, thanks :slight_smile: