Commit Graph

426 Commits

Author SHA1 Message Date
Phillip Webb 6bb628adb4 Indicate downloading dependencies progress in CLI
Update CLI to show a "Downloading Dependencies..." message if the
initial dependency resolution takes more than 3 seconds. Whilst
downloading dots are appended to the message.

Issue: #54589094
2013-08-05 08:51:39 -07:00
Dave Syer e99d2199d8 Attempt to sort out logging dependencies 2013-08-05 15:00:02 +01:00
Dave Syer 3922a7f526 Reinstate junit dependencies in starters 2013-08-05 12:43:24 +01:00
Dave Syer 22b1f25642 Remove hardcoded version in Banner 2013-08-05 11:00:33 +01:00
Dave Syer 34500632d4 Accept SPRING_HOME if already set 2013-08-05 11:00:24 +01:00
Dave Syer 2de91a8138 Fix travis build 2013-08-05 10:23:40 +01:00
Dave Syer 0359cb084a Fix up some links in README 2013-08-05 09:58:30 +01:00
Dave Syer 834b42c195 Try to debug the travis build 2013-08-05 07:21:25 +01:00
Phillip Webb 8a4b4bd155 Add spring.bat start script for Windows 2013-08-04 14:20:26 -07:00
Phillip Webb 8a19e48e21 Polish and simplify spring bash script 2013-08-04 14:20:03 -07:00
Phillip Webb a9700c92f3 Fix a few problems with spring start script
Fixed a few issues with the spring start script, mainly around symlinks.
Test on OSX, Ubuntu and Windows (Cygwin) with and would symlinks.
2013-08-04 08:58:07 -07:00
Phillip Webb 94855bf4ec Correct directory permissions in dist zip 2013-08-04 07:21:22 -07:00
Dave Syer 55ed0bdf45 Fix problem locating spring home 2013-08-03 09:27:57 +01:00
Phillip Webb 45206d6050 Merge pull request #9 from olivergierke/master
# By Oliver Gierke
* pull9:
  Cleanups Spring Data JPA example.
2013-08-02 22:29:32 -07:00
Oliver Gierke d2def68602 Cleanups Spring Data JPA example.
Various cleanups to the Spring Data JPA example, including:

* Move repositories into service package and make them package private
  thus only expose the service interfaces to clients.
* Merge HotelRepository and HotelSummaryRepository and make service
  implementations package protected.
* Introduce integration test base class to bootstrap the app as
  SpringAppliation.run would.
* Refactor central test case to rather use Spring MVC integration
  testing framework.
* Add integration tests for repositories to execute query methods.
2013-08-02 22:29:07 -07:00
Phillip Webb c1344683ab Fixup sample links in README.md 2013-08-02 22:07:13 -07:00
Phillip Webb 1db22aca5c Rework POM structure
Rework main build POM to be an aggregator pom that does not inherit
from any parent. Introduce new spring-boot-dependencies module to
act as a parent for both spring-boot-starter-parent and
spring-boot-parent.
2013-08-02 21:58:24 -07:00
Dave Syer 789a5d978b Fix jar file name in alias 2013-08-02 15:01:20 +01:00
Dave Syer 27ebb52196 Add back dev profile 2013-08-02 14:57:08 +01:00
Dave Syer ee4b533539 Fix maven repo link 2013-08-02 14:56:45 +01:00
Dave Syer 859e6c2ea8 Add spring-test to parents for samples 2013-08-02 14:44:45 +01:00
Dave Syer a51e064f56 Alias for spring-cli now uses wget 2013-08-02 14:24:57 +01:00
Dave Syer 413658fbca Change parent for tools poms 2013-08-02 12:14:11 +01:00
Dave Syer 24e766b4e5 Add travis build 2013-08-02 12:10:40 +01:00
Dave Syer 4bb5de02e7 Switch back to SNAPSHOT for dev 2013-08-02 12:00:14 +01:00
Dave Syer 638a31f5e3 Fix poms for a milestone release 2013-08-02 12:00:14 +01:00
Dave Syer 19a880dff6 Move tools modules under spring-boot-tools 2013-08-02 12:00:14 +01:00
Dave Syer 68e5a7e887 Bump version to 0.5.0.M1 2013-08-02 12:00:14 +01:00
Phillip Webb fda537d3b9 Polish 2013-08-02 01:00:00 -07:00
Phillip Webb e1c6860a41 Documentation 2013-08-02 00:34:53 -07:00
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
2013-08-01 23:33:18 -07:00
Phillip Webb 448e3283bc Polish 2013-08-01 23:33:07 -07:00
Phillip Webb 6ada4553ae Change binding exceptionIfInvalid default to true
Issue: #54462302
2013-08-01 11:10:04 -07:00
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
2013-08-01 10:52:38 -07:00
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]
2013-08-01 11:38:03 +01:00
Phillip Webb 25f31b6358 Polish RegistrationBean logic 2013-08-01 00:24:52 -07:00
Phillip Webb d835ee548d Documentation 2013-08-01 00:24:24 -07:00
Phillip Webb 57f62a5a20 Remove samples from main POM 2013-08-01 00:10:56 -07:00
Phillip Webb bd5e49fc84 Revert "Remove integration tests project"
Turns out the maven-plugin still causes issues.

This reverts commit 1ccdf2f6cf.
2013-08-01 00:09:49 -07:00
Dave Syer 1c34fb5ed3 Fix mvn assembly 2013-07-31 21:53:32 +01:00
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.
2013-07-31 13:30:48 -07:00
Phillip Webb 5450af70e0 Ops -> Actuator 2013-07-31 13:20:26 -07:00
Phillip Webb c83400d265 Move conditions from boot to autoconfigure
Issue: #54393078
2013-07-31 12:58:47 -07:00
Phillip Webb 4c067a89fe Ops -> Actuator 2013-07-31 12:57:25 -07:00
Phillip Webb d1ceed2f7d Polish banner 2013-07-31 12:11:09 -07:00
Dave Syer 92ff433dd0 Add samples to pom so they are part of reactor
(Might remove this later but getting ready for a release)
2013-07-31 15:13:24 +01:00
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]
2013-07-31 12:16:28 +01:00
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]
2013-07-31 10:30:03 +01:00
Phillip Webb b65625bec3 Ensure registerShutdownHook is called for apps 2013-07-31 01:55:29 -07:00
Dave Syer 5995b7727a Ops -> Actuator 2013-07-31 09:46:34 +01:00