Skip to content


Subversion checkout URL

You can clone with
Download ZIP


CB's rebar/compiler machinery seems to ignore erl_opts from rebar.config #288

ztmr opened this Issue · 3 comments

3 participants


This is painful especially when we need to extend include paths like this:

{erl_opts, [
  {i, "deps/whatever/include"}

(I hope it is not problem of our model compiler because I believe it gets the same compiler options as boss_compiler/boss_record_compiler since it's all called via boss_model_manager_adapter stuff.)


You can use the compiler_options config option in boss.config for this.


Our compiler has its own section in config file, so it does not matter if we put it there or to compiler_options in the same config file.

The reason why I was asking for erl_opts inheritance was to simplify some of more complex projects. For example, we have a project which uses standard OTP releases and CB&webapps are built into that project to act as a web management tool. So even if the CB stuff is compiled by boss_compiler/iodb_compiler and the rest of OTP system is built by the standard Erlang compiler, we still want to share at least includes without need to maintain them on two places.

So that's the motivation behind this request...
Of course, it's not a big deal, but would be nice to have it one day :-)

@zkessin zkessin was assigned

Is this something that is still needed or can we close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.