From 74a4b1e02327f26a7c2fceea4a8acf3a0152e4ea Mon Sep 17 00:00:00 2001 From: Renjith G R Date: Sun, 30 Jul 2017 01:40:19 +0530 Subject: [PATCH 1/3] Change the application layout in documentation to show packaging by features --- .../src/main/asciidoc/using-spring-boot.adoc | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index 8438db7fc49f..3586d661696d 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -358,18 +358,20 @@ Here is a typical layout: ---- com +- example - +- myproject + +- myApplication +- Application.java | - +- domain + +- customer | +- Customer.java - | +- CustomerRepository.java + | +- CustomerController.java + | +- CustomerService.java + | +- CustomerRepository.java | - +- service - | +- CustomerService.java - | - +- web - +- CustomerController.java + +- order + | +- Order.java + | +- OrderController.java + | +- OrderService.java + | +- OrderRepository.java ---- The `Application.java` file would declare the `main` method, along with the basic From 5ad719fa17055dbe2168fdb56c727d96d89b88b5 Mon Sep 17 00:00:00 2001 From: Renjith G R Date: Sun, 30 Jul 2017 15:46:05 +0530 Subject: [PATCH 2/3] Fixing the indentation of ascii art based on the feedback for pull request 9907 --- .../src/main/asciidoc/using-spring-boot.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index 3586d661696d..c6c619a461e1 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -364,14 +364,14 @@ Here is a typical layout: +- customer | +- Customer.java | +- CustomerController.java - | +- CustomerService.java - | +- CustomerRepository.java + | +- CustomerService.java + | +- CustomerRepository.java | +- order - | +- Order.java + | +- Order.java | +- OrderController.java - | +- OrderService.java - | +- OrderRepository.java + | +- OrderService.java + | +- OrderRepository.java ---- The `Application.java` file would declare the `main` method, along with the basic From 6c349d9c59e35a097d822ff8fe75433904e499dc Mon Sep 17 00:00:00 2001 From: Renjith G R Date: Mon, 31 Jul 2017 06:34:19 +0530 Subject: [PATCH 3/3] Fixing the package name and the tree based on the feedback of 9907 --- .../src/main/asciidoc/using-spring-boot.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index c6c619a461e1..b8c1961dbb50 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -358,7 +358,7 @@ Here is a typical layout: ---- com +- example - +- myApplication + +- myapplication +- Application.java | +- customer @@ -368,10 +368,10 @@ Here is a typical layout: | +- CustomerRepository.java | +- order - | +- Order.java - | +- OrderController.java - | +- OrderService.java - | +- OrderRepository.java + +- Order.java + +- OrderController.java + +- OrderService.java + +- OrderRepository.java ---- The `Application.java` file would declare the `main` method, along with the basic