Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
4eb73e00
Commit
4eb73e00
authored
Mar 04, 2019
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recommend that DevTools is excluded with custom packaging arrangement
Closes gh-15382
parent
4f2e7888
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
using-spring-boot.adoc
...spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
+7
-4
No files found.
spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
View file @
4eb73e00
...
@@ -762,10 +762,13 @@ listings for Maven and Gradle:
...
@@ -762,10 +762,13 @@ listings for Maven and Gradle:
NOTE: Developer tools are automatically disabled when running a fully packaged
NOTE: Developer tools are automatically disabled when running a fully packaged
application. If your application is launched from `java -jar` or if it is started from a
application. If your application is launched from `java -jar` or if it is started from a
special classloader, then it is considered a "`production application`". Flagging the
special classloader, then it is considered a "`production application`". If that does not
dependency as optional in Maven or using a custom`developmentOnly` configuration in
apply to you (i.e. if you run your application from a container), consider excluding
Gradle (as shown above) is a best practice that prevents devtools from being transitively
devtools or set the `-Dspring.devtools.restart.enabled=false` system property.
applied to other modules that use your project.
TIP: Flagging the dependency as optional in Maven or using a custom`developmentOnly`
configuration in Gradle (as shown above) is a best practice that prevents devtools from
being transitively applied to other modules that use your project.
TIP: Repackaged archives do not contain devtools by default. If you want to use a
TIP: Repackaged archives do not contain devtools by default. If you want to use a
<<using-boot-devtools-remote,certain remote devtools feature>>, you need to disable the
<<using-boot-devtools-remote,certain remote devtools feature>>, you need to disable the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment