<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 19 Feb 2012, at 01:24, Tim Watson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><blockquote type="cite">One thing Yaws needs to improve is embedding.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br>I'm pretty sure that since the Yaws build has been rebar-ized, it'll<br>not be too hard to figure out how to modify it to be (a) part of a<br>release instead of a stand alone deployable - if this is not already<br>the case as some on this thread seem to have suggested - and (b)<br>possible to make it easier to embed.</div></span></blockquote></div><br><div>Well, I had my own facepalm moment when I first tried to get embedded yaws</div><div>working in a rebar-generated release, using what was pretty much exactly the </div><div>json_rpc_example from the yaws docs.</div><div><br></div><div>The thing I didn't think of was that rebar releases use embedded code loading by</div><div>default, and I had omitted the 'compiler' app from the release. Because of this,</div><div>yaws couldn't compile the .yaws files.</div><div><br></div><div>A small gripe with yaws is that it gave me no clues about what was wrong.</div><div><br></div><div>Anyway, switching to appmods was very easy, and now, both methods work, as I</div><div>have the compiler app loaded.</div><div><br></div><div>BR,</div><div>Ulf W</div></body></html>