I think if someone can get this up and running as a first attempt in a Git repo (to enable easy installation) I think this would quickly gain support and contributors.

I've created a git repository in which this plugin should live: https://github.com/forge/plugin-hibernate-tools . If either of you would like to work on it, let me know and I can add you as team-members on that repo.

Max, could you do me a favor and just put the plugin stuff you already started in there? It can compile or not, I just need to see what you've got. Give me the ingredients and we can do some baking.

~Lincoln

On Thu, Apr 7, 2011 at 10:56 AM, Max Rydahl Andersen <max.andersen@redhat.com> wrote:

> Unfortunately the database reverse-engineering plugin is still under development. We actually have it working, but the plugin was never released or updated for Alpha3. Actually, I think Max has things mostly done, if you're interested you might be able to get it working pretty easily using the plugin writing section of the guide:
>
> http://docs.jboss.org/forge/1.0.0.Alpha3/reference/en-US/html_single/#forge.plugin.dev
>
> Max, what would you say it would take to get this working on Alpha3? Is Hibernate-tools in maven yet?

It's just a matter of someone lending a hand and willing to work on it.

The code is utterly simple, just need someone to help maintain it. "it" being hibernatetools + forge integration.

/max

>
> ~Lincoln
>
> On Thu, Apr 7, 2011 at 10:46 AM, brian <brianx@vt.edu> wrote:
> Lincoln,
>
> Is there a how-to for the case where I have an existing
> database/entities?
>
> I think what I'd like to do is either (a) gen entities from my database
> or (b) update my existing entities with EJB3/JB6 annotations... then gen
> the front-end.
>
>
> On Thu, 2011-04-07 at 10:26 -0400, Lincoln Baxter, III wrote:
> > Hi Brian,
> >
> > If you get stuck, try pressing <TAB> or press <ENTER> and you will be
> > prompted for the missing arguments, with a list of available options.
> >
> > In this case, however, just type:
> >
> >         persistence setup --provider HIBERNATE --container JBOSS_AS6
> > Hope this helps!
> >
> > ~Lincoln
> >
> > On Thu, Apr 7, 2011 at 10:18 AM, brian <brianx@vt.edu> wrote:
> >         Hi folks I'm just getting started using
> >         http://docs.jboss.org/forge/1.0.0.Alpha3/reference/en-US/html_single/#forge-generate.webapp.javaee
> >
> >         and step 4, the persistence, is a little vague to me
> >         syntactically:  how
> >         about an example, say using Hib and JB6?
> >
> >         I'm sure there's a FAQ, and this question is possibly on it.
> >          Can
> >         someone point me at it?
> >
> >         Thanks in advance.  Looking forward to using Forge!
> >         -Brian
> >
> >
> >
> >         _______________________________________________
> >         forge-users mailing list
> >         forge-users@lists.jboss.org
> >         https://lists.jboss.org/mailman/listinfo/forge-users
> >
> >
> >
> > --
> > Lincoln Baxter, III
> > http://ocpsoft.com
> > http://scrumshark.com
> > "Keep it Simple"
>
>
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.com
> http://scrumshark.com
> "Keep it Simple"

/max
http://about.me/maxandersen






--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"