hi Thierry,
my thought was, that ANT is capable in building things out of templates,
so I can choose which edition to build in that properties file. As far
as I know, there is no such mechanism in maven. Every maven project will
have exactly one groupId, there is no (easy) way to persuade maven to
build several editions from more or less the same code.
Of course it is possible to set maven dependencies to different editions.
But back to our original topic:
I found out, that everything works well, when I use @Post- Annotation
instead of @Post("json"). Of course I have to change the method's return
type to String if I do so. When I use the JsonConverter, the problem
(Method not allowed) came up.
During my tests I got the feeling, that inheritance (so if the annotated
method is in a parent class of the actual restlet) didn't work well, but
I can not validate that feeling.
Greetings,
Alex
On 21.10.2010 16:21, Thierry Boileau wrote:
> Hi Alexander,
>
> I have a look at these errors right now.
>
>
>> All in all I got the feeling, maven didn't support>editions,
>>
> hum, each editions has its own group id: org.restlet.<edition>,
> where<edition> can have one of the following values => jse, jee, gae,
> android, gwt.
>
>
>> so building with maven it won't be supported any>longer (due to the fact
>> that it is useless without
>> editions). Is that correct?
>>
> it should work. I have a look at this.
>
> Best regards,
> Thierry Boileau
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2674335
>
>
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2674369