Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/spring-projects/spring-boot.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Jul 02, 2015
  2. Jul 01, 2015
  3. Jun 30, 2015
  4. Jun 25, 2015
    • Andy Wilkinson's avatar
      Include value of java.io.tmpdir in message when createTempFile fails · f8fdcc13
      Andy Wilkinson authored
      If java.io.tmpdir is configured to a directory that does not exist,
      calls to File.createTempFile will fail with an IOException with the
      message "The system cannot find the path specified". Unfortunately,
      the path the was specified is not included in the message.
      
      Rather than trying to automatically create the directory in what may
      be a misconfigured location, we now include the value of
      java.io.tmpdir in our own exception's message. Hopefully this will
      help users to figure out what they've done wrong.
      
      Closes gh-3307
      f8fdcc13
  5. Jun 24, 2015
  6. Jun 23, 2015
  7. Jun 22, 2015
    • Andy Wilkinson's avatar
      Align servlet container error handling with executable jar/war behavior · 6fd30424
      Andy Wilkinson authored
      Previously, when an exception was thrown by a Controller in an
      application deployed to a servlet container the exception that was
      handled would be Spring Framework’s NestedServletException rather than
      the exception thrown by the application. Furthermore, when an exception
      was thrown or the response was used to send an error, the
      javax.servlet.error.request_uri request attribute would not be set. This
      differed from the behaviour in an executable jar/war where the exception
      would be the one thrown by the application, and the request_uri
      attribute would be set.
      
      This commit updates ErrorPageFilter, which is only involved in a servlet
      container, to unwrap a NestedServletException so that it’s the
      application’s exception that’s handled, and to set the request_uri
      attribute in the event of an exception being thrown or an error being
      sent.
      
      Closes gh-3249
      6fd30424
    • olivier bourgain's avatar
      Make InMemoryTraceRepository thread-safe · 5ed2a963
      olivier bourgain authored
      Closes gh-3027
      5ed2a963
    • Andy Wilkinson's avatar
      Map empty virtual host to "/" when parsed from an address · 8681a8ad
      Andy Wilkinson authored
      Previously, an address that ended in a "/" would result in the virtual
      host being an empty string. This was inconsistent with setVirtualHost
      which would map an empty string to "/".
      
      This commit updates the address parsing logic to call setVirtualHost
      rather than assigning the value directly to this.virtualHost. This
      ensures that the special handling for an empty string is applied
      consistently.
      
      Closes gh-3304
      8681a8ad
    • Andy Wilkinson's avatar
      Provide default for SpringApplication main class in servlet container · cd62596e
      Andy Wilkinson authored
      By default, SpringApplication attempts to deduce the application class
      by looking for a main method in the stack. This does not work when
      the application is launched by a servlet container via
      SpringBootServletInitializer as there's either no main method in the
      stack, or the main method is that of the servlet container, rather
      than the application.
      
      This commit updates SpringBootServletInitializer to configure the
      main class of the SpringApplication that it creates to be the
      application's SpringBootServletInitializer subclass. This is done
      prior to calling configure, so the main class can still be specified
      by the application if required.
      
      Closes gh-3061
      cd62596e
    • Andy Wilkinson's avatar
      01ba0f75
    • Stephane Nicoll's avatar
      Update SnakeYAML link · 5f2ffdb9
      Stephane Nicoll authored
      Closes gh-3302
      5f2ffdb9
  8. Jun 21, 2015
  9. Jun 19, 2015
  10. Jun 18, 2015
    • Andy Wilkinson's avatar
      Start building against Spring 4.1.7 snapshots · 4d0996b1
      Andy Wilkinson authored
      See gh-3276
      4d0996b1
    • Andy Wilkinson's avatar
      Add files that were accidentally omitted from 5e743fb2 · af067ae2
      Andy Wilkinson authored
      See gh-3274
      af067ae2
    • Andy Wilkinson's avatar
      Fully honour local repository location configured in settings.xml · 5e743fb2
      Andy Wilkinson authored
      Previously, DefaultRepositorySystemSessionAutoConfiguration would
      read the local repository configuration from settings.xml, but did
      not perform any property interpolation. This would leave placeholders
      such as ${user.home} as-is and result in the use of the wrong
      location. To address this, the code that reads settings.xml has been
      updated to provide the current System properties as a property
      interpolation source.
      
      RepositoryConfigurationFactory configures the local repository as a
      "remote" repository when the local repository location has been
      overridden. This allows spring grab to copy dependencies from the
      local repository into the grab output location (configured via the
      grape.root system property) rather than having to download them again.
      This logic did not consider the customization of the local repository
      location via settings.xml so the dependencies would be downloaded again.
      To address this, RepositoryConfigurationFactory has been updated to
      attempt to use the location configured in settings.xml, before falling
      back to the default location.
      
      The logic that reads settings.xml has deliberately been duplicated. It
      could have been extracted into a separate class, but this is only a
      temporary measure until gh-3275 is tackled. Duplication was deemed
      preferable to adding a new public class in 1.2.x that we’d then want to
      remove in 1.3.
      
      Closes gh-3274
      5e743fb2
    • Stephane Nicoll's avatar
      Allow equal or colon in property value · bbb0b7a8
      Stephane Nicoll authored
      Closes gh-3273
      bbb0b7a8