Dave Syer
217a6a4cd1
Unify log format of default JDK logger with other systems
2013-07-14 08:58:47 +01:00
Phillip Webb
a97f4f670c
Tweak starter poms
...
Minor tweaks to some starter POMs.
2013-07-13 22:46:45 -07:00
Phillip Webb
8d39abb8d9
Protect against multiple define package calls
...
Ensure that multiple calls to define package are not made when the
same class is contained in multiple jars.
2013-07-13 22:44:27 -07:00
Phillip Webb
dc1b787a01
Support color log output
...
Rework logback formatting to include ansi color output. Also added
support for JUL over SLF4J to ensure that tomcat logging looks OK.
Issue: #53249833
2013-07-13 21:05:07 -07:00
Phillip Webb
5c46a39494
Polish ANSI code
2013-07-13 16:05:56 -07:00
Phillip Webb
a324beadac
Create LoggingSystem class to configure logging
...
Add LoggingSystem class that can be used to configure various logging
systems in a consistent way. Mostly the code is migrated from the
LoggingApplicationContextInitializer.
2013-07-13 16:04:08 -07:00
Phillip Webb
ae20d389c4
Add SpringApplicationInitializer strategy
...
Add SpringApplicationInitializer that can be used to initialize a
SpringApplication before it runs. An ApplicationContextInitializer
can optionally implement this interface.
2013-07-13 16:04:07 -07:00
Phillip Webb
d46dbca115
Use starter for CLI apps
...
Update SpringCompilerAutoConfiguration to used the spring starter
rather than explicit bootstrap dependencies.
2013-07-13 16:02:32 -07:00
Phillip Webb
0b673d82e2
Add simple ANSI encoder and colorize the banner
...
Issue: #51754753
2013-07-12 13:51:50 -07:00
Phillip Webb
95373af374
Use logback as default logging implementation
...
Issue: #53278727
2013-07-12 11:15:06 -07:00
Phillip Webb
0ec0851a4f
Update CLI SLF4J version
2013-07-12 09:52:44 -07:00
Dave Syer
8801abe24a
Merge pull request #7 from scottfrederick/master
...
Fixed URL for installer and code formatting.
2013-07-12 09:49:43 -07:00
Scott Frederick
8711f8f57e
Fixed URL for installer and code formatting.
2013-07-12 11:26:02 -05:00
Phillip Webb
2a4454b524
Add simple Java Util Logging formatter
...
Add simple formatter used with the default logging.properties to
improve JUL output.
2013-07-12 00:44:16 -07:00
Phillip Webb
0121e15a32
Associate manifest information with packages
...
Add a custom classloader to ensure that packages from classes loaded
from nested JARs include manifest information.
2013-07-12 00:44:16 -07:00
Phillip Webb
8f62222419
Generate default manifest for all projects
2013-07-12 00:44:16 -07:00
Phillip Webb
d4b9014b64
Log useful information on startup
...
Include the bootstrap version number in the banner and log information
such as the host name when starting.
Issue: #53030523
2013-07-12 00:44:05 -07:00
Phillip Webb
7d824a5701
Fix accidentally broken test
2013-07-11 11:29:17 -07:00
Phillip Webb
7d0c0fc0dd
Polish
2013-07-11 11:21:34 -07:00
Dave Syer
6dbd6d7c4c
[bs-178] Use OpenEntityManagerInView by default in webapp with JPA
...
If JPA is used and the context is a webapp we add the OEMIV interceptor.
It can be switched off by the user declaring a bean of type OEMSIVI or
the corresponding Filter, or by setting spring.jpa.open_in_view=false.
[Fixes #52939983 ]
2013-07-11 18:13:49 +01:00
Dave Syer
5b2986d7a9
Use parent pom with scope=import to define dependency management.
...
If you add a pom-type dependency with scope=import to the dependency
management section, it pulls in the dependencyManagement section from
the other side. So we can have all the depndency versions fixed in one
place (the root parent).
[#53185049 ] [bs-225] Rework starter parent pom
2013-07-11 16:22:21 +01:00
Dave Syer
a7c3edefe8
Tied up loose end for spring profile binding in YAML
...
The short story: we only support comma-separated spring.profiles
in YAML documents.
[#51968679 ]
2013-07-11 15:24:25 +01:00
Dave Syer
d5aad97d1f
[bs-168] Support convenient binding of @Bean to external source
...
@ConfigurationProperties now has a path() attribute that can be used
to specify a resource location explicitly.
[Fixes #51968657 ]
2013-07-11 13:23:24 +01:00
Dave Syer
15ba11f302
[bs-167] Fixed YamlProcessor to not create a key for an array
...
[Fixes #51968679 ] YamlPropertiesFactoryBean creates unbindable keys
(the toString() of the whole map for instance)
2013-07-11 11:07:42 +01:00
Dave Syer
fcb786ed91
Rename starter parent
2013-07-11 09:22:23 +01:00
Phillip Webb
29a9f69d96
Rework maven parent starter POM
...
Create a new spring-starter-maven-parent POM that does not inherit from
the main parent.
Issue: #53185049
2013-07-10 16:20:57 -07:00
Phillip Webb
d8d8b7643b
Upgrade various dependency versions
2013-07-10 15:58:23 -07:00
Phillip Webb
7932456c5f
Remove --help command
2013-07-10 11:55:58 -07:00
Phillip Webb
68f42a7c48
Fix null in help output
2013-07-10 11:21:17 -07:00
Phillip Webb
2d2ce0d3c3
Clean grapes before tests
2013-07-10 11:20:57 -07:00
Phillip Webb
d9fc3fc9de
Fix updated thymeleaf dep
2013-07-10 11:20:22 -07:00
Phillip Webb
86ce60593b
Relax logging tests for CI
2013-07-10 10:50:04 -07:00
Dave Syer
36cbb39dec
[bs-194] Restore udev in maven
...
Also tidy up some TODOs
[Fixes #53030439 ]
2013-07-10 17:03:26 +01:00
Phillip Webb
fbc68fe145
Tweak EmbeddedServletContainerCustomizer javadoc
...
Make it a little clearer that a
EmbeddedServletContainerCustomizerBeanPostProcessor is usually involved.
Issue: #53029445
2013-07-10 09:02:04 -07:00
Dave Syer
d260fa6456
[bs-173] Upgrade Thymeleaf layout dialect
...
[Fixes #52629385 ]
2013-07-10 11:10:15 +01:00
Dave Syer
a119e2388b
Add useful stuff back to startes parent pom
2013-07-10 10:44:38 +01:00
Phillip Webb
324abe88b4
Support running executable-jars exploded
...
Allow the Launcher to detect ans run exploded (unpacked) jar/war files.
This change is primarily driven by the fact that Cloud Foundry will
unpack uploaded files.
Issue: #53066255
2013-07-09 16:38:32 -07:00
Phillip Webb
3ba700a861
Revert accidentally changed logging.properties
2013-07-09 13:15:43 -07:00
Dave Syer
5b78ebe6e3
Add plugin repos to bootstrap profile
2013-07-09 10:22:42 +01:00
Dave Syer
30802e542f
Fix intergration tests spelling
2013-07-09 10:16:39 +01:00
Phillip Webb
02ae46d40e
Further attempt to fix CI log test failures
2013-07-08 21:35:00 -07:00
Phillip Webb
83d3b508a8
Revert "@Ignore logging tests that fail on CI"
...
This reverts commit 2630aa732f
.
2013-07-08 20:27:40 -07:00
Phillip Webb
b81dff9214
Increase integration test timeout
...
Increase time for CLI integration tests to account for @Grab downloads.
2013-07-08 19:32:33 -07:00
Phillip Webb
dbd29f36ec
Protect against malformed logging.config
...
Ensure that any user specified logging.config exists. Required for
CI build as bamboo sets a "LOGGING_CONFIG" environment variable.
2013-07-08 19:30:34 -07:00
Phillip Webb
2630aa732f
@Ignore logging tests that fail on CI
2013-07-08 17:56:23 -07:00
Phillip Webb
abad5aa8e4
Attempt to fix logging tests that fail in CI
2013-07-08 17:45:27 -07:00
Phillip Webb
c52972ceec
Polish
2013-07-08 16:38:15 -07:00
Phillip Webb
dcd120c477
Merge branch 'zero-restructure'
...
* zero-restructure:
Package restructure
Further maven module restructure
Polish and fix sonar warnings
Minor pom tweaks
Add structure 101 project
Remove servet/filter class tangle
Restructure autoconfigure project
Remove tangles from core + minor polish
Restructure packages
Minor change to code formatting
Move @AssertMissingBean to tests
Polish Javadoc
Restructure 'bootstrap' to use 'zero'
Source formatting and clean-up
Restructure projects layout
2013-07-08 13:45:30 -07:00
Phillip Webb
0b863611d9
Package restructure
2013-07-08 13:42:46 -07:00
Phillip Webb
cd51f357a3
Further maven module restructure
2013-07-08 13:42:44 -07:00