<div><br></div>   Mauricio,<div><br></div><div>   Just to clarify, the change from the previous approach to this approach with Protobuf is a low level change that should not affect existing features... I mean, it changes the binary format, but not the higher level APIs/use cases. </div>
<div><br></div><div>   Edson<br><br><div class="gmail_quote">On Wed, Mar 21, 2012 at 1:55 PM, Mauricio Salatino <span dir="ltr">&lt;<a href="mailto:salaboy@gmail.com">salaboy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
@Kris, we need to look at this as soon as possible to define how jBPM5 will do the serialization.<div>Do you have any idea about this topic? or we need to start thinking how are going to work all the different approaches?</div>


<div>Cheers<br><br><div class="gmail_quote"><div><div class="h5">On Wed, Mar 21, 2012 at 4:30 PM, Edson Tirelli <span dir="ltr">&lt;<a href="mailto:ed.tirelli@gmail.com" target="_blank">ed.tirelli@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

<div><br></div>   All,<div><br></div><div>   As we started using Protobuf, it is important to know how you make changes to .proto files and how to compile them. Easiest way:</div><div><br></div><div>1. Download protobuf compiler from: <a href="http://code.google.com/p/protobuf/downloads/list" target="_blank">http://code.google.com/p/protobuf/downloads/list</a></div>



<div><br></div><div>2. Install protobuf-dt eclipse plugin as detailed here: <a href="http://code.google.com/p/protobuf-dt/" target="_blank">http://code.google.com/p/protobuf-dt/</a></div><div><br></div><div>3. Configure the destination directory to generate the java files as detailed in step 2 here:</div>



<div><br></div><div><a href="http://code.google.com/p/protobuf-dt/wiki/IntegrationWithProtoc" target="_blank">http://code.google.com/p/protobuf-dt/wiki/IntegrationWithProtoc</a><br></div><div><br></div><div>Set the &quot;Java Output Directory&quot; to: src/main/java</div>



<div><br></div><div>4. VERY IMPORTANT FOR JBPM: jBPM Flow project has a .proto file that extends the data types defined in the .proto file in Drools Core, so you need to configure the protobuf import path as detailed here:</div>



<div><br></div><div><a href="http://code.google.com/p/protobuf-dt/wiki/ImportPaths" target="_blank">http://code.google.com/p/protobuf-dt/wiki/ImportPaths</a></div><div><br></div><div>Add the following import paths to the jbpm-flow project:</div>



<div><br></div><div>${your drools-core project in eclipse}/src/main/resources</div><div>${your_drools_flow_project}/src/main/resources</div><div><br></div><div>   After doing that, when you edit and save the .proto files, eclipse will automatically compile and regenerate the java source code for them.</div>


<span><font color="#888888">
<div><br></div><div>   Edson</div><div> </div><div><div><br></div>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com" target="_blank">www.jboss.com</a><br>
</div>
</font></span><br></div></div>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br> - MyJourney @ <a href="http://salaboy.wordpress.com" target="_blank">http://salaboy.wordpress.com</a><div> - Co-Founder @ <a href="http://www.jugargentina.org" target="_blank">http://www.jugargentina.org</a><br>


 - Co-Founder @ <a href="http://www.jbug.com.ar" target="_blank">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -</div><br>
</font></span></div>
<br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>