Commit Graph

2695 Commits (adc8cdf16a875b3cf750960b86aa11cdf7631188)
 

Author SHA1 Message Date
Phillip Webb 9632abf825 Formatting and cleanup 11 years ago
Phillip Webb cd77bae3b2 Remove version from ant-run plugin
No need as picked up from the parent.
11 years ago
Dave Syer 123ffd736c Exclude @ManagedResources from Endpoint MBeans
If an Endpoint is already @ManagedResource then it doesn't need
an additional (probably wrong) MBEan registration based on the invoke()
method.
11 years ago
Dave Syer c0305ecbbb Take care registering DataSourceInitializer
The DataSourceInitializer is instantiated early by the
DataSourceInitializerPostProcessor, so it has to live in
isolation (in its own @Configuration) to prevent early
instantiation of the DataSourceAutoConfiguration.

Fixes gh-1166
11 years ago
Dave Syer 24c0fce0f0 Add antrun plugin version 11 years ago
Phillip Webb e220f0806a Attempt to fix Windows CI 11 years ago
Phillip Webb 8be3f33cfb Be defensive detecting when Mono not running 11 years ago
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