Are you compiling through maven or ant? We have a continuous build system that checks the ant build, but not maven... If it's Maven, I'll look into why that's failing.
sam On Mon, Nov 28, 2011 at 9:34 AM, Alexander Urmuzov <[email protected]>wrote: > Thank you! > > I tried, but have some problems: > 1) Compilation of multibindings and grapher module fails > 2) Some tests fails. In guice-servlet extension too. I turned tests off. > 3) When I attach compiled atrifacts i've got this on startup: > java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Maps > at > com.google.inject.assistedinject.BindingCollector.<init>(BindingCollector.java:34) > at > com.google.inject.assistedinject.FactoryModuleBuilder.<init>(FactoryModuleBuilder.java:206) > > Is there any snapshot repository where I can get most recent artifacts? > > -- > С уважением, Урмузов Александр Алесандрович > > > > 2011/11/28 Sam Berlin <[email protected]>: > > > The latest Git head has some fixes from Isaac that should allow > subsequent > > filters in the chain to be injected with the supplied request/response. > > > > sam > > > > On Nov 27, 2011 9:31 PM, "Alexander Urmuzov" <[email protected]> wrote: > >> > >> I've got a filter that wraps HttpServletResponse like this: > >> HttpServletRequest httpRequest = (HttpServletRequest) > >> servletRequest; > >> HttpServletResponse httpResponse = (HttpServletResponse) > >> servletResponse; > >> ... > >> OutputStream out = httpResponse.getOutputStream(); > >> GenericResponseWrapper wrapper = new > >> GenericResponseWrapper(httpResponse); > >> filterChain.doFilter(servletRequest, wrapper); > >> > >> String content = new String(wrapper.getData(), > >> httpResponse.getCharacterEncoding()); > >> String designedContent = design.process(content, features); > >> out.write(designedContent.getBytes()); > >> out.close(); > >> The problem comes when I try to inject Provider<HttpServletResponse>. > >> Injected HttpServletResponse is not an instance > of GenericResponseWrapper, > >> it is a original HttpServletResponse. So it breaks my application. > >> Maybe it is a correct behavior, but i need to override > HttpServletResponse > >> binding. How can I achieve it? > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "google-guice" group. > >> To view this discussion on the web visit > >> https://groups.google.com/d/msg/google-guice/-/rmiLj9x_ws0J. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]. > >> For more options, visit this group at > >> http://groups.google.com/group/google-guice?hl=en. > > > > -- > > You received this message because you are subscribed to the Google Groups > > "google-guice" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > > http://groups.google.com/group/google-guice?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=en. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
