Hi
>> I've only started working on this tool, so it's a work in progress. No
>> actual command line tool or Maven plugin is available yet, so its
>> functionality is tested only in wadlto/jaxrs tests. There are quite a
>> few things that needs to be fixed/improved re the code generation and
>> then at the next stage re resolving schema references, etc. But I hopw
>> we can get something ready in time for 2.4.1 or 2.4.2 at the latest.
>>
>> I'll update you once I have the basic Maven/cmdline support for it,
>
> Ok I was not aware that this tool is still work in progress. In our context
> we don't require a Maven plugin or a command line program as we directly
> integrate the JAXRSContainer class (this is why we expect a Maven artifact).
> We will try as it and report issues if any.
That is impressive, you are working so fast, I only started committing
last Friday :-)
It has to available in the snapshots repo, perhaps the build did not
complete yesterday.
At the moment JAXRSContainer can generate interfaces and/or
implementations, it relies on
resource elements (those representing root resources or resource
methods) having 'id' attributes,
however, it all can be defaulted.
Ex, if a root resource has the id "{http://service}BookStore" then a
BookStore.java will be created in the 'service' package. If id is
"BookStore" then the package name can be configured. If no id is then
package name and resource name can be provided.
If a resource representing a method or collection of methods has say
"getName" id then it will be used, otherwise it will be just "get()" -
I'm still looking into making sure the generation is ok when no ids
are provided at all.
Compilation is not working yet, the sources are actually ok and the
compilation works in my other tests, just hasn't managed to integrate
yet with the tools utility compilation code...
The early feedback will be welcomed
Cheers, Sergey
>
> A+
> Philippe
>
>
--
Sergey Beryozkin
Application Integration Division of Talend
http://sberyozkin.blogspot.com