@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">On Wed, Mar 21, 2012 at 4:30 PM, Edson Tirelli <span dir="ltr">&lt;<a href="mailto:ed.tirelli@gmail.com">ed.tirelli@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">

<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 class="HOEnZb"><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>_______________________________________________<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> - 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>
</div>