Commit Graph

17297 Commits (42a6c3671686c3373183199052cf897cfc9fe30d)
 

Author SHA1 Message Date
Phillip Webb e1c6860a41 Documentation 11 years ago
Phillip Webb 5a7236625b Do not use property placeholder in config names
Update ConfigFileApplicationContextInitializer so that the names
property defaults to `${spring.config.name},application`. This allows
application.properties files to be loaded even when property placeholder
expansion is not enabled.

Issue: #54462910
11 years ago
Phillip Webb 448e3283bc Polish 11 years ago
Phillip Webb 6ada4553ae Change binding exceptionIfInvalid default to true
Issue: #54462302
11 years ago
Phillip Webb 88bc6c0b56 Update Javadoc following source logic change
Update Javadoc to indicate the sources are used in addition to those
specified on construction. Also renamed member variables and fixed
log output.

Issue: #54185750
11 years ago
Dave Syer 3fda19af58 Change semantics of spring.main.sources slightly
Now the environment overrides aare **added** to the
sources provided in SpringApplication.run(). This
avoids some potential surprises where setSources()
would have been silently ignored.

[#54185750]
11 years ago
Phillip Webb 25f31b6358 Polish RegistrationBean logic 11 years ago
Phillip Webb d835ee548d Documentation 11 years ago
Phillip Webb 57f62a5a20 Remove samples from main POM 11 years ago
Phillip Webb bd5e49fc84 Revert "Remove integration tests project"
Turns out the maven-plugin still causes issues.

This reverts commit 1ccdf2f6cf.
11 years ago
Dave Syer 1c34fb5ed3 Fix mvn assembly 11 years ago
Phillip Webb 1ccdf2f6cf Remove integration tests project
Remove no longer required integration tests project. Samples can
now be called as part of the build since the maven plugin is no
longer an extension.
11 years ago
Phillip Webb 5450af70e0 Ops -> Actuator 11 years ago
Phillip Webb c83400d265 Move conditions from boot to autoconfigure
Issue: #54393078
11 years ago
Phillip Webb 4c067a89fe Ops -> Actuator 11 years ago
Phillip Webb d1ceed2f7d Polish banner 11 years ago
Dave Syer 92ff433dd0 Add samples to pom so they are part of reactor
(Might remove this later but getting ready for a release)
11 years ago
Dave Syer 00e893780a Allow spring.main.sources to override only if uninitialized
The problem this change fixes is that spring.main.sources would always
be bound to SpringApplication.sources when provided in a properties file
even if SpringApplication.run() is called directly with sources. This
led to confusion with users saying that their sources were not working
where in fact they weren't even being used.

There would be more than one way to approach this problem, but we
have chosen for now to ignore spring.main.sources completely
if the SpringApplication constructor was already called with
explicit non-empty sources. It might be preferable, if possible,
to only ignore its value in an external properties file (allowing
command line or System properties to override). If we want to change
the behaviour again, I suggest a new story should be created.

[Fixes #54185750] [bs-255]
11 years ago
Dave Syer 39425c81d6 Servlet context document root not found when running as exploded WAR
* Added additional search in
AbstractEmbeddedServletContainerFactory.getValidDocumentRoot() to
detect a /WEB-INF/ directory in the code archive
* If the code archive is in /WEB-INF/** then we assume it is
safe to serve content from / (exposes the loader classes
but nothing sensitive from the app)

[Fixes #54345578]
11 years ago
Phillip Webb b65625bec3 Ensure registerShutdownHook is called for apps 11 years ago
Dave Syer 5995b7727a Ops -> Actuator 11 years ago
Dave Syer ec3c5b5321 Add auto compile tweaks for reactor 11 years ago
Phillip Webb 9cf59050d3 Documentation 11 years ago
Phillip Webb ec36efd50f Rename Spring Bootstrap -> Spring Boot 11 years ago
Phillip Webb 3bb79db579 Renamed spring-boot-ups -> spring-boot-starter 11 years ago
Dave Syer 2f0a96c986 Remove unused @ComponentScan 11 years ago
Dave Syer 6d76467a66 Add responsive features to static sample 11 years ago
Phillip Webb 0fee00f0d7 Add gradle example builds
Add gradle example builds to spring-boot-sample-tomcat and
spring-boot-sample-traditional.

Issue: #53129653
11 years ago
Phillip Webb 2752177fba Add spring-boot-gradle-plugin
Develop gradle plugin that can repackage JAR/WAR archives so that
they can be launched using 'java -jar'

Issue: #53129653
11 years ago
Phillip Webb 0db6799def Polish spring-boot-loader-tools
Issue: #53129653
11 years ago
Phillip Webb 826f42746a Fix package name for boot-loader-tools
Issue: #53129653
11 years ago
Phillip Webb d1c31445ec Fixup various spring-boot-loader-tools issues
Fix compression of existing jars to detect nested zip entries and
use the STORED method.

Also fixed various test errors.

Issue: #53129653
11 years ago
Phillip Webb 14062964e0 Remove v[N/A] log output 11 years ago
Phillip Webb 82f16a0430 Ignore eclipse generated markdown files 11 years ago
Phillip Webb 6fd6d3a73e Rename maven 'package' goal to 'repackage' 11 years ago
Phillip Webb 36c3ceab97 Include servlet support for index.html resources
Issue: #54228642
11 years ago
Phillip Webb 772cc851a0 Polish WebMvcAutoConfiguration resource locations 11 years ago
Phillip Webb 728829ba81 Revert welcome file defaults
Revert welcome file default that break existing tests.

Issue: #54228642
11 years ago
Phillip Webb c951989421 Ignore failure to close zip errors
Issue: Issue: #53129653
11 years ago
Dave Syer fe90df3afc Remove WARN log in Tomcat startup 11 years ago
Dave Syer 4c359e1a4d Two choices are available to users for welcome page
* For a jar deployment add classpath:static/index.html
(works via Spring MVC mapping)
* For a war the same thing works, but so does adding
index.html to src/main/webapp (works via container
default servlet)

[Fixes #54092261] [bs-252]
11 years ago
Dave Syer af798a2741 Use an include for logback 11 years ago
Phillip Webb 5e4238f38a Create spring-loader-tools project
Create spring-loader-tools containing utilities that can be used
with both Maven and Gradle plugings.

Refactored existing Maven plugin to use the new project.

Issue: #53129653
11 years ago
Dave Syer 7ea433dce2 Fix broken logback.xml 11 years ago
Phillip Webb 65a9953c86 Fix a new remaining 'zero' and 'bootstrap' terms
Issue: #54095231
11 years ago
Phillip Webb b665a2bb1d Renamed packages
Issue: #54095231
11 years ago
Phillip Webb 3f2bb03fb8 Renamed some projects and polish POMs
Issue: #54095231
11 years ago
Dave Syer 06ddd92438 Fix spelling error in maven plugin name 11 years ago
Dave Syer 2098e23fca Change package names zero->boot
* actuator -> boot-ops
* cli -> boot-cli
* launcher -> boot-load
* autoconfig -> boot-config
* bootstrap -> boot-strap
* starters -> boot-up

[#54095231] [bs-253] Refactor Zero->Boot
11 years ago
Dave Syer b2873fbc2d Add WebMvcAutoConfigurationTests
[Fixes #53027833]
11 years ago