- 24 Jun, 2014 18 commits
-
-
Spring Buildmaster authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Update ExecutableArchiveLauncher so that `-cp` URLs are not added when they are already contained as nested JARs. This prevents a SecurityException "signer information does not match error" when using signed jars. The root cause of the issue was that the primary JAR file was on the default classpath with the URL "file:....jar" and in the main URL set as "jar:file:....jar". It is now filtered so that only the "jar:" variant is added. Fixes gh-1134
-
Phillip Webb authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
* The SpringApplicationBuilder was registering the parent context initializer twice (not really a problem, but confusing if you are debugging). * ParentContextApplicationContextInitializer itself should have been checking that the current context is not the parent * The EventPublishingRunListener as a result needs to call setApplicationContext on any listeners that are AplicationContextAware * ParentContextCloserApplicationListener can ensure that there is only one of its kind per application context by implementing hashCode and equals Fixes gh-1142
-
Dave Syer authored
Fixes gh-1141
-
Dave Syer authored
-
Phillip Webb authored
-
Phillip Webb authored
Update the executable JAR code to automatically unpack any entries which include an entry comment starting `UNPACK:` to the temp folder. The existing Maven and Gradle plugins have been updated with new configuration options and the `spring-boot-tools` project has been updated to write the appropriate entry comment based on a flag passed in via the `Library` class. This support has been added to allow libraries such a JRuby (which assumes that `jruby-complete.jar` is always accessible as file) to work with Spring Boot executable jars. Fixes gh-1070
-
Phillip Webb authored
Add a Library class update the LibraryCallback interface and implementations to use it. This change is in preparation for an addition `unpack` flag that will be required to allow the automatic unpacking of certain nested jars. See gh-1070
-
Phillip Webb authored
Update JarURLConnection to allow the resolution of items within a nested jar, even if the jarFile passed to the connection is several levels up. This prevent a connection from incorrectly resolving an entry against the wrong jar file. See gh-1070
-
Phillip Webb authored
Drop `RepackageTask.getDependencies` from the gradle plugin in favor of exposing `getLibraries()` and using the callback. Drop getDependencies
-
Phillip Webb authored
-
Phillip Webb authored
Extract the nasty Tomcat resource handling reflection code to its own class.
-
Phillip Webb authored
-
- 23 Jun, 2014 3 commits
- 22 Jun, 2014 3 commits
-
-
Dave Syer authored
Fixes gh-1133
-
Jonas Bergvall authored
bean from the registration of Jackson modules to avoid circular creation of the default ObjectMapper bean (and thus failing to obtain the ObjectMapper and registering the module(s)). Fixes gh-1132
-
Dave Syer authored
See gh-1113
-
- 21 Jun, 2014 2 commits
-
-
Dave Syer authored
Tomcat 8 has different APIs again so it was quite difficult to get it working and test it. The test is manual anyway (multi-module project with JSPs in /META-INF/resources, not part of the samples), and requires you to build a war and execute it (since the resource paths are different when it's an archive). Fixes gh-1131
-
Dave Syer authored
Fixes gh-1130
-
- 20 Jun, 2014 14 commits
-
-
Dave Syer authored
See gh-1113
-
Phillip Webb authored
* document-remote-debug-gradle: Add how-to remote debug from Gradle
-
Tadaya Tsuyukubo authored
Add a section to the reference documentation "how-to" about remote debugging a Gradle started app. Fixes gh-1129
-
Phillip Webb authored
Improve fat JAR performance. See gh-1119
-
Phillip Webb authored
-
Phillip Webb authored
Tweak 'fat jar' handling to generally improve performance: - Allow JarURLConnection to throw a static FileNotFoundException when loading classes. This exception is thrown many times when attempting to load a class and is silently swallowed so there is no point in providing the entry name. - Expose JarFile.getJarEntryData(AsciiBytes) and store AsciiBytes in the JarURLConnection. Previously AsciiBytes were created, discarded then created again. - Use EMPTY_JAR_URL for the JarURLConnection super constructor. The URL is never actually used so we can improve performance by using a constant. - Extract JarEntryName for possible caching. The jar entry name extracted from the URL is now contained in an inner JarEntryName class. This could be cached if necessary (although currently it is not because no perceivable performance benefit was observed) Fixes gh-1119
-
Phillip Webb authored
Cache root jar files in the Handler and also store nested jar files in the JarEntryData. See gh-1119
-
Phillip Webb authored
Update JarFile to reuse the previously parsed entries when creating filtered jars. This saves needing to re-scan the underlying file to recreate a subset of entries. See gh-1119
-
Phillip Webb authored
Drop JarEntryFilter arguments from the JarFile constructor and the getNestedJarFile methods. Filtered JarFiles can still be obtained by using the getFilteredJarFile() method. This helps simplify the code a little and will make it easier to add caching. See gh-1119
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Fix the formatting which was messed up in commit ad1636fd. Also simplify the RabbitProperties.setVirtualHost logic a little See gh-1128
-
Phillip Wirth authored
The autoconfig strips out slashes where necessary to make a valid hostname Fixes gh-1128
-
Dave Syer authored
(Was an attempt to get Cygwin to recognise the interrupt, but it seems to be doomed so not worth having the extra code in there really.)
-