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
93c3b22b
Commit
93c3b22b
authored
Jan 21, 2016
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.2.x'
parents
a05a5b3f
c71aa32f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
13 deletions
+5
-13
FlywayAutoConfiguration.java
...rk/boot/autoconfigure/flyway/FlywayAutoConfiguration.java
+0
-2
FlywayProperties.java
...framework/boot/autoconfigure/flyway/FlywayProperties.java
+1
-1
PropertiesLauncher.java
...a/org/springframework/boot/loader/PropertiesLauncher.java
+4
-10
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration.java
View file @
93c3b22b
...
@@ -133,9 +133,7 @@ public class FlywayAutoConfiguration {
...
@@ -133,9 +133,7 @@ public class FlywayAutoConfiguration {
else
{
else
{
flyway
.
setDataSource
(
this
.
dataSource
);
flyway
.
setDataSource
(
this
.
dataSource
);
}
}
// TODO: remove this line once SPR-13749 is fixed
flyway
.
setLocations
(
this
.
properties
.
getLocations
().
toArray
(
new
String
[
0
]));
flyway
.
setLocations
(
this
.
properties
.
getLocations
().
toArray
(
new
String
[
0
]));
return
flyway
;
return
flyway
;
}
}
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java
View file @
93c3b22b
/*
/*
* Copyright 2012-201
4
the original author or authors.
* Copyright 2012-201
6
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java
View file @
93c3b22b
...
@@ -545,20 +545,14 @@ public class PropertiesLauncher extends Launcher {
...
@@ -545,20 +545,14 @@ public class PropertiesLauncher extends Launcher {
if
(
url
.
toString
().
endsWith
(
".jar"
)
||
url
.
toString
().
endsWith
(
".zip"
))
{
if
(
url
.
toString
().
endsWith
(
".jar"
)
||
url
.
toString
().
endsWith
(
".zip"
))
{
return
new
JarFileArchive
(
new
File
(
url
.
toURI
()));
return
new
JarFileArchive
(
new
File
(
url
.
toURI
()));
}
}
else
if
(
url
.
toString
().
endsWith
(
"/*"
))
{
if
(
url
.
toString
().
endsWith
(
"/*"
))
{
String
name
=
url
.
getFile
();
String
name
=
url
.
getFile
();
File
dir
=
new
File
(
name
.
substring
(
0
,
name
.
length
()
-
1
));
File
dir
=
new
File
(
name
.
substring
(
0
,
name
.
length
()
-
1
));
if
(
dir
.
exists
())
{
return
(
dir
.
exists
()
?
new
ExplodedArchive
(
dir
,
false
)
:
null
);
return
new
ExplodedArchive
(
new
File
(
name
.
substring
(
0
,
name
.
length
()
-
1
)),
false
);
}
}
}
else
{
String
filename
=
URLDecoder
.
decode
(
url
.
getFile
(),
"UTF-8"
);
String
filename
=
URLDecoder
.
decode
(
url
.
getFile
(),
"UTF-8"
);
return
new
ExplodedArchive
(
new
File
(
filename
));
return
new
ExplodedArchive
(
new
File
(
filename
));
}
}
return
null
;
}
private
void
addNestedArchivesFromParent
(
List
<
Archive
>
urls
)
{
private
void
addNestedArchivesFromParent
(
List
<
Archive
>
urls
)
{
int
index
=
findArchive
(
urls
,
this
.
parent
);
int
index
=
findArchive
(
urls
,
this
.
parent
);
...
...
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