[ACCELEO] How to make Acceleo to use my model? [message #669806] |
Wed, 11 May 2011 15:15 |
|
I'm trying to follow the entity generation screncast at tinyurl.com/5rjnzzc (acceleo.org) but the problem is that java source files for my own sample UML classes are not generated. Instead only the following files are generated:
src/main/java/fr/obeo/sample/dao/SampleDaoFactory.java
src/main/resources/dao.properties
src/main/resources/hibernate.cfg.xml
src/main/resources/sample-contraints.sql
src/main/resources/sample-ddl.sql
src/test/java/fr/obeo/sample/dao/test/AllSampleDaoTests.java
Any idea? I'm using Topcased 4.3.0 and Acceleo 2.8.0 in Eclipse Helios SR2.
Harri
|
|
|
|
|
|
Re: [ACCELEO] How to make Acceleo to use my model? [message #670295 is a reply to message #669945] |
Fri, 13 May 2011 12:21 |
|
Stephane Begaudeau wrote on Thu, 12 May 2011 03:24Yes, you can find an example of UML to Java generation in Acceleo: File -> New -> Example -> Acceleo Model to Text -> UML to Java.
Thanks for helping! I found it and I'm going to add support for Hibernate annotations. Before that I should learn how to define stereotype for Hibernate entities. Have you got examples about it?
Stephane Begaudeau wrote on Thu, 12 May 2011 03:24Or you can also find an UML to Java generator for Acceleo 3.1 (which will be released in 5/6 weeks) that I'm working on
Great! Is 3.1 going to be released for Eclipse Helios or just for Indigo?
Harri
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01819 seconds