Ahh, got it. Yeah, in that case the command I've shown is what you want. Should work OK. Let me know?


On Wed, Jan 2, 2013 at 1:21 PM, Robb Greathouse <robb.greathouse@jboss.com> wrote:
No, I'm doing a presentation to show how easy rapid development is with JBoss stuff.

So, I am doing the TicketMonster example with Forge.

Basically, going to demo first generating a MVC project with Forge.  Then show that by cutting a pasting the generated GUI and backing beans we can very rapidly create very real world functionality.

Then add it security and rules engine and jbpm to support complex flows.

Robb Greathouse
Partner Enablement
Middleware Business Unit
JBoss, a Division of Red Hat
cellphone 505-507-4906

----- Original Message -----
> Best place to ask questions like these are over on
> forge-dev@lists.jboss.org, but since it's the new year ;)
>
> "java new-enum-type {package} {quoted class body}"
>
> But, if you are writing an addon, the best way to do this is using
> the JavaParser API, not with the Shell UI. I don't recommend calling
> plugins via the shell from other plugins.
>
> ~Lincoln
>
> ----- Original Message -----
> From: "Robb Greathouse" <robb.greathouse@jboss.com>
> To: "Lincoln Baxter" <lbaxter@redhat.com>
> Sent: Thursday, December 27, 2012 8:21:11 PM
> Subject: Can you give me an example of an ENUM class in forge?
>
> Hi,
>
> I am trying to generate a class of type enum.  Mean that instead of,
>
> public emun MediaType{
>
>
> }
>
> instead of
>
> public class MediaType[
>
>
> }
>
> doing
>
> entity --named doesn't work  any suggestions?
>
> Robb Greathouse
> Partner Enablement
> Middleware Business Unit
> JBoss, a Division of Red Hat
> cellphone 505-507-4906
>
>
_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev



--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."