Any help?
2011/3/14 Nicolas GIRARDIN <ngir...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
>
I've removed my modules from the application.conf and put them in the
dependencies.yaml like this:
require:
- play
- play -> siena [1.5,)
- play -> gae [1.4,)
- org.jsoup -> jsoup [1.5.2,)
- joda-time -> joda-time [1.6.2,)
I've removed everything under the myapp/lib and myapp/modules folders,
and runned "play dependencies". All dependencies are downloaded and
I've got the following situation:
$ls myapp/lib
jsoup-1.5.2.jar
$ls myapp/modules/
gae-1.4 siena-1.5
and again, when doing a "play gae:deploy" always the same:
Java.lang.IllegalStateException: Found a jar file too large to upload:
"/tmp/appcfg2061634415147847640.tmp/WEB-INF/application/modules/gae-1.4/lib/provided-appengine-local-runtime.jar".
Consider using --enable_jar_splitting.
I'am doing the things right, adding modules in the dependencies.yaml?
Is there a reason that modules are downloaded in the
application/modules folder instead of play/modules?
Nicolas
2011/3/15 David Wursteisen <david.wu...@gmail.com>:
I think you're alright, the myapp/modules/gae-1.4/libs is full of huge jar:
$ls myapp/modules/gae-1.4/lib$ ll -h
total 55M
4.0K ./
4.0K 2011-03-15 11:11 ../
13M appengine-api-1.0-sdk-1.4.0.jar
1.5M appengine-api-labs-1.4.0.jar
16K appengine-jsr107cache-1.4.0.jar
8.8M appengine-tools-api.jar
16K geronimo-jta_1.1_spec-1.1.1.jar
7.9K jsr107cache-1.1.jar
9.7K play-gae.jar
288K provided-appengine-agentimpl.jar
34K provided-appengine-agent.jar
79K provided-appengine-agentruntime.jar
13M provided-appengine-api.jar
1.5M provided-appengine-api-labs.jar
2.4M provided-appengine-api-stubs.jar
9.8M provided-appengine-local-runtime.jar
6.0M provided-appengine-testing.jar
I think they are need for the compilation, but "play war" and
"gae:deploy" should not pack them.
Am I alright?
Nicolas
2011/3/15 Nicolas Girardin <ngir...@gmail.com>:
Am I alright?
Nicolas
thanks David, your work around worked as expected!
So what's the long term solution? I read this doc, but can't find the information that I need. Should we update it?
Could you give me more informations about the "provided" option?
Nicolas
I assume that you know how Maven works pretty well, unfortunnaly I'm a
near-total noob on this subject... :(
I think that I'm not the only one trying to deploy an application to
GAE, and this bug could affect many people. Should somebody let me
know if I should open a ticket?
Nicolas
2011/3/15 David Wursteisen <david.wu...@gmail.com>: