Hi antalk
You should be able to use only one @Path annotation in your class.
As long as you provide one default @GET or @POST method you should be fine
See:
http://svn.codehaus.org/tynamo/trunk/tapestry-resteasy/src/test/java/org/tynamo/resteasy/rest/EchoResource.java
Saludos.
Alejandro.
On Fri,
I got it working now:
Had to annotate both my class AND the method with a @Path annotation.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/ANNOUNCEMENT-tapestry-resteasy-0-2-1-released-tp3291865p5453476.html
Sent from the Tapestry - User mailing list archive at Nabble.co
Oh. i am mistaken,
The @Provider annotation is not needed. However the annotated interface is
not picked up by the 'ResourceMethodRegistry' because it is an interface..
The following piece of code:
protected void processMethod(ResourceFactory ref, String base, Class
clazz, Method method)
{
Hi Tynamo Team,
I just discovered a missing piece of documentation for the live-reloading to
work: In order to be able to contribute your interface to the
javax.ws.rs.core.Application, you have to annotate it with at least
@Provider.
(see: line 146 in ResteasyRequestFilter.java)
} else if (obj.
Hey, wouldn't it be great if you could just reload your RESTful
service classes live while developing them? Oh that's right, that's
exactly what tapestry-resteasy 0.2.1 allows you to do! This is T5.2.x
specific maintenance release, updating the JAX-RS dependency to JBoss'
resteasy GA release 2.0.1.