1. 30 Oct, 2014 1 commit
    • Andy Wilkinson's avatar
      Make GroovyWebConfiguration conditional on spring-webmvc's availability · 0f171423
      Andy Wilkinson authored
      GroovyWebConfiguration creates a GroovyTemplateViewResolver which is
      a UrlBasedViewResolver sub-class. UrlBasedViewResolver is provided
      by spring-webmvc. Previously, if a user configured a web application
      but did not have spring-webmvc on the classpath, the application
      would fail to start with a NoClassDefFoundError for
      UrlBasedViewResolver.
      
      This commit makes GroovyWebConfiguration conditional on
      UrlBasedViewResolver being on the classpath so that it backs of in
      the absence of spring-webmvc.
      
      Fixes gh-1793
      0f171423
  2. 29 Oct, 2014 2 commits
  3. 28 Oct, 2014 2 commits
  4. 22 Oct, 2014 2 commits
  5. 21 Oct, 2014 2 commits
  6. 20 Oct, 2014 1 commit
    • Andy Wilkinson's avatar
      Protect against race condition where output file exists but it is empty · 160d609b
      Andy Wilkinson authored
      Previously, there was a timing window where the output file had been
      created but it was empty. This would cause the test to fail as the
      output was read from the empty file and didn’t match the expected “Hello
      World”.
      
      This commit updates the test to only process the resources in the output
      directory when all the resolved resources have a non-zero content
      length. An @Before method has also been added to delete the output
      produced by the test so that the outcome of the test isn’t affected by
      files generated by previous runs.
      
      Fixes gh-1735
      160d609b
  7. 15 Oct, 2014 4 commits
  8. 14 Oct, 2014 1 commit
  9. 13 Oct, 2014 2 commits
  10. 10 Oct, 2014 3 commits
  11. 09 Oct, 2014 7 commits
  12. 08 Oct, 2014 3 commits
  13. 07 Oct, 2014 1 commit
  14. 06 Oct, 2014 4 commits
  15. 02 Oct, 2014 2 commits
  16. 01 Oct, 2014 3 commits