Hi folks,

I'm trying to use yaws in embedded mode, as a rebar dependency.

I had a little bit of head scratching before I realized that currently, the rebar support only extends to the local install.

To work around this, I simply hardcoded yaws_generated:is_local_install/0 to return false, before all the code loading paths worked properly.

My questions are:

1. Would code:priv_dir/1 not work properly when installed locally? It seems to work from the shell, so please ignore my ignorance (no pun intended! honest!!! ;) )

2. What is the work involved in making rebar support non local installs properly? I am willing to do this work, with a bit of guidance from someone more familiar with the code and history. I took a quick peek at all the references to yaws_generated:is_local_install(), and from my naive look, it seems these are easily taken care of, but I do not know if that's the only problem with the rebar support.

Essien Ita Essien