<div dir="ltr">Thank you all guys, I managed to generate the code using JCodeModel, is inside the JDK and it seems good.<div><br></div><div>Do you know that ??</div><div><br></div><div>About Obj-C I only need to generate the code, not to parse it.</div>

<div><br></div><div>Any other hint ?</div><div><br></div><div>Thank you.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/17 Lincoln Baxter, III <span dir="ltr">&lt;<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Luca,<div><br></div><div>I&#39;m sorry, I&#39;ve been meaning to answer your email for (blush) a few days now. It looks like Vineet finally beat me. I wasn&#39;t sure what to tell you about the Objective-C mapping stuff. I don&#39;t know how that would be integrated.</div>


<div><br></div><div>Do you need to parse and understand the Objective-C, or do you just want to &quot;spit it out&quot; ?</div><div><br></div><div>~Lincoln</div></div><div class="gmail_extra"><div><div class="h5"><br><br>

<div class="gmail_quote">
On Wed, Jul 17, 2013 at 5:30 AM, Vineet Reynolds Pereira <span dir="ltr">&lt;<a href="mailto:vpereira@redhat.com" target="_blank">vpereira@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
Hi Luca,<br>
<br>
   You could use MetaWidget again to generate the Java entities and JAX-RS endpoints, although I think it would be better to do it with a combination of both Metawidget (to generate sections of the classes) and the Forge Java Parser API, in combination with a templating language like Freemarker. I have to admit though that I don&#39;t have an answer on generating the Objective-C portions.<br>



<br>
Vineet<br>
<div><div><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Luca Masini&quot; &lt;<a href="mailto:luca.masini@gmail.com" target="_blank">luca.masini@gmail.com</a>&gt;<br>
&gt; To: &quot;forge-dev List&quot; &lt;<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>&gt;<br>
&gt; Sent: Friday, July 12, 2013 7:18:16 PM<br>
&gt; Subject: [forge-dev] Core Data Forge Plugin<br>
&gt;<br>
&gt; Hi guys, I&#39;m developing a thin framework with the target of allow synch<br>
&gt; between an iOS App and a Java EE Server.<br>
&gt;<br>
&gt; The idea is yet working, we developed a Core Data Incremental Store and a<br>
&gt; Java EE 6 application that can answer to the Incremental Store events.<br>
&gt;<br>
&gt; Now the next step is to generate everything staring from the Core Data Model,<br>
&gt; designed inside XCode.<br>
&gt;<br>
&gt; Basically, the model is simply an XML file, from which I want to generate:<br>
&gt;<br>
&gt; 1) Objective C mapping for the Incremental Store<br>
&gt; 2) Java Entities that map the same model<br>
&gt; 3) JAX-RS end-point<br>
&gt;<br>
&gt; Of course I want to develop a forge plugin and here I need your advices.<br>
&gt;<br>
&gt; When I started developing the forge-errai-plugin last year I used the<br>
&gt; fantastic MetaWidget framework, but now I think that is not the right tool<br>
&gt; for the job.<br>
&gt;<br>
&gt; So, what do you think is the best way, using forge, to make those generators<br>
&gt; ?<br>
&gt;<br>
&gt; Thank you.<br>
&gt;<br>
&gt; L.<br>
&gt;<br>
&gt; --<br>
&gt; ****************************************<br>
&gt; <a href="http://www.lucamasini.net" target="_blank">http://www.lucamasini.net</a><br>
&gt; <a href="http://twitter.com/lmasini" target="_blank">http://twitter.com/lmasini</a><br>
&gt; <a href="http://www.linkedin.com/pub/luca-masini/7/10/2b9" target="_blank">http://www.linkedin.com/pub/luca-masini/7/10/2b9</a><br>
&gt; ****************************************<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; forge-dev mailing list<br>
&gt; <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;
</font></span></div>
<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>****************************************<br>

<a href="http://www.lucamasini.net">http://www.lucamasini.net</a><br><a href="http://twitter.com/lmasini">http://twitter.com/lmasini</a><br><a href="http://www.linkedin.com/pub/luca-masini/7/10/2b9">http://www.linkedin.com/pub/luca-masini/7/10/2b9</a><br>

****************************************
</div>