Commit Graph

2526 Commits (834af1272555b588ff542b4ab994d1959928dd34)
 

Author SHA1 Message Date
Phillip Webb 54dc46f777 Allow prefixed bytes with fat JARs
Update `spring-boot-loader` ZIP processing code to support prefixed
bytes within the fat jar. This technique allows a bash script to be
embedded at the start of the JAR whilst still allowing `java -jar`
execution.

Fixes gh-1073
11 years ago
Phillip Webb a374929c90 Polish 11 years ago
Dave Syer 2f12dc823c Remove workaround for bug they fixed in Groovy 11 years ago
Dave Syer c5d46d0cab Re-instate test when fixed 11 years ago
Dave Syer bb50e1ef8c Ignore test that is WIP 11 years ago
Dave Syer 1bf256dd58 Ensure Weblogic and Websphere JMX are covered
To ensure an MBeanServer is available when needed you have to
look in JNDI before resorting to the JDK platform factory.

I had to copy some private code from Spring, but it seems
worth it.

Fixes gh-1092
11 years ago
Dave Syer 2c691e5ae5 Enhance JarCommand to support lists of includes and excludes
The lists are comma separated. In addition, user can add prefixes
"+" or "-", to signal that those values should be removed from the
default list, not added to a fresh one. E.g.

$ spring jar app.jar --include lib/*.jar,-static/** --exclude -**/*.jar

to include a jar file specifically, and make sure it is not excluded,
and additionally not include the static/** resources that would otherwise
be included in the defaults. As soon as "+" or "-" prefixes are detected
the default entries are all added (except the ones exlcuded with "-").

Fixes gh-1090
11 years ago
Dave Syer d842446186 Catch application exception in tomcat starter thread and rethrow
Fixes gh-1088
11 years ago
Andy Wilkinson 6c4d9d7190 Add integration tests to check Gradle plugin's war packaging behaviour
There was a problem with the Gradle plugin packaging application
dependencies in WEB-INF/lib-provided when only the servlet container
and its dependencies should be packaged there. See #1064 for details.

This commit adds two tests, one for Tomcat and one for Jetty, to
verify that only the expected entries appear in WEB-INF/lib-provided.

Closes #1071
11 years ago
Dave Syer b4aaeaac7e Set Thread context class loader while Tomcat starts up
Fixes gh-1085
11 years ago
Dave Syer c0efd3a22e Add clarification of ddl-auto and schema.sql 11 years ago
Phillip Webb 3971d26d81 Merge pull request #1082 from emalock3/patch-1
* patch-1:
  Fix typo in reference docs appendix
11 years ago
Shinobu Aoki 6ba1304907 Fix typo in reference docs appendix
Fixes gh-1082
11 years ago
Phillip Webb 143e1918b7 Fixup versions following release 11 years ago
Spring Buildmaster 4ca26a21dc Next development version 11 years ago
Phillip Webb c861f24ba3 Switch mergeDependencies to use a set. 11 years ago
Dave Syer d36f9ce8e0 Add tests for switching message sources in tests
See gh-1075
11 years ago
Dave Syer 8d6f003e9a Defensive null check in case Hibernate autoconfig is off
If the Hibernate autoconfig is not used to create an EntityManager
then I suppose it's possible that the JpaProperties might be null
when everything else is ready for the event to be published.

There's no test case because I think it's a corner case.

Fxies gh-1075
11 years ago
Dave Syer 32a220da8f Test for message properties 11 years ago
Andy Wilkinson f5f3903538 Resolve versionManagement configuration lazily and preserve exclusions
Previously, the versionManagement configuration was resolved as part of
the Boot Gradle plugin being applied. This meant that no dependencies
could be added to it and attempting to do so would result in a failure:
“You can't change a configuration which is not in unresolved state”.
This commit updates ApplyExcludeRules to wrap its processing in a
before resolve action. This defers the resolution of the
versionManagement configuration until one of the project’s other
configurations is being resolved. Fixes #1077

In addition to the above, the transitive exclusions that the Gradle
plugin provides were being lost if custom version management provided
a version for the same dependency. This commit updates
AbstractDependencies to preserve the exclusions from an existing
dependency declaration while using the version from the newer
dependency. This ensures that the exclusions remain while allowing
versions to be overridden. Fixes #1079
11 years ago
Phillip Webb 9e93719922 Fixup version numbers following release 11 years ago
Spring Buildmaster 05ed7b3bcd Next development version 11 years ago
Andy Wilkinson 5a4ac124ba Remove superfluous starter dependencies
Remove superfluous dependencies from spring-boot-starter-tomcat and
spring-boot-starter-jetty which caused gradle based builds to put
too many libraries in `/lib-provided` when building a war.

Fixes gh-1064
11 years ago
Phillip Webb 3341a5db2b Deprecate @ConditionalOnMissingClass.value
Fixes gh-1069
11 years ago
Dave Syer e8fcb0c875 Use classname instead of value in @ConditionalOnMissingClass
See gh-1065
11 years ago
Phillip Webb 3007a777d0 Roll back to 1.1.0.BUILD-SNAPSHOT 11 years ago
Dave Syer 36130b27e1 Support for Jmx (and Integration) autoconfig in parent contexts
When there are parent contexts we already had a strategy for registering
the actuator endpoints, but not the regular JMX or Integration MBeans.
This chnage makes the autoconfigs for JMX aware of the parent context.

Also adds a sample with a parent context.

See gh-847
11 years ago
Phillip Webb 5adbf32c18 Fixup version numbers following release 11 years ago
Spring Buildmaster c650f2391e Next development version 11 years ago
Phillip Webb cede104702 Add spring-boot-dependencies to prepare phase 11 years ago
Phillip Webb 6a55c7af2e Add additional modules to prepare profile
Require for the initial build of a new version.
11 years ago
Phillip Webb 25a2b8e388 Improve formatting of generated doc tables 11 years ago
Phillip Webb aaa7e7d37e Update CONTRIBUTING full build instructions 11 years ago
Phillip Webb ef395638fc Document gradle plugin exclude rules
Fixes gh-1053
11 years ago
Phillip Webb 75a202e389 Add Spring Loaded, Gradle, IntelliJ "How-To"
Fixes gh-823
11 years ago
Phillip Webb c2c31cdb3c Add upgrade instructions to the reference docs
Add a section with a link to the project wiki.

See gh-731
11 years ago
Phillip Webb 9a5d828f52 Polish docbook formatting 11 years ago
Phillip Webb f619102cd9 Fix broken links in reference docs 11 years ago
Phillip Webb 30f57bab23 Fix broken links in reference docs 11 years ago
Phillip Webb f0c0f00089 Polish 11 years ago
Andy Wilkinson 3975f8c931 Remove extra close table markup 11 years ago
Andy Wilkinson 02de6e3531 Remove signal handling race condition from RunProcess
Fixes #1061
11 years ago
Andy Wilkinson 0b7836b447 Merge in starter and sample for Spring Web Services
Closes #1055
11 years ago
Andy Wilkinson b585afe537 Polishing 11 years ago
Maciej Walkowiak e40320a8ed Added integration test for Spring Web Services Sample project 11 years ago
Maciej Walkowiak 95a6ce9e48 Spring Web Services Starter
- upgraded Spring WS to 2.2.0.RELEASE
- replaced default MVC DispatcherServlet with MessageDispatcherServlet
- migrated XML based config with nww Spring WS Java config

Fixes: gh-412
11 years ago
Marten Deinum e2a449da97 Spring Web Services Starter and Sample Project
Fixes gh-412
11 years ago
Phillip Webb b5d267ca89 Polish 11 years ago
Phillip Webb 80b7e60c01 Merge pull request #1060 from akhikhl/master
* pull1060:
  Improve Jetty third-party integration support
11 years ago
Andrey Hihlovskiy 216e93fc5c Improve Jetty third-party integration support
Make JettyEmbeddedServletContainerFactory more useful for third-parties
by providing protected configureWebAppContext, addDefaultServlet and
addJspServlet methods that sub-classes can call.

Fixes gh-1056
11 years ago