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
8e0e825e
Commit
8e0e825e
authored
Sep 03, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3741 from ilayaperumalg/jar-launcher-access
* gh-3741: Make it easier to subclass Launchers
parents
60b8cb8a
61ac04aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
ExecutableArchiveLauncher.java
...pringframework/boot/loader/ExecutableArchiveLauncher.java
+1
-1
JarLauncher.java
...ain/java/org/springframework/boot/loader/JarLauncher.java
+7
-0
WarLauncher.java
...ain/java/org/springframework/boot/loader/WarLauncher.java
+1
-1
No files found.
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/ExecutableArchiveLauncher.java
View file @
8e0e825e
...
...
@@ -55,7 +55,7 @@ public abstract class ExecutableArchiveLauncher extends Launcher {
this
.
javaAgentDetector
=
javaAgentDetector
;
}
ExecutableArchiveLauncher
(
Archive
archive
)
{
protected
ExecutableArchiveLauncher
(
Archive
archive
)
{
this
.
javaAgentDetector
=
new
InputArgumentsJavaAgentDetector
();
this
.
archive
=
archive
;
}
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java
View file @
8e0e825e
...
...
@@ -31,6 +31,13 @@ public class JarLauncher extends ExecutableArchiveLauncher {
private
static
final
AsciiBytes
LIB
=
new
AsciiBytes
(
"lib/"
);
public
JarLauncher
()
{
}
protected
JarLauncher
(
Archive
archive
)
{
super
(
archive
);
}
@Override
protected
boolean
isNestedArchive
(
Archive
.
Entry
entry
)
{
return
!
entry
.
isDirectory
()
&&
entry
.
getName
().
startsWith
(
LIB
);
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/WarLauncher.java
View file @
8e0e825e
...
...
@@ -42,7 +42,7 @@ public class WarLauncher extends ExecutableArchiveLauncher {
super
();
}
WarLauncher
(
Archive
archive
)
{
protected
WarLauncher
(
Archive
archive
)
{
super
(
archive
);
}
...
...
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