[forge-users] generate-entities just generates way to plain ojo's

Ronald Van Kuijk rvkuijk at gmail.com
Tue Jun 14 03:22:43 EDT 2011



Op 13 jun. 2011 om 17:33 heeft "Lincoln Baxter, III" <lincolnbaxter at gmail.com> het volgende geschreven:

> $FORGE_HOME = where you installed forge.

:-) sorry, should have been more clear. I run from the source, so do a maven exec:java from the dist folder, so there is no real  I've set FORGE_HOME outside forge on my real shell and also tried to set it inside forge to this dist folder, the parent etc, Both do not seem to work. But Since it does not pose a real problem for now, I'll look into it later.

Cheers,

Ronald

> 
> Max, thoughts?
> ~Lincoln
> 
> On Mon, Jun 6, 2011 at 10:33 PM, Ronald van Kuijk <rvkuijk at gmail.com> wrote:
> Hi,
> 
> I've seen issue https://issues.jboss.org/browse/SEAMFORGE-46 being resolved, So I thought I'd give it a try. Building forge from source and adding all relevant plugins from source as well (to make sure I have all the latests things), I tried:
> 
> generate-entities --driver com.mysql.jdbc.Driver --url jdbc:mysql://127.0.0.1:3306/forge-test --dialect org.hibernate.dialect.MySQL5InnoDBDialect --user **** --password ****
> 
> After putting the driver in the pom of the dist project (where is $FORGE_HOME/lib? setting it to whatever seems not to work) I get some classes. However, they are in no way entities. No annotations whatsover Not even a @Entity, let alone @ID, @Column where needed, nothing, only composite keys are generated and many2one and one2many relations are detected. Any idea what I might be doing wrong?
> 
> I'm using:
> MySQL 5.1.56
> java version "1.6.0_20"
> OpenJDK Runtime Environment (IcedTea6 1.9.7) (fedora-52.1.9.7.fc14-i386)
> OpenJDK Server VM (build 19.0-b09, mixed mode)
> maven 3.0.2
> MySQL driver 5.1.16
> Anybody any ideas? Using the latest jboss tools from eclipse 3.6.1 it works perfectly
> 
> Cheers,
> 
> Ronald
> (working on creating a primefaces plugin and extending the richfaces/metawidget/scaffolding and enhancing the hibernate plugin for dao's)
> 
> _______________________________________________
> forge-users mailing list
> forge-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-users
> 
> 
> 
> 
> -- 
> Lincoln Baxter, III
> http://ocpsoft.com
> http://scrumshark.com
> "Keep it Simple"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-users/attachments/20110614/e70f956a/attachment.html 


More information about the forge-users mailing list