JSF + Google App Engine

3 respostas
vinicius_roc

Boa noite,

estou tentando criar uma aplicação usando o seguinte tutorial: http://www.patternizando.com.br/2011/04/jsf-2-0-com-richfaces-4-0-no-google-app-engine-gae/.

Porém não esta dando certo =/.

Ja tentei como dynamic web project e web project do google e não funciona =/

Em anexo esta a estrutura de pastas.

Eu testei a mesma aplicação no Tomcat e funcionou. E no google quando vou fazer o deploy ele exibe a mensagem de erro:

Missing required argument ‘module[s]’
Google Web Toolkit 2.3.0
Compiler [-logLevel level] [-workDir dir] [-gen dir] [-style style] [-ea] [-XdisableClassMetadata] [-XdisableCastChecking] [-validateOnly] [-draftCompile] [-optimize level] [-compileReport] [-strict] [-localWorkers count] [-war dir] [-deploy dir] [-extra dir] module[s]

where

-logLevel               The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL

-workDir                The compilers working directory for internal use (must be writeable; defaults to a system temp dir)

-gen                    Debugging: causes normally-transient generated types to be saved in the specified directory

-style                  Script output style: OBF[USCATED], PRETTY, or DETAILED (defaults to OBF)

-ea                     Debugging: causes the compiled output to check assert statements

-XdisableClassMetadata  EXPERIMENTAL: Disables some java.lang.Class methods (e.g. getName())

-XdisableCastChecking   EXPERIMENTAL: Disables run-time checking of cast operations

-validateOnly           Validate all source code, but do not compile

-draftCompile           Enable faster, but less-optimized, compilations

-optimize               Sets the optimization level used by the compiler.  0=none 9=maximum.

-compileReport          Create a compile report that tells the Story of Your Compile

-strict                 Only succeed if no input files have errors

-localWorkers           The number of local workers to use when compiling permutations

-war                    The directory into which deployable output files will be written (defaults to war)

-deploy                 The directory into which deployable but not servable output files will be written (defaults to WEB-INF/deploy under the -war directory/jar, and may be the same as the -extra directory/jar)

-extra                  The directory into which extra files, not intended for deployment, will be written

and

module[s]               Specifies the name(s) of the module(s) to compile

Oque estou fazendo de errado?

Valew

3 Respostas

vinicius_roc

Eu descobri!!

Ele tava configurar para usar GWT e eu não estava usando, por isso dava o problema.

Agora meu problema é outro. Mando fazer o deploy e sai as seguintes informações no log:

Created staging directory at: ‘C:\Users\vinroc\AppData\Local\Temp\appcfg5747727595662642232.tmp’
Scanning for jsp files.
Scanning files on local disk.
Initiating update.
Cloning 1 static files.
Cloning 33 application files.
Uploading 0 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.
Closing update: new version is ready to start serving.
Uploading index definitions.
Deployment completed successfully

E no fim não sobe nada. =/

Oque sera que estou fazendo de errado? Pq sera que esta dando esse erro?

Valew

vinicius_roc

Criei uma aplicação nova no appengine para ver se o problema estava relacionado e dessa vez ele fez o upload, mas só de um arquivo =/.

O que esta faltando?

Valew

vinicius_roc

Alguem?? Hoje eu ja tentei mais, mas ele ainda não sobe os arquivos =/

Valew

Criado 4 de agosto de 2011
Ultima resposta 5 de ago. de 2011
Respostas 3
Participantes 1