Commit Graph

1817 Commits

Author SHA1 Message Date
Stephane Nicoll
d6be3dfbb0 Add a note on maven filtering
This commit adds a documentation note explaining how to change
the delimiters used to filter maven tokens as these conflict with the
delimiters used by Spring (i.e. ${foo:default}).
2014-03-19 08:40:28 +00:00
Phillip Webb
24cc51c36f Fix typo 2014-03-18 20:46:13 -07:00
Phillip Webb
98e4008b16 Don't display hint command in options help
Fixes gh-471
2014-03-18 15:47:35 -07:00
Phillip Webb
2929d33e37 Add links in Appendix B
Fixes gh-491
2014-03-18 13:17:37 -07:00
Phillip Webb
bddf38a633 Merge pull request #523 from snicoll/doc-appendix
* doc-appendix:
  Review of the Appendix
2014-03-18 12:16:16 -07:00
Stephane Nicoll
7813726e29 Review of the Appendix
This commit reviews the Appendix of the Spring boot
doc, fixing mostly typos.
2014-03-18 12:16:09 -07:00
Phillip Webb
e23bcdbe29 Update OSX Java 1.6 compatibility fix for plugins
Change the initial fix for OSX Java 1.6 compatibility by removing the
need for a direct `tools.jar` dependency.

It appears that `system` dependencies are always pulled in when
used in a Maven plugin. This makes the the dependency on `tools.jar`
particularly brittle since we need to make assumptions about where
the jar is located.

Since the tools jar is *only* needed for Spring Loaded support, the
plugin has now been updated to locate the jar programmatically and
call it via reflection. This should reduce the risk of problems when
using the plugin and at the very least isolate them to Spring Loaded
support.

(See original commit b8c4720)

Fixes gh-497
2014-03-18 12:05:35 -07:00
Phillip Webb
913b6020d6 Minor doc polish 2014-03-18 11:26:15 -07:00
Phillip Webb
798229f530 Document rabbit.addresses property 2014-03-18 11:15:15 -07:00
Phillip Webb
f4ebf8c80f Add clickable anchors to HTML docs
Fixes gh-525
2014-03-18 10:58:16 -07:00
Phillip Webb
b697191e3e Format docbook css 2014-03-18 10:58:15 -07:00
Dave Syer
01137b6fd6 Add "addresses" to RabbitProperties
If user sets addresses it supercedes anything that was set in host
or port (same as in the native ConnectionFactory).

Fixes gh-524
2014-03-18 17:57:55 +00:00
Phillip Webb
cb52cb5555 Merge pull request #498 from veryangryant/json-sort-keys
* json-sort-keys:
  Add support for sorting json keys
2014-03-18 10:38:34 -07:00
Piotr Maj
2e74251d1b Add support for sorting json keys
Add `jsonSortKeys` property to HttpMapperProperties.

Fixes gh-498
2014-03-18 10:38:00 -07:00
Phillip Webb
ca0a12cedb Polish 2014-03-18 10:23:54 -07:00
Phillip Webb
f55ca99214 Polish zip file detection 2014-03-18 10:23:54 -07:00
Phillip Webb
08b9592606 Polish spaces -> tabs 2014-03-18 10:23:54 -07:00
Phillip Webb
5cb8e4100c Polish docs
Minoir polish for wrapping at 90 and tabs instead of spaces.
2014-03-18 10:23:54 -07:00
Stephane Nicoll
5ce1bdfb7f Review of the How-to part
This commit reviews the How-to part of the Spring boot doc,
fixing mostly typos.

See gh-521
2014-03-18 17:16:52 +00:00
Dave Syer
ae512193bf Add missing test mannifest 2014-03-18 16:37:53 +00:00
Dave Syer
935131cdab Clarification regarding format of loader.path 2014-03-18 15:31:45 +00:00
Dave Syer
a1d3bac7c8 More changes to teh way ExplodedArchive works in non-recursive mode
It is sufficient for most purposes (e.g. the ones PropertieLauncher needs)
to only read the META-INF directory (not the whole file tree). So a quick
fix is to make META-INF a special case when initializing non-recursive
entries.

Fixes gh-520
2014-03-18 14:28:23 +00:00
Dave Syer
2c60449836 Be defensive with File.listFiles() 2014-03-18 14:28:23 +00:00
Dave Syer
433f998659 Be defensive with possibly secured APIs 2014-03-18 14:28:23 +00:00
Andy Wilkinson
38585bf3b6 Omit any file that is not a zip when repackaging
When repackaging an archive, the files in the resulting lib directory
must be zip files. If they're not zip files, the resulting archive
may fail to run (#324).

The previous approach was to consider an artifact's type when deciding
whether or not it should be packaged. The type is a string and, while
there are a number of well-known values, it can essentially be anything.
This caused a problem with an artifact incorrectly being identified as
being unsuitable for inclusion (#489).

This commit changes the approach. Rather than looking at an artifact's
type, it looks at the first four bytes  of the archive's file. Only if
these header bytes matche that of a zip file is the artifact included.
This is a better match for the requirement that all files in lib be zip
files.

Fixes #489
2014-03-18 10:03:38 +00:00
Dave Syer
a8ba80bbf4 Add build.gradle samples and docs for deployable WAR
Fixes gh-518
2014-03-18 09:29:35 +00:00
Dave Syer
9f532b653f Add docs for RestTemplates test utils
Fixes gh-500
2014-03-18 08:46:36 +00:00
Dave Syer
879b31f370 Add Ordered to RegistrationBean
Fixes gh-507
2014-03-18 08:37:32 +00:00
Dave Syer
d0cd1df978 Documentation for @IntegrationTest
Fixes gh-499
2014-03-18 08:37:04 +00:00
Greg Turnquist
aca019622f Remove unnecessary optional flag 2014-03-18 08:19:03 +00:00
Greg Turnquist
ed6a9ac5b3 Set version for Spring Data Commons 2014-03-18 08:19:03 +00:00
Phillip Webb
d9de3f57bd Update test dependencies documentation
Change working since test dependencies cannot easily be replaced.
2014-03-17 14:30:16 -07:00
Phillip Webb
5ed6d456d2 Clarify log PID in documentation 2014-03-17 14:28:30 -07:00
Phillip Webb
156a2f5c63 Clarify YAML profile sample in documentation 2014-03-17 14:25:39 -07:00
Phillip Webb
345fa7a102 Simplify fluent builder documentation note. 2014-03-17 14:16:37 -07:00
Phillip Webb
f0b6f6a516 Remove quotes from internal documentation links
Remove quote-marks from internal documentation links and instead favor
italics.
2014-03-17 14:14:45 -07:00
Phillip Webb
447b2be91d Fix lets -> let's in documentation 2014-03-17 13:41:56 -07:00
Phillip Webb
4ca8993bf6 Merge pull request #508 from snicoll/docs
* docs:
  Review first 8 parts of the doc
2014-03-17 12:39:30 -07:00
Stephane Nicoll
78f9afba90 Review first 8 parts of the doc
This commit mostly fixes typos but also improves slightly specific
areas, adding links when it make sense.
2014-03-17 12:39:30 -07:00
Dave Syer
0f8d00b3a8 Add javaodcs about @IntegrationTest to SpringApplicationContextLoader
See gh-499
2014-03-17 12:36:13 +00:00
Trevor Menagh
b8c472007a Make Spring Boot work in Java 1.6 on Mac OS X
Currently Spring Boot fails in Java 1.6 on Mac OS X due to the
"tools.jar" being integrated into classes.jar in the Apple version of
Java 6.

Apple fixed this with Java 7, but we should still support Java 6. We had
to roll back to maven-plugin-plugin 3.1 to make this work with Java 6
and 7.

All tests pass with Java 6 and Java 7.
2014-03-17 12:12:29 +00:00
Dave Syer
16d4214f56 Add a couple more tests on profile ordering 2014-03-17 09:36:47 +00:00
Dave Syer
b8d85decad Fix typo 2014-03-17 08:19:21 +00:00
Phillip Webb
9f8c8c3fe7 Remove double quotes from sample in appendix B
Fixes gh-492
2014-03-17 00:07:53 -07:00
Phillip Webb
947b4f9d8f Add properties syntax highlighting for docs
Fixes gh-495
2014-03-17 00:04:57 -07:00
Phillip Webb
545f046745 Minor doc polish 2014-03-16 23:11:50 -07:00
Phillip Webb
c5ee3c7eba Remove duplicate documentation
Remove README files that have been since been migrated to the reference
documentation. Also updated remaining markdown files to asciidoctor to
save having a mix of different formats.

Fixed gh-503
2014-03-16 23:00:12 -07:00
Phillip Webb
d0275b4734 Fix some broken documentation links 2014-03-15 16:02:20 -07:00
Phillip Webb
630d2ddefe Port Add Maven example for Tomcat 8
Port Add Maven example for Tomcat 8 from markdown to asciidoc.
(originally from commit 15372cb737)
2014-03-15 13:02:02 -07:00
Phillip Webb
9f112ff8e0 Port ViewResolver docs
Port documentation originally added in commit b56bd0a10c
2014-03-15 13:02:02 -07:00