Re: S3 and JAX-RS 2.0

2012-04-11 Thread Łukasz Lenart
2012/4/11 Frans Thamura : > hi all > > will the S 3.0 become JAX-RS 2.0 compatible? > got this blog and his devoxx slide > > http://marek.potociar.net/2011/11/17/on-jax-rs-2-0-from-devoxx/ No plans as so forth, it'd be nice to add the support via plugin, but right now the current Rest support look

Re: svn commit: r1311951 - /struts/struts2/trunk/plugins/junit/src/main/java/org/apache/struts2/StrutsTestCase.java

2012-04-11 Thread Łukasz Lenart
2012/4/11 Maurizio Cucchiara : > Since Struts Junit Test uses MockHttp stuff, I thought that it would > be a good thing leave that layer consistent. Right, changed, please check :-) Regards -- Łukasz http://www.lenart.org.pl/ mobile +48 606 323 122, office +27 11 0838747 Warszawa JUG conference

Re: svn commit: r1311951 - /struts/struts2/trunk/plugins/junit/src/main/java/org/apache/struts2/StrutsTestCase.java

2012-04-11 Thread Maurizio Cucchiara
Since Struts Junit Test uses MockHttp stuff, I thought that it would be a good thing leave that layer consistent. Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara

Re: Struts 2.3.2 available for test

2012-04-11 Thread Maurizio Cucchiara
> Anyway, thanks a lot for testing! Thank you for taking care of. Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google.com/107903711540963855921 Linkedin    :http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara --

Re: svn commit: r1311951 - /struts/struts2/trunk/plugins/junit/src/main/java/org/apache/struts2/StrutsTestCase.java

2012-04-11 Thread Lukasz Lenart
2012/4/11 Maurizio Cucchiara : > Hi Lukasz, > >> +            actionContext.setSession(new HashMap()); > > > what about setting session at a lower level (I didn't test though): > > request.setSession(new MockHttpSession(servletContext)); but basically, the S2 actions shouldn't depend on the raw se

Re: Struts 2.3.2 available for test

2012-04-11 Thread Łukasz Lenart
2012/4/11 Maurizio Cucchiara : > Lukasz, I'm afraid that you should drop this release. Ok, I'm going to wait till the end of this week and I will prepare a new release - 2.3.3 ;-) @Johannes @Maurizio Anyway, thanks a lot for testing! Kind regards -- Łukasz http://www.lenart.org.pl/ mobile +48

S3 and JAX-RS 2.0

2012-04-11 Thread Frans Thamura
hi all will the S 3.0 become JAX-RS 2.0 compatible? got this blog and his devoxx slide http://marek.potociar.net/2011/11/17/on-jax-rs-2-0-from-devoxx/ F

Re: Struts 2.3.2 available for test

2012-04-11 Thread Maurizio Cucchiara
Johannes is right there was a wrong reference to the old commons lang 2. I have just updated that reference [1]. Lukasz, I'm afraid that you should drop this release. [1] http://markmail.org/message/fx7kh3ufjqm75yk3 Twitter     :http://www.twitter.com/m_cucchiara G+          :https://plus.google

Re: Struts 2.3.2 available for test

2012-04-11 Thread Johannes Geppert
But both archetypes I have tested (blank and convention), doesn't specify a dependency to commons lang. If Struts2 need it it should be provided or am I wrong? >java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils > at >org.apache.struts2.dispatcher.ServletDispatcherResult.doE

Re: svn commit: r1311951 - /struts/struts2/trunk/plugins/junit/src/main/java/org/apache/struts2/StrutsTestCase.java

2012-04-11 Thread Maurizio Cucchiara
Hi Lukasz, +actionContext.setSession(new HashMap()); what about setting session at a lower level (I didn't test though): request.setSession(new MockHttpSession(servletContext)); On 10 April 2012 21:33, wrote: > Author: lukaszlenart > Date: Tue Apr 10 19:33:51 2012 > New Revision