<div dir="ltr">Thanks, Vineet! Clicking on the checkbox did the job. Now I remember that for the last demo (in Macedonia) I also had to select it.<div><br></div><div>Cheers,</div><div>Ivan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 15, 2015 at 4:08 PM, Vineet Reynolds Pereira <span dir="ltr"><<a href="mailto:vpereira@redhat.com" target="_blank">vpereira@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
----- Original Message -----<br>
> From: "Vineet Reynolds Pereira" <<a href="mailto:vpereira@redhat.com">vpereira@redhat.com</a>><br>
> To: "forge-dev List" <<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>><br>
</span><span class="">> Sent: Thursday, January 15, 2015 7:37:06 PM<br>
> Subject: Re: [forge-dev] Issue with Angular scaffold generation<br>
><br>
><br>
> We had to change the AngularJS scaffold to optionally generate the REST<br>
> resource classes.<br>
> That's because we didnt want to keep regenerating the "backend" everytime the<br>
> scaffold-generate command was executed,<br>
> and also to retain changes in the "backend" that are not over-written during<br>
> scaffold-generate.<br>
<br>
</span>Oh, and also because if you generate REST resources separately using the rest-generate-endpoints-from-entities command, then they are not overwritten.<br>
<div class="HOEnZb"><div class="h5"><br>
> There should be a parameter (--generateRestResources) for this in the CLI and<br>
> an equivalent checkbox in the GUI dialog.<br>
><br>
><br>
> ----- Original Message -----<br>
> > From: "Ivan St. Ivanov" <<a href="mailto:ivan.st.ivanov@gmail.com">ivan.st.ivanov@gmail.com</a>><br>
> > To: "forge-dev List" <<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>><br>
> > Sent: Thursday, January 15, 2015 7:27:00 PM<br>
> > Subject: [forge-dev] Issue with Angular scaffold generation<br>
> ><br>
> > Hi folks,<br>
> ><br>
> > While I was preparing tonight's demo for Barcelona JUG, I found something<br>
> > really strange.<br>
> ><br>
> > Whenever you try to generate Angular scaffold, it generates everything<br>
> > besides the JAX-RS endpoints for the selected entities.<br>
> ><br>
> > Here are the steps to reproduce it:<br>
> ><br>
> > 1) Create new project<br>
> > 2) Add new JPA entity, setting up Wildfly as container and taking the<br>
> > defaults. Choose Conference as entity name<br>
> > 3) Add new field, choose name as name and leave the defaults for the other<br>
> > entries<br>
> > 4) Generate scaffold. Make sure you choose Angular, select the Conference<br>
> > entity and click Finish<br>
> ><br>
> > You will notice that we have all the web resources generated fine, also the<br>
> > Application class (required by JAX-RS) is there, but not the stateless<br>
> > session EJB, which scaffolds the conference entity.<br>
> ><br>
> > I tried also to first setup scaffolding and then generate, but the result<br>
> > was<br>
> > the same - no EJB.<br>
> ><br>
> > JSF scaffolding works fine. Generating REST endpoints from entities works<br>
> > fine too.<br>
> ><br>
> > I tried this with JBDS and IntelliJ IDEA.<br>
> ><br>
> > I am pretty sure it used to work some time ago. I demoed the same thing in<br>
> > Macedonia last November and it worked.<br>
> ><br>
> > Cheers,<br>
> > Ivan<br>
> ><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>
_______________________________________________<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>
</div></div></blockquote></div><br></div>