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
40d0d6b1
Commit
40d0d6b1
authored
Mar 25, 2019
by
Johnny Lim
Committed by
Stephane Nicoll
Mar 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
Closes gh-16299
parent
89f93b28
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
FlywayMigrationScriptMissingException.java
...nfigure/flyway/FlywayMigrationScriptMissingException.java
+2
-2
FlywayAutoConfigurationTests.java
...ot/autoconfigure/flyway/FlywayAutoConfigurationTests.java
+1
-1
using-spring-boot.adoc
...spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
+1
-1
ConfigFileApplicationListener.java
...rk/boot/context/config/ConfigFileApplicationListener.java
+1
-1
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayMigrationScriptMissingException.java
View file @
40d0d6b1
...
@@ -32,8 +32,8 @@ public class FlywayMigrationScriptMissingException extends RuntimeException {
...
@@ -32,8 +32,8 @@ public class FlywayMigrationScriptMissingException extends RuntimeException {
FlywayMigrationScriptMissingException
(
List
<
String
>
locations
)
{
FlywayMigrationScriptMissingException
(
List
<
String
>
locations
)
{
super
(
locations
.
isEmpty
()
?
"Migration script locations not configured"
super
(
locations
.
isEmpty
()
?
"Migration script locations not configured"
:
"Cannot find migration
s location
in: "
+
locations
:
"Cannot find migration
scripts
in: "
+
locations
+
" (please add migrations or check your Flyway configuration)"
);
+
" (please add migration
script
s or check your Flyway configuration)"
);
this
.
locations
=
new
ArrayList
<>(
locations
);
this
.
locations
=
new
ArrayList
<>(
locations
);
}
}
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfigurationTests.java
View file @
40d0d6b1
...
@@ -209,7 +209,7 @@ public class FlywayAutoConfigurationTests {
...
@@ -209,7 +209,7 @@ public class FlywayAutoConfigurationTests {
assertThat
(
context
).
getFailure
()
assertThat
(
context
).
getFailure
()
.
isInstanceOf
(
BeanCreationException
.
class
);
.
isInstanceOf
(
BeanCreationException
.
class
);
assertThat
(
context
).
getFailure
()
assertThat
(
context
).
getFailure
()
.
hasMessageContaining
(
"Cannot find migration
s location
in"
);
.
hasMessageContaining
(
"Cannot find migration
scripts
in"
);
});
});
}
}
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
View file @
40d0d6b1
...
@@ -770,7 +770,7 @@ apply to you (i.e. if you run your application from a container), consider exclu
...
@@ -770,7 +770,7 @@ apply to you (i.e. if you run your application from a container), consider exclu
devtools or set the `-Dspring.devtools.restart.enabled=false` system property.
devtools or set the `-Dspring.devtools.restart.enabled=false` system property.
TIP: Flagging the dependency as optional in Maven or using a custom `developmentOnly`
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
configuration in Gradle (as shown above) is a best practice that prevents devtools from
being transitively applied to other modules that use your project.
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
...
...
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java
View file @
40d0d6b1
...
@@ -75,7 +75,7 @@ import org.springframework.util.StringUtils;
...
@@ -75,7 +75,7 @@ import org.springframework.util.StringUtils;
* properties from well known file locations. By default properties will be loaded from
* properties from well known file locations. By default properties will be loaded from
* 'application.properties' and/or 'application.yml' files in the following locations:
* 'application.properties' and/or 'application.yml' files in the following locations:
* <ul>
* <ul>
* <li>file:./config/
:
</li>
* <li>file:./config/</li>
* <li>file:./</li>
* <li>file:./</li>
* <li>classpath:config/</li>
* <li>classpath:config/</li>
* <li>classpath:</li>
* <li>classpath:</li>
...
...
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