Commit Graph

2788 Commits (e90c8548a21644738d9195636d16037b048ba3e2)
 

Author SHA1 Message Date
Phillip Webb b01c1d36ae Attempt to fix Windows CI 11 years ago
Phillip Webb e383d13ad9 Attempt to fix Windows CI 11 years ago
Phillip Webb 6311ae191f Throw exception on stop failure
Trying to fix the Windows CI build
11 years ago
Phillip Webb 03b281278a Trying to break windows build 11 years ago
Phillip Webb d4ad67af44 Relax expected exception when connection fails
Exception appears to be different on Windows JVMs
11 years ago
Phillip Webb 7e7733d45d Deal with spaces in file references
Fixes gh-1169
11 years ago
Phillip Webb 7654259f80 Fix JarFile issues when running on Windows
Fix 'fat jar' support for windows to correctly deal with URL and path
slash issues. The root cause of the original problem was caused by JAR
URLs not including a root slash (ie `file:C:/Users` vs `file:/C:/Users`)

Fixes gh-1145
11 years ago
Phillip Webb 1f36d4657f Fix various Windows related issues
Fixes gh-1168
11 years ago
Dave Syer 43cf95b845 Tidy up (remove unneeded property) RepackageTask 11 years ago
Dave Syer 5d317f2dc7 Reflection hack for Tomcat 8 API change
Fixes gh-1148
11 years ago
Andy Wilkinson fda24b8499 Upgrade to Jedis 2.4.2
Closes #1162
11 years ago
Andy Wilkinson 752e3c58ec Upgrade to H2 1.3.176
Closes #1161
11 years ago
Andy Wilkinson 834af12725 Upgrade to HikariCP 1.3.9
Closes #1160
11 years ago
Andy Wilkinson 646458dd51 Upgrade to WSDL4J 1.6.3
Closes #1159
11 years ago
Andy Wilkinson 7ae58eb21a Upgrade to mongo-java-driver 2.12.2
Closes #1158
11 years ago
Andy Wilkinson 80cf7a106d Upgrade to Jolokia 1.2.2
Closes #1157
11 years ago
Andy Wilkinson 2f414bedce Upgrade to Hibernate 4.3.5
Closes #1156
11 years ago
Andy Wilkinson 2ddc34350b Upgrade to CRaSH 1.3.0
Closes #1155
11 years ago
Andy Wilkinson 3352327442 Upgrade to AspectJ 1.8.1
Closes #1154
11 years ago
Andy Wilkinson 9cd54196ec Upgrade HTTP components to 4.3.4
Closes #1153
11 years ago
Andy Wilkinson f326d1f18f Upgrade to thymeleaf-layout-dialect 1.2.5
Closes #1152
11 years ago
Andy Wilkinson 834c9e78b7 Upgrade to mysql-connector-java 5.1.31
Closes #1151
11 years ago
Andy Wilkinson c3eae015e9 Upgrade to Groovy 2.3.3
Closes #1150
11 years ago
Dave Syer b0bf9c776f Fix logic error in ErrorPageFilter (fixes gh-1149) 11 years ago
Phillip Webb 91bbd20ca0 Fixup version numbers following release 11 years ago
Spring Buildmaster 542f3cbda8 Next development version 11 years ago
Phillip Webb c4b22fc3d5 Attempt to fixup prepare stage for release 11 years ago
Phillip Webb af7f53d149 Attempt to fixup prepare stage for release 11 years ago
Phillip Webb 60ef031f78 Fix "signer information does not match" error
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
11 years ago
Phillip Webb 1f1a7e0ed3 Polish 11 years ago
Dave Syer 0d5c30fdcc Add instance.uptime to VanillaPublicMetrics 11 years ago
Dave Syer 078e5425cd Avoid eager factory bean instantiation for container customizers 11 years ago
Dave Syer 999748bdab Fix some sloppy code in context hierarchy support
* 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
11 years ago
Dave Syer d2b88d741c Re-register SpringApplication listeners in context once it is available
Fixes gh-1141
11 years ago
Dave Syer b2db3790de Improve test for JobLauncherCommandLineRunner (see gh-1125) 11 years ago
Phillip Webb 9f464e9c49 Merge branch 'gh-1070' 11 years ago
Phillip Webb f30b962ff9 Add support for unpacking nested JARs
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
11 years ago
Phillip Webb 5f8fbfd73a Add Library abstraction
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
11 years ago
Phillip Webb 3d6c8a85f4 Allow URL resolution within nested JARs
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
11 years ago
Phillip Webb 5de2661b43 Drop RepackageTask.getDependencies()
Drop `RepackageTask.getDependencies` from the gradle plugin in favor of
exposing `getLibraries()` and using the callback.
Drop getDependencies
11 years ago
Phillip Webb c713c8091d Polish 11 years ago
Phillip Webb ed3df32cdd Extract resource handling to TomcatResources
Extract the nasty Tomcat resource handling reflection code to its own
class.
11 years ago
Phillip Webb 72a2e5bc02 Polish Gradle repackage 11 years ago
Dave Syer 965c16d93f Add foo.jar to fix broken build 11 years ago
Dave Syer 0e5201abe2 Fix typos (see gh-1135) 11 years ago
Dave Syer 542896b28f Support for non-executable JAR in addition to the repackaged one
Stretches the Gradle boot plugin a bit, so there's a sample build
in the "profile" sample. Howto docs give examples.

Fixes gh-1135
11 years ago
Dave Syer 1b97e8d921 Skip dependency exclusions if groupId is null
Fixes gh-1133
11 years ago
Jonas Bergvall 078db8cb74 Separate the configuration/creation of the default ObjectMapper
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
11 years ago
Dave Syer 08ae390696 Add dependencies to inputs in bootRepackge
See gh-1113
11 years ago
Dave Syer 1bcc136374 Hack around with Tomcat resource paths
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
11 years ago