When running system tests, I often do
mvn test -Dtest=JAXRS*,
to save the time, if I'm confident no other CXF functionality has been affected
by the current JAXRS related changes.
I always do now 'mvn clean install' when building frontend/jaxrs, as I've already been bitten by Eclipse and Maven collaborating in
hidng the compilation problems. For systests I'll probably just do
mvn clean test -Dtest=JAXRS*,
it should be reliable enough
Dan - thanks for a fix
Cheers, Sergey
----- Original Message -----
From: <dk...@apache.org>
To: <comm...@cxf.apache.org>
Sent: Thursday, April 09, 2009 6:32 PM
Subject: svn commit: r763742 -
/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java
Author: dkulp
Date: Thu Apr 9 17:32:06 2009
New Revision: 763742
URL: http://svn.apache.org/viewvc?rev=763742&view=rev
Log:
Fix compile failures
Modified:
cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java
Modified:
cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java?rev=763742&r1=763741&r2=763742&view=diff
==============================================================================
---
cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java
(original)
+++
cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxrs/GenericHandlerWriter.java
Thu Apr 9 17:32:06 2009
@@ -33,20 +33,22 @@
public class GenericHandlerWriter implements
MessageBodyWriter<GenericHandler<Book>> {
- public long getSize(GenericHandler<Book> t, Class type, Type genericType,
Annotation[] annotations,
+ public long getSize(GenericHandler<Book> t, Class<?> type, Type
genericType, Annotation[] annotations,
MediaType mediaType) {
return -1;
}
- public boolean isWriteable(Class type, Type genericType, Annotation[]
annotations, MediaType mediaType) {
+ public boolean isWriteable(Class<?> type, Type genericType,
+ Annotation[] annotations, MediaType mediaType) {
return type == GenericHandler.class &&
InjectionUtils.getActualType(genericType) == Book.class;
}
- public void writeTo(GenericHandler<Book> o, Class c, Type t, Annotation[]
anns, MediaType m,
+ public void writeTo(GenericHandler<Book> o, Class<?> c, Type t,
Annotation[] anns, MediaType m,
MultivaluedMap<String, Object> headers, OutputStream os)
throws IOException, WebApplicationException {
JAXBElementProvider jaxb = new JAXBElementProvider();
jaxb.writeTo(o.getEntity(), c, InjectionUtils.getActualType(t), anns,
m, headers, os);
}
+
}