<div dir="ltr">Hey Antonio!<div><br></div><div>Again, more excellent feedback! Thank you!</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="font-family:arial,sans-serif;font-size:13px">First, I really don&#39;t see the difference between scaffolding and code generation (I&#39;ve mention that before). So, for me, as a user, jpa-new-entity is a command that generates code, just like scaffold-generate. But if we clarify this, users might get use to it.</span></blockquote>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Scaffolding basically is code generation. Right now there is nothing interactive or re-consumable about it.</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Regarding the fact that you weren&#39;t able to see anything about JSF. I believe this is likely due to this issue that we identified in Beta4 and have fixed and tested for .Final --&gt; </span><font face="arial, sans-serif"><a href="https://issues.jboss.org/browse/FORGE-1407" target="_blank">https://issues.jboss.org/browse/FORGE-1407</a></font></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">For example. This is still a bit strange because unless you have multiple scaffolds installed, you don&#39;t see the choice of scaffold type, but when I run scaffold setup in the latest SNAPSHOT, I see:</font></div>
<div><font face="arial, sans-serif"><br></font></div><div>







<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><b>[</b></span>jpa-demo<span class=""><b>]</b></span>$ scaffold-<br>
scaffold-generate  scaffold-setup  <br><span class=""><b>[</b></span>jpa-demo<span class=""><b>]</b></span>$ scaffold-setup --facesVersion 2.<br>2.2  2.1  2.0  <br><span class=""><b>[</b></span>jpa-demo<span class=""><b>]</b></span>$ scaffold-setup --facesVersion 2.2 </blockquote>




</div><div class="gmail_extra"><br></div><div class="gmail_extra">Additionally, when I type `--provider` manually without using TAB completion, then TAB complete the value, I do see the provider option, so there may still be something wrong with the fix for FORGE-1407:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">







<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><b>[</b></span>main<span class=""><b>]</b></span>$ scaffold-setup --provider Faces </blockquote>
<div> </div><div class="gmail_extra">~Lincoln</div><br><br><div class="gmail_quote">On Sat, Jan 4, 2014 at 12:46 PM, Antonio Goncalves <span dir="ltr">&lt;<a href="mailto:antonio.mailing@gmail.com" target="_blank">antonio.mailing@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Scaffolding is really confusing. To scaffold my JSF pages I first need to install scaffolding : <div>
<br>
</div><div><font face="courier new, monospace">forge -i scaffold<br></font><div><br></div><div>And then, once in Forge I do :</div>
<div><br></div><div><font face="courier new, monospace">scaffold-setup</font></div><div><font face="courier new, monospace">scaffold-generate --targets org.test.model.Customer</font></div><div><br></div><div>And it generates JSF pages. Nowhere I see any mention of JSF in the previous commands. These commands could have generated REST endpoint, EJBs, AngularJS....</div>


<div><br></div><div>First, I really don&#39;t see the difference between scaffolding and code generation (I&#39;ve mention that before). So, for me, as a user, jpa-new-entity is a command that generates code, just like scaffold-generate. But if we clarify this, users might get use to it.</div>


<div><br></div><div>When I type <font face="courier new, monospace">forge -i scaffold</font>, it installs plenty of stuff. Does this mean it installs all the available scaffolding addons (JSF, REST, AngularJS, Arquillian...) ? If not, I don&#39;t know what it installed. Why don&#39;t we have : <br>


<div class="gmail_extra"><br></div><div class="gmail_extra"><font face="courier new, monospace">forge -i scaffold-jsf<br>forge -i scaffold-jpa<br>forge -i scaffold-rest<br>forge -i scaffold-soap</font></div><div class="gmail_extra">


<br></div><div class="gmail_extra">or even better if we follow the new naming convention<br><div class="gmail_quote"><br></div><div class="gmail_quote"><div class="gmail_extra"><font face="courier new, monospace">forge -i jsf-scaffold<br>


forge -i jpa-scaffold</font></div><div class="gmail_extra"><font face="courier new, monospace">forge -i rest-scaffold</font></div><div class="gmail_extra"><font face="courier new, monospace">forge -i soap-scaffold</font></div>


<div><br></div></div><div class="gmail_quote">Again, when I type <font face="courier new, monospace">scaffold-generate</font> I really don&#39;t know what will happen. Because scaffolding and generating are the same for me. So command <font face="courier new, monospace">scaffold-generate</font> sounds like <font face="courier new, monospace">generate-generate</font> or <font face="courier new, monospace">scaffold-scaffold</font>. Why not having : </div>


<div class="gmail_quote"><br></div><div class="gmail_quote"><font face="courier new, monospace">jsf-scaffold  --targets org.test.model.Customer</font></div><div class="gmail_quote"><div class="gmail_quote"><font face="courier new, monospace">jpa-scaffold  --dbName myDB --jdbcDriver org.apache.derby.Client</font></div>


<div></div><div class="gmail_quote"><font face="courier new, monospace">rest-scaffold  --targets org.test.model.Customer</font></div><div><div class="gmail_quote"><font face="courier new, monospace">soap-scaffold  --targets org.test.model.Customer</font></div>


</div><div><br></div></div><div class="gmail_quote">What do you think ?</div><div class="gmail_quote">Antonio</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">2014/1/4 George Gastaldi <span dir="ltr">&lt;<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div>The JSF scaffold was not installed with core in Beta4. We fixed that for 2.0.0.Final. Run forge -i scaffold to install it.</div>


<div><br></div><div>Worth to mention that the available commands only generate the REST resource for the entities, the JSF scaffold does not consume them.</div><div><br>Em 04/01/2014, ąs 13:53, Antonio Goncalves &lt;<a href="mailto:antonio.mailing@gmail.com" target="_blank">antonio.mailing@gmail.com</a>&gt; escreveu:<br>


<br></div><div><div><blockquote type="cite"><div><div dir="ltr">I can&#39;t see any command for REST of JSF scaffolding, so I suppose both are addons. How do I install these addons ?</div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014/1/4 George Gastaldi <span dir="ltr">&lt;<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div>REST generation from JPA entities is already functional too. </div>


<div>Use rest-setup and rest-endpoint-from-entity </div>
<div><br>Em 04/01/2014, ąs 11:52, Antonio Goncalves &lt;<a href="mailto:antonio.mailing@gmail.com" target="_blank">antonio.mailing@gmail.com</a>&gt; escreveu:<br><br></div><div><div><blockquote type="cite"><div>
<div dir="ltr">Hum... I forgot, I also need REST scaffolding.... might be a bit tight in schedule....</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/3 George Gastaldi <span dir="ltr">&lt;<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>&gt;</span><br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="auto"><div>Both issues are now fixed. JSF scaffolding is ready since Beta4. </div>


<div><br></div><div>We could release Beta5 monday but as we said in the IRC, 2.0.0.Final is due in Jan 15th, so that&#39;s up to Lincoln.</div>

<div><br></div><div>Best Regards,</div><div><br></div><div>George</div><div><br>Em 03/01/2014, ąs 19:04, Antonio Goncalves &lt;<a href="mailto:antonio.mailing@gmail.com" target="_blank">antonio.mailing@gmail.com</a>&gt; escreveu:<br>




<br></div><div><div><blockquote type="cite"><div><div dir="ltr">Hi JBoss Forge Team,<div><br></div><div><div class="gmail_extra"><div>I should have mentioned that before, but next Tuesday (at the Lille JUG in France) and Thursday (London, GlassFish User Group), I&#39;ll be giving a talk on JBoss Forge. It&#39;s the same one I gave at JavaOne (<a href="http://blog.arungupta.me/2013/12/come-and-play-with-javaee7-javaone-2013-session/" target="_blank">http://blog.arungupta.me/2013/12/come-and-play-with-javaee7-javaone-2013-session/</a>) but with few extra features.</div>





<div><br></div><div>I&#39;m doing it with Forge 1.x.... but actually, the only missing bits to make it run with Forge 2.x are : </div><div><br></div><div>* Bean Validation (<a href="https://issues.jboss.org/browse/FORGE-1393" target="_blank">https://issues.jboss.org/browse/FORGE-1393</a>)</div>





<div>* Java enums (<a href="https://issues.jboss.org/browse/FORGE-1400" target="_blank">https://issues.jboss.org/browse/FORGE-1400</a>)</div><div>* JSF scaffolding</div><div><br></div><div>So I was just wondering if this would be available on Monday for a Beta5 so I could use it</div>





<div><br></div><div>Thank</div><div><br></div><div>(just joking ;o)</div><div><br></div><div><br></div>-- <br>Antonio Goncalves <br>Software architect and Java Champion<br><br><a href="http://www.antoniogoncalves.org/" target="_blank">Web site</a> | <a href="http://twitter.com/agoncal" target="_blank">Twitter</a> | <a href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a> | <a href="http://www.parisjug.org/" target="_blank">Paris JUG</a> | <a href="http://www.devoxx.fr/" target="_blank">Devoxx France</a>
</div></div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>forge-users mailing list</span><br><span><a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a></span><br>




<span><a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a></span></div></blockquote></div><br>_______________________________________________<br>





forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Antonio Goncalves <br>




Software architect and Java Champion<br><br><a href="http://www.antoniogoncalves.org/" target="_blank">Web site</a> | <a href="http://twitter.com/agoncal" target="_blank">Twitter</a> | <a href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a> | <a href="http://www.parisjug.org/" target="_blank">Paris JUG</a> | <a href="http://www.devoxx.fr/" target="_blank">Devoxx France</a>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>forge-users mailing list</span><br><span><a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a></span><br>



<span><a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a></span></div></blockquote></div></div></div><br>_______________________________________________<br>




forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Antonio Goncalves <br>



Software architect and Java Champion<br><br><a href="http://www.antoniogoncalves.org/" target="_blank">Web site</a> | <a href="http://twitter.com/agoncal" target="_blank">Twitter</a> | <a href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a> | <a href="http://www.parisjug.org/" target="_blank">Paris JUG</a> | <a href="http://www.devoxx.fr/" target="_blank">Devoxx France</a>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>forge-users mailing list</span><br><span><a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a></span><br>


<span><a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a></span></div></blockquote></div></div></div><br>_______________________________________________<br>



forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br>

<br clear="all"><div><br></div>-- <br>Antonio Goncalves <br>
Software architect and Java Champion<br><br><a href="http://www.antoniogoncalves.org/" target="_blank">Web site</a> | <a href="http://twitter.com/agoncal" target="_blank">Twitter</a> | <a href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a> | <a href="http://www.parisjug.org/" target="_blank">Paris JUG</a> | <a href="http://www.devoxx.fr/" target="_blank">Devoxx France</a>
</font></span></div></div></div></div>
<br>_______________________________________________<br>
forge-users mailing list<br>
<a href="mailto:forge-users@lists.jboss.org" target="_blank">forge-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-users" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lincoln Baxter, III<br>

<a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>&quot;Simpler is better.&quot;
</div></div>