PPCA2014 / ppca_soa

Barramento SOA da Turma PPCA 2014
3 stars 8 forks source link

Erro no rebar compile #25

Closed mhokama closed 9 years ago

mhokama commented 9 years ago

Estou tentando fazer o comando rebar compile e está dando o seguinte erro:

C:\temp\ppca_soa>rebar compile ==> ppca_soa (compile) ERROR: One or more modules listed in ppca_soa.app are not present in ebin/.beam : * ppca_soa_app \ ppca_soa_sup ERROR: compile failed while processing C:/temp/ppca_soa: rebar_abort

evertonagilar commented 9 years ago

Marçal, de acordo com o arquivo de configuração mantido pelo rebar, os módulos que ele tenta compilar são esses: {modules,[ppca_event_mq,ppca_request,ppca_route,ppca_server, ppca_soa,ppca_soa_app,ppca_soa_sup,ppca_util, test_ppca_route]}]}.

Como ninguém mais reportou este erro, tente isso:

git pull rebar get-deps rebar compile

evertonagilar commented 9 years ago

Alias, esses módulos ppca_soa_app e ppca_soa_sup nem foi criado por nós, e sim pelo rebar. Ele criou esses arquivos porque é o padrão em aplicações rebar.

mhokama commented 9 years ago

A sequência de comandos que você enviou deu certo, Everton!

C:\temp\ppca_soa>git pull https://github.com/PPCA2014/ppca_soa From https://github.com/PPCA2014/ppca_soa

C:\temp\ppca_soa>rebar get-deps ==> ppca_soa (get-deps) Pulling jsx from {git,"https://github.com/talentdeficit/jsx","master"} Cloning into 'jsx'... ==> jsx (get-deps)

C:\temp\ppca_soa>rebar compile ==> jsx (compile) Compiled src/jsx_to_term.erl Compiled src/jsx_verify.erl Compiled src/jsx_to_json.erl Compiled src/jsx_encoder.erl Compiled src/jsx_consult.erl Compiled src/jsx_config.erl Compiled src/jsx.erl Compiled src/jsx_parser.erl Compiled src/jsx_decoder.erl ==> ppca_soa (compile) Compiled src/ppca_util.erl Compiled src/ppca_soa_sup.erl src/test_ppca_route.erl:52: Warning: variable 'PidModulo' is unused src/test_ppca_route.erl:69: Warning: variable 'PidModulo' is unused Compiled src/test_ppca_route.erl Compiled src/ppca_soa_app.erl Compiled src/ppca_soa.erl Compiled src/ppca_server.erl src/ppca_request.erl:37: Warning: variable 'From1' is unused src/ppca_request.erl:38: Warning: Non-UTF-8 character(s) detected, but no encodi ng declared. Encode the file in UTF-8 or add "%% coding: latin-1" at the beginni ng of the file. Retrying with latin-1 encoding. src/ppca_request.erl:41: Warning: variable 'From1' is unused src/ppca_request.erl:45: Warning: variable 'From1' is unused src/ppca_request.erl:52: Warning: variable 'PidModulo' is unused src/ppca_request.erl:55: Warning: variable 'From1' is unused src/ppca_request.erl:59: Warning: variable 'From1' is unused src/ppca_request.erl:59: Warning: variable 'Method' is unused Compiled src/ppca_request.erl Compiled src/ppca_log.erl Compiled src/ppca_logger.erl Compiled src/ppca_event_mq.erl src/ppca_route.erl:2: Warning: Non-UTF-8 character(s) detected, but no encoding declared. Encode the file in UTF-8 or add "%% coding: latin-1" at the beginning of the file. Retrying with latin-1 encoding. src/ppca_route.erl:34: Warning: variable 'HeadrDict' is unused src/ppca_route.erl:34: Warning: variable 'Router' is unused src/ppca_route.erl:37: Warning: variable 'Method' is unused src/ppca_route.erl:37: Warning: variable 'Payload' is unused src/ppca_route.erl:37: Warning: variable 'Url' is unused src/ppca_route.erl:40: Warning: variable 'HeadrDict' is unused src/ppca_route.erl:40: Warning: variable 'Router' is unused src/ppca_route.erl:43: Warning: variable 'HeadrDict' is unused src/ppca_route.erl:43: Warning: variable 'Payload' is unused src/ppca_route.erl:43: Warning: variable 'Router' is unused src/ppca_route.erl:46: Warning: variable 'Method' is unused src/ppca_route.erl:46: Warning: variable 'Payload' is unused src/ppca_route.erl:46: Warning: variable 'Url' is unused src/ppca_route.erl:100: Warning: variable 'Payload' is unused src/ppca_route.erl:103: Warning: variable 'Payload' is unused Compiled src/ppca_route.erl Compiled src/aluno.erl

C:\temp\ppca_soa>

Valeu!