Hi Luca,
the plugin which is now in
https://github.com/errai/forge-errai
(master) is a basic set of errai facets, which allows you to
create
an errai facet (either bus, cdi, jaxrs or ui) and generate an
example skeleton, which is quite good for start I would say :)
But once you look at it, you realize that it is very similar to
what maven-archetypes can do for you.
So, the idea now is to "extend" current functionality into a tool,
which will be able to interact directly with development...
imagine eg. Eclipse IDE extracting interfaces or generating
getters/setters for attributes
And therefore current development (
https://github.com/pslegr/forge-errai/tree/2.0)
adds such functionality like
- Generate a
@Remote interface for a service class(recursively or for
specified type)
- generating empty Service class templates
- handling marshaling by adding annotations (@Portable) or
defining types in the ErraiApp.properties (recursively or for
specified type)
... and this is just a start
That branch 2.0 is under development now and new features will be
popping up as time goes.
Hope that helped
cheers
Pavel
On 11/02/2012 11:08 AM, Luca Masini wrote: