- 10 12月, 2012 7 次提交
-
-
由 Phillip Webb 提交于
Replace existing 'optional' and 'provided' Spring specific build extensions with a new Gradle propdeps-plugin. Optional and Provided dependencies are now defined use dependency configurations. The new plugin does not currently support the notion of optional runtime dependencies. All optional dependencies are implicitly part of the 'compile' scope. This is an intentional design decision that aims to keep both the plugin and the build simple. Since optional dependencies are non-transitive this restriction should not cause any real problems for existing users. The only existing dependency affected is 'commons-io' in the 'spring-beans' project, however, this was an optional compile scope dependency in the previous Spring 3.1 release. Both provided and optional dependencies are no longer exported from generated eclipse .classpath files. This fixes several tests that would previously fail when running within eclipse. The servlet-api specific elements of ide.gradle are also no longer required. Issue: SPR-9656, SPR-10070
-
由 Phillip Webb 提交于
Replace tomcat servlet-api 3.0 dependencies with the javax.servlet versions that are now available in the Maven central repository.
-
由 Phillip Webb 提交于
Upgrade to the latest stable release of log4j. The previous 'jms' and 'jmx' exclusions are not longer required since these have now been marked as optional dependencies in the upstream POM.
-
由 Phillip Webb 提交于
Remove the unused ProjectDependency import from the Gradle build file.
-
由 Phillip Webb 提交于
Update all Gradle files to use a consistent style when specifying dependencies. All dependencies are now specified using parentheses, for example: scope("group:artifat:version") or scope(project(":projectname"))
-
由 Phillip Webb 提交于
Replace singe quote-marks with double quote-marks when possible for a more consistent style.
-
由 Phillip Webb 提交于
Replace spaces with tabs for consistency with Java source code
-
- 09 12月, 2012 1 次提交
-
-
由 Sam Brannen 提交于
-
- 08 12月, 2012 5 次提交
-
-
由 Sam Brannen 提交于
When Spr9799XmlConfigTests and Spr9799AnnotationConfigTests were created, there were issues with the classpath related to slf4j dependencies that made it impossible for these classes to reside in the spring-test module. Consequently, these tests were added to the spring-test-mvc module. However, the issues with slf4j have since been resolved in the Gradle build, and this commit therefore moves these test classes to the spring-test module where they belong. Issue: SPR-9799
-
由 Rossen Stoyanchev 提交于
This change introduces a new AllEncompassingFormHttpMessageConverter class that adds JSON and XML converters for individual mime parts of a multi-part request. The new converter is used in place of the previously used XmlAwareFormHttpMessageConverter. Issue: SPR-10055
-
由 Rossen Stoyanchev 提交于
The servlet spec treats any jar in WEB-INF/lib as a web fragment: "A plain old jar file in the WEB-INF/lib directory with no web- fragment.xml is also considered a fragment" (section 8.2.1) This change adds a web-fragment.xml giving the web fragment an explicit name, "spring_web", and indicating there is no need to scan for Servlet annotations in the spring-web.jar itself through metadata-complete=true. This allows applications that choose to include only specific web fragments, through the <absolute-ordering> element in web.xml to also include the "spring_web" fragment, in order to enable scanning for WebApplicationInitializer types.
-
由 Rossen Stoyanchev 提交于
tiles-core-3 brings in a dependency on jcl-overl-slf4 which causes an slf4j delegation loop as explained at [1] when tests run inside Eclipse. Other modules that depend on tiles-core like (tiles-servlet, tiles-jsp) have also had the exclusion added since they seem to bring it in as well. [1] http://www.slf4j.org/codes.html#jclDelegationLoop
-
由 Rossen Stoyanchev 提交于
Prevously the FrameworkServlet created a new ServletRequestAttributes instance for every request, unless the RequestContextHolder already contained an instance whose type is not ServletRequestAttributes. The main intent was that if RequestContextHolder contains a PortletRequestAttributes, it should be left in place. This change does an "instanceof" check against the request in RequestContextHolder instead of an "equals" check on the type. It still leaves PortletRequestAttributes in place but also allows the previous request to be any sub-class of ServletRequestAttributes. Issue: SPR-10025
-
- 07 12月, 2012 4 次提交
-
-
由 Sam Brannen 提交于
- Deleted unused imports. - Switched from junit.framework.Assert to org.junit.Assert, since the former is deprecated as of JUnit 4.11. - Suppressed warnings for continued deprecated usage of junit.framework.Assert.
-
由 Sam Brannen 提交于
-
由 Rossen Stoyanchev 提交于
Spring Framework 3.2 M2 added the ability to map requests using only file extensions registered through the configured through a ContentNeotiationManager, as opposed to allowing any file extension (i.e. ".*"). The MVC namespace the MVC Java config automatically register extensions such as ".json" and ".xml" depending on libraries found on the classpath. That in turn causes issues in cases where additional extensions are in use but not registered (e.g. ".html"). This change ensures that matching with registered file extensions only works only if explicitly enabled through a property on RequestMappingHandlerMapping. Issue: SPR-10061, SPR-8474
-
由 Phillip Webb 提交于
Replace the use of SLF4J LoggerFactory and Logger classes with Apache commons-logging LogFactory and Log. Issue: SPR-10077
-
- 06 12月, 2012 5 次提交
-
-
由 Rossen Stoyanchev 提交于
Those tests as well as Spring Hateoas tests will be added to respective projects instead.
-
由 Juergen Hoeller 提交于
Issue: SPR-10050
-
由 Juergen Hoeller 提交于
Issue: SPR-10058
-
由 Sam Brannen 提交于
Issue: SPR-9982, SPR-10075
-
由 Sam Brannen 提交于
Prior to this commit, executing an SQL script via ResourceDatabasePopulator would fail if a statement in the script contained a line comment within the statement. This commit ensures that standard SQL comments (i.e., any text beginning with two hyphens and extending to the end of the line) are properly omitted from the statement before executing it. In addition, multiple adjacent whitespace characters within a statement, but outside a literal, are now collapsed into a single space. Issue: SPR-10075
-
- 05 12月, 2012 10 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, executing an SQL script with JdbcTestUtils would fail if a statement in the script contained a line comment within the statement. This commit ensures that standard SQL comments (i.e., any text beginning with two hyphens and extending to the end of the line) are properly omitted from the statement before executing it. In addition, multiple adjacent whitespace characters within a statement but outside a literal are now collapsed into a single space. Issue: SPR-9982
-
由 Rossen Stoyanchev 提交于
The @ModelAttribute javadoc now explicitly mentions that model content is not available after an Exception is raised. This is a very common question given that @ExceptionHandler methods are co-located with @ModelAttribute and @RequestMapping methods. Issue: SPR-10071
-
由 Sam Brannen 提交于
This commit upgrades the compile dependency on JUnit in the spring-test module as well as the global test dependency on JUnit for the entire test suite to 4.11 GA. In addition, the spring-test module now depends on junit:junit instead of junit:junit-dep since, as of JUnit 4.11, the "junit" Maven artifact no longer inlines hamcrest-core. Issue: SPR-10044
-
由 Sam Brannen 提交于
Issue: SPR-8116, SPR-10074
-
由 Sam Brannen 提交于
Documented why static nested test cases in the spring-test module are ignored, explaining that such "TestCase classes are run manually by the enclosing test class". Prior to the migration to Gradle (i.e., with Spring Build), these tests would not have been picked up by the test suite since they end with a "TestCase" suffix instead of "Test" or "Tests". Re-enabled HibernateMultiEntityManagerFactoryIntegrationTests. For the remaining tests that were disabled as a result of the migration to Gradle, comments have been added to the @Ignore declarations. Issue: SPR-8116, SPR-9398
-
由 Phillip Webb 提交于
* spring-aspects-dependencies: Replace dependency to aspectjrt with aspectjweaver
-
由 Fredrik Sundberg 提交于
Replace the gradle dependency on aspectjrt with aspectjweaver since aspectjrt is a subset of aspectjweaver and the full jar is required by Spring. SPR-8896 fixed the original code issue, this change just relates to the generated maven pom. Issue: SPR-10072
-
由 Phillip Webb 提交于
Upgrade to docbook-reference-plugin v0.2.2 and remove custom xsl styles in favor of plugin defaults. Modify some docbook source files to work with newer style.
-
由 Sam Brannen 提交于
- Defined global slf4jVersion as '1.6.1' in the Gradle build. - Replaced dependencies on slf4j-log4j12 with slf4j-jcl where possible; however, spring-test-mvc still depends on jcl-over-slf4j and slf4j-log4j12 (see SPR-10070). - Reenabled HibernateSessionFlushingTests. - Verified that the following tests pass in the Gradle build and within Eclipse: - HibernateSessionFlushingTests - HibernateTransactionManagerTests (Hibernate 3) - HibernateTransactionManagerTests (Hibernate 4) - RequestResponseBodyMethodProcessorTests Issue: SPR-9421, SPR-10066
-
由 Sam Brannen 提交于
The previous commit by Juergen Hoeller upgraded spring-orm's Hibernate 3 dependency to 3.3.2.GA, and this commit removes the now unnecessary dependency on org.hibernate:hibernate-cglib-repack:2.1_3. Issue: SPR-10066
-
- 04 12月, 2012 8 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Transaction timeouts for JPA translate to "javax.persistence.query.timeout" only (for EclipseLink compatibility) Issue: SPR-10068
-
由 Sam Brannen 提交于
The Javadoc in MockMvcClientHttpRequestFactoryTests had been copied and pasted from WebAppResourceTests. This commit updates the documentation in MockMvcClientHttpRequestFactoryTests to reflect what the tests do.
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
This commit introduces the missing isExecuted() method in MockClientHttpRequest and improves the documentation for execute() and executeInternal().
-
由 Sam Brannen 提交于
This commit ensures that EasyMock version 2.5.2 is used consistently across the test suite. This applies to both the easymock and easymockclassextension artifacts. Using the same version for both of these artifacts helps to better align us for a future upgrade to EasyMock 3.0 since the Class Extension artifact is deprecated in 3.x releases of the library. Issue: SPR-10069
-