Andy Wilkinson
41424e4529
Merge branch '1.5.x'
...
Closes gh-10457
7 years ago
Johnny Lim
bfa291f671
Polish
7 years ago
dreis2211
756398b52c
Replace some String.length() checks with String.isEmpty()
...
Closes gh-10451
7 years ago
Phillip Webb
9e43b99966
Polish
7 years ago
Andy Wilkinson
1e4e64aa8c
Polish "Support inlining a conf script into the default launch script"
...
Closes gh-9590
7 years ago
JustinKSU
5ee28a08e1
Support inlining a conf script into the default launch script
...
See gh-9590
7 years ago
Andy Wilkinson
3db5843c8b
Polish "Find .conf file next to symlink to jar that's using the launch script"
...
Closes gh-8988
7 years ago
Ali Shahbour
56a5888008
Find .conf file next to symlink to jar that's using the launch script
...
See gh-8988
7 years ago
Spring Buildmaster
30eb937a83
Next Development Version
7 years ago
Stephane Nicoll
7b846e0412
Merge branch '1.5.x'
7 years ago
Stephane Nicoll
af18110226
Polish "Improve exception message for invalid source"
...
Closes gh-10130
7 years ago
Aurélien Pupier
44b60c72e3
Improve exception message for invalid source
...
See gh-10130
7 years ago
Spring Buildmaster
17a5bb0be4
Next development version
7 years ago
Spring Buildmaster
41c5c0e7c9
Next development version
7 years ago
Emanuel Campolo
2626a3a795
Use lambdas when possible
...
Replace anonymous inner classes with lambda declarations (when possible
using method references).
See gh-9781
7 years ago
Emanuel Campolo
d16af43664
Replace try with try-with-resources
...
Update existing try/finally/close blocks to use "try with resources"
See gh-9781
7 years ago
Emanuel Campolo
4a189bdee7
Replace Collections.sort() with direct sort call
...
Replace existing `Collections.sort(...)` calls with `.sort(...)`
directly on the collection instance.
See gh-9781
7 years ago
Andy Wilkinson
f0b7e7cf56
Ensure that fat jars and wars do not corrupt UTF-8 entry names
...
Previously, both Repackager and the Grade plugin used the JRE's
standard ZipOutputStream when creating a fat jar or war file. This
resulted in entry names that needed UTF-8 encoding to become
corrupted.
This commit updates both to use Commons Compress'
ZipArchiveOutputStream and to configure the stream's encoding and
each entry's Unix mode. This ensures that names are encoded using
UTF-8 and can be read back in correctly by common zip tools.
Closes gh-9405
8 years ago
Andy Wilkinson
e6a3ca5da6
Address deprecation warning that's generated by Gradle 4.x
...
In Gradle 4.x, SourceSetOutput now has multiple classes directories
and getClassesDir() has been deprecated. This commit introduces the
use of reflection to use getClassesDirs() when it's available rather
than getClassesDir().
Closes gh-9559
8 years ago
Stephane Nicoll
cabe59d65a
Remove animal sniffer
...
See gh-9564
8 years ago
Spring Buildmaster
05d4d0281c
Next Development Version
8 years ago
Phillip Webb
2c7dd9f519
Polish
8 years ago
Andy Wilkinson
d5438c299c
Polish "Use try-with-resources to close resources automatically"
...
- Apply code formatting
- Use try-with-resources in many other places that were missed in the
pull request
Closes gh-8045
8 years ago
Stephane Nicoll
2e94fd4434
Remove support for Spring Loaded
...
Closes gh-7978
8 years ago
Spring Buildmaster
9768b0a8c2
Next Development Version
8 years ago
Stephane Nicoll
ff50331168
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
d8e90af3bf
Merge branch '1.4.x' into 1.5.x
8 years ago
dreis
1266642aba
Fix test assertions
...
Closes gh-8660
8 years ago
Phillip Webb
d8f827d224
Cleanup and format code
8 years ago
Phillip Webb
425dbc3e52
Update copyright header for edited files
8 years ago
Spring Buildmaster
d23fa24340
Next Development Version
8 years ago
Spring Buildmaster
2a83e80a9b
Next Development Version
8 years ago
Spring Buildmaster
5c12500366
Next Development Version
8 years ago
Spring Buildmaster
a2696bf873
Next Development Version
8 years ago
Andy Wilkinson
31b0e81765
Add @FunctionalInterface to remaining public and protected interfaces
...
See gh-6857
8 years ago
Eddú Meléndez
3d52c86a21
Annotate interfaces with @FunctionaInterface
...
Closes gh-6857
8 years ago
Spring Buildmaster
ed1ce140c0
Next Development Version
8 years ago
Phillip Webb
3d619da553
Polish
8 years ago
Andy Wilkinson
bdf903896f
Remove support for module layout
...
Closes gh-8107
8 years ago
Andy Wilkinson
3ce6d8e5b5
Merge branch '1.5.x'
8 years ago
Andy Wilkinson
cd5124005b
Deprecate support for module layout
...
Closes gh-8008
8 years ago
Stephane Nicoll
661fd848eb
Merge branch '1.5.x'
8 years ago
Stephane Nicoll
505e7f75ea
Polish contribution
...
Closes gh-8089
8 years ago
dreis
d58f38f6f6
Use String.replace() with single char if possible
...
See gh-8089
8 years ago
Andy Wilkinson
6d14a9dc78
Merge branch '1.5.x'
8 years ago
Andy Wilkinson
080ff49c8d
Prevent AspectJ from loading aspects too early
...
Previously, AspectJ would find META-INF/aop.xml almost as soon as
the jar was launched, and before LaunchedURLClassLoader had been
created. This meant that AspectJ would attempt to load aspects listed
in META-INF/aop.xml but that were package in BOOT-INF/classes and,
therefore, could not be loaded.
This commit updates the Repackager so that a META-INF/aop.xml file
is moved into BOOT-INF/classes. This ensures that it isn't visible
to the app class loader so it won't be loaded to early. It will
now be loaded by LaunchedURLClassLoader which can also load the
compiled aspects that aop.xml references.
Closes gh-7587
8 years ago
Andy Wilkinson
aba09cce73
Merge branch '1.5.x'
8 years ago
Alessandro Falappa
ec537b307e
Make start/stop run-levels configurable in INIT-INFO of launch.script
...
See gh-7008
Closes gh-7902
8 years ago
Phillip Webb
77f9bb09ca
Further Polish Mockito 2 support
...
See gh-7770
8 years ago
Andy Wilkinson
4dc30938d0
Merge branch '1.5.x'
8 years ago