- 15 Oct, 2013 6 commits
-
-
Dave Syer authored
-
Dave Syer authored
[Fixes #58921238] [bs-333] spring.database.* and spring.datasource.* used to configure database
-
Dave Syer authored
PropertiesLauncher can now be used to run an executable jar, and by default it will pick up nested archives in lib/ (where the Boot tools puts them). User can provide loader.path (colon-separated) to change the nested path. [#58837492] [bs-330] Add tooling for PropertiesLauncher
-
Dave Syer authored
-
Dave Syer authored
-
- 14 Oct, 2013 5 commits
- 11 Oct, 2013 1 commit
-
-
Dave Syer authored
-
- 10 Oct, 2013 12 commits
-
-
Dave Syer authored
-
Dave Syer authored
[Fixes #56467326] [bs-314]
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
E.g. with a prefix spring.jpa.hibernate. we want naming-strategy and namingstrategy to be resolvable. It wasn't working before this change because the whole property path was being manipulated, where you actually need to manipulate the prefix and suffix separately.
-
Dave Syer authored
-
Dave Syer authored
Looks for spring.mandatory_file_encoding and matches it against System.getProperty("file.encoding"). Fixes gh-46
-
Dave Syer authored
-
Andy Wilkinson authored
Previously, simple @Grab annotations only worked on classes. This commit updates the simple @Grab support so that they can be used on anything that can be annotated with @Grab. The simplified @Grab support relies upon springcli.properties having been generated. This commit adds an M2E lifecycle mapping for the antrun plugin so that springcli.properties is generated as part of an Eclipse build, thereby making it easier to run tests in Eclipse that rely upon the simplified @Grab support.
-
Dave Syer authored
Both the template resolver and the view resolver now have their encoding set explicitly (defaulting to UTF-8). Fixes gh-79
-
Dave Syer authored
Since ServerProperties had primitive properties for port (in particular) it was not possible to check when applying those properties if the user had actually changed the value. This in turn meant that a custom EmbeddedServletContainerFactory could not set the default values. Fixed by making int properties of ServerProperties into Integer and checking for null before setting on the container factory. Fixes gh-84
-
Andy Wilkinson authored
Previously, LocalM2Resource used the pom's packaging configuration to determine the suffix of the file that it should look for, e.g. if the pom's packaging was jar, it would look for a file with a .jar suffix in artifactExists(). This logic fails for artifacts with bundle packaging as it would look for a .bundle file rather than a .jar file, fail to find the file, and incorrectly report that the artifact does not exist. This commit updates LocalM2Resource to look for a file with a .jar suffix when the packaging configuration in the pom is bundle.
-
- 09 Oct, 2013 12 commits
-
-
Phillip Webb authored
Fix LaunchedURLClassLoader to only enumerate resources from the rootLoader and the URLs. Commit cd2c1896 (Support javaagent instrumentation with loader) added a parent classloader and used filtering in the loadClass() method to ensure classes were loaded from the appropriate location. The change in parent means that locally packaged resources are found twice, once from the parent, and once from the self archive URL. LaunchedURLClassLoader now overrides getResource and getResources to filter out the parent classloader and instead only add resources from the root classloader and the URLs. Issue: #56232870
-
Dave Syer authored
A new API in Spring allows us to check for existing mappings in the resource handler registry
-
Dave Syer authored
-
Dave Syer authored
-
Phillip Webb authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Phillip Webb authored
-
Phillip Webb authored
Minor formatting and consistent copyright header.
-
Phillip Webb authored
-
Phillip Webb authored
Reduce duplication by extracting FileOptions class to be shared by both the RunCommand and the TestCommand. Also applied minor code convention tweaks.
-
- 08 Oct, 2013 4 commits
-
-
Dave Syer authored
-
Dave Syer authored
-
Roy Clarkson authored
-
Ulrich von Poblotzki authored
-