Annoying issue when compiling mibs
dizzyd at basho.com
Wed Nov 24 00:02:01 EST 2010
On Tue, Nov 23, 2010 at 4:33 PM, Mihai Balea <mihai at hates.ms> wrote:
> I believe this is a slightly incorrect behavior. At a very minimum, the compile process should fail with an error message when an explicitly specified source file is not found. However, an even better approach would be to validate the mib_first_files list and prepend "mibs/" if needed. Also, the same first files logic applies to other file types as well. I have not looked into whether this is an issue but I suspect that these other situations could benefit from a simple source file presence check as well.
Yes, I agree that it should fail if it can't find a specific source
file...I feel like it did at one time, but maybe that is just my
The prepending mibs/ seems less clear to me; it would break the
semantics of other file references (in rebar.config) where you must
provide a fully-qualified file name.
A patch to do the file existence check would be wonderful. :)
More information about the rebar