<div dir="ltr">Either add the generated code into the src/main of the project your rules are in. Or create a separate model jar and add the generated code there, then set this model jar as a dependency of your main project.<div>
<br></div><div>Mark<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 17, 2014 at 9:28 PM, Joe White <span dir="ltr"><<a href="mailto:Joe.White@recondotech.com" target="_blank">Joe.White@recondotech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">We are starting to take a look at using the KIE workbench to expose some decision tables to our users. The original idea is to use generated java from a proto buffer schema as the model. I’ve got the jar building and imported into KIE.
The challenge I’m running into is that the proto buff java doesn’t contain the member definitions in a way that the KIE can see them. So I get all of the classes but can’t access the actual data elemetns.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Has anybody tried this? Or know of a way to take a proto schema (or generated code) and import it as the model for KIE?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="color:#1f497d">Joe</span><span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br></div></div></div>