"azerr" wrote : anonymous wrote : Please send a *patch* and not just an updated
plugin.
|
| I have sent you my Freemarker updated, because I would like that you see my new
feature and that you validate it. I have change a lot of code like package name, so
I'm waiting for your validation.
|
Yes, I received it; but please send it as a *patch*.
anonymous wrote :
| anonymous wrote :
| | Hibernate tools can also generate different artifacts; nothing special about that.
| I agree with you, but when you want generate any component, you must respect some
rules, like have java classes bean in your project. Imagine you want generate components
for PHP, Hibernate mapping is used to get metadata of your database (with Hibernate
Tools), BUT you need not to have Bean classes when you want generate components like PHP
page.
|
You only need the java classes in your project if you haven't specified all the types
of your mapping files. e.g. when you generate pojo's you just need the mapping files -
no classes; otherwise hbm2java could not be possible.
anonymous wrote :
| If you want use others XML model, like XMI, WSDL, ... is it possible to use Hibernate
Tool for generate component without XML mapping hibernate but with WSDL, XMI,... XML
models?
|
| anonymous wrote : ditto for Hibernate Tools.
| I'm sorry, I don't understand what you mean? Is it possible with Hibernate
Tools, to generate Bean, DTO and Assembleur (which transform Bean to DTO and DTO to
Bean)?
|
We don't have those implemented (except "bean), but nothing in the tools prevents
it.
anonymous wrote :
| anonymous wrote : In Hibernate Tools these are called "Exporters"; we
don't have a generic way of describing them but if someone wants to add it feel free
;)
| Akrogen is not bulk generator. When you develop a new CRUD Form, you want generate
ONLY components for this form (just the ActionForm for instance, because others
developpers has for instance already developped another components that you don't want
generate), sometimes, you want update name of your CRUD form, sometimes you want update
others parameters. Hibernate Tools is bulk generator, Akrogen is not bulk generator. It
generate ONLY the component for a XML model that you need.
|
| If you take the functionnality Source/Generate getter/setter in the Eclipse, you can
checked the getter/setter that you want generate and not all the getter/setter of your
class. Akrogen have the same goal.
|
I don't get your "bulk" argument here ? Hibernate tools defaults to generate
for all entities and components but that can of course be controlled by the exporter if
you want to.....and adding a "generate only *this* part" is of course
possilbe....
If I understand your docs at
http://akrogen.sourceforge.net/generation/wizard.html you
have some nice wizard page generation which if I understand it correctly is something that
would be nice to have for our Exporters (today we "just" have an table where you
can set the property values)
This page
http://akrogen.sourceforge.net/generation/component.html I
don't get ...the template looks waay more complex than what I would think is
necessary....but maybe I just don't believe in too generic code generation ;)
tip: If you want users to understand Akrogen features you should try and document it with
some better examples, the current page is very sparse on information.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995516#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...