I am trying to build something with a cowboy 0.6.0 dependency. I have cowboy in lib/cowboy, but it apparently has a dependency on proper 1.0. I have run rebar -C rebar.tests.config get-deps, and I have moved lib/cowboy/deps/proper to lib/proper, but I am still seeing the following error.
Unable to find include "proper/include/proper.hrl" when processing module: dispatcher_prop
I have also tried adding the following to my sinan.config
{dep_constraints,
[{lager, "1.0.0"},
{syslog, "0.0.1"},
{lager_syslog, "0.9.0"},
{proper, "1.0"},
{cowboy, "0.6.0"},
{flake, "0.7"},
{mochiweb, "2.3.2"},
{work_queue, "0.1.0"}]}.
I have also tried adding proper to applications in: lib/cowboy/src/cowboy.app.src
Am I missing something?
Here is some more output:
sinan -vvv build
starting: depends
Using the following lib directories to resolve dependencies:
/home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib
/usr/lib/erlang/lib
compile time dependencies:
work_queue 0.1.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/work_queue-0.1.0
mochiweb 2.3.2 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/mochiweb-2.3.2
flake 0.7 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/flake-0.7
cowboy 0.6.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/cowboy-0.6.0
proper 1.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/proper-1.0
lager_syslog 0.9.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/lager_syslog-0.9.0
syslog 0.0.1 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/syslog-0.0.1
lager 1.0.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/lager-1.0.0
runtime dependencies:
kernel 2.15.1 : /usr/lib/erlang/lib/kernel-2.15.1
stdlib 1.18.1 : /usr/lib/erlang/lib/stdlib-1.18.1
crypto 2.1 : /usr/lib/erlang/lib/crypto-2.1
syntax_tools 1.6.8 : /usr/lib/erlang/lib/syntax_tools-1.6.8
compiler 4.8.1 : /usr/lib/erlang/lib/compiler-4.8.1
xmerl 1.3.1 : /usr/lib/erlang/lib/xmerl-1.3.1
public_key 0.15 : /usr/lib/erlang/lib/public_key-0.15
ssl 5.0.1 : /usr/lib/erlang/lib/ssl-5.0.1
inets 5.9 : /usr/lib/erlang/lib/inets-5.9
project applications:
lager 1.0.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/lager-1.0.0
work_queue 0.1.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/work_queue-0.1.0
cowboy 0.6.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/cowboy-0.6.0
flake 0.7 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/flake-0.7
mochiweb 2.3.2 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/mochiweb-2.3.2
proper 1.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/proper-1.0
syslog 0.0.1 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/syslog-0.0.1
lager_syslog 0.9.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/lager_syslog-0.9.0
cellophane 0.1.0 : /home/wilzajac/cellophane.sinan/cellophane/_build/cellophane/lib/cellophane-0.1.0
starting: build
Building /home/wilzajac/cellophane.sinan/cellophane/lib/flake/src/flake_app.erl
Building /home/wilzajac/cellophane.sinan/cellophane/lib/flake/src/flake_server.erl
Building /home/wilzajac/cellophane.sinan/cellophane/lib/flake/src/persistent_timer.erl
Building /home/wilzajac/cellophane.sinan/cellophane/lib/flake/src/flake_util.erl
Building /home/wilzajac/cellophane.sinan/cellophane/lib/flake/src/flake_sup.erl
Building /home/wilzajac/cellophane.sinan/cellophane/lib/flake/src/flake_harness.erl
Building /home/wilzajac/cellophane.sinan/cellophane/lib/flake/src/flake.erl
Unable to find include "proper/include/proper.hrl" when processing module: dispatcher_prop
Thanks in advance,
Bill