mochijson2 icon indicating copy to clipboard operation
mochijson2 copied to clipboard

mochijson2 included in app error

Open denen99 opened this issue 12 years ago • 3 comments

When trying to include mochijson2 in my app, I get the following error, is there a way to do a conditional include ?

{"init terminating in do_boot","Module mochijson2 potentially included by two different applications: mochijson2 and tsung."}

denen99 avatar Jun 10 '12 19:06 denen99

Sounds like you already have an application that includes mochijson2, do you need mochijson2 as a dependency?

bjnortier avatar Jun 10 '12 20:06 bjnortier

well i just want to set up the reltool.config file properly so if someone else tries to build my app it will conditionally include if needed

denen99 avatar Jun 11 '12 13:06 denen99

I'm not a reltool expert, but there are parameters like

mod_cond include_cond http://erldocs.com/R14B/reltool/reltool.html?i=1&search=reltool

which can be used in the reltool config to specify which modules/apps to include. If there are changes required to support that in this app you can send me a pull request

bjnortier avatar Jun 11 '12 13:06 bjnortier