Compare commits
No commits in common. "ea6923df792a50a2dd5b94d7edbc975f3ebfce73" and "15c6543eaf3cc5b1e1a94c47541004c922dd31f4" have entirely different histories.
ea6923df79
...
15c6543eaf
@ -6,8 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
|
||||||
- Additional modules that aren't fetched by jdeps can be added with `--add-modules module_1,...,module_n`
|
|
||||||
|
|
||||||
## [v1.1.0] - 2024-05-31
|
## [v1.1.0] - 2024-05-31
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -78,16 +78,13 @@ Options:
|
|||||||
(default: ./warped)
|
(default: ./warped)
|
||||||
-p, --prefix <prefix>
|
-p, --prefix <prefix>
|
||||||
If set, warp-packer will use the prefix
|
If set, warp-packer will use the prefix
|
||||||
as target folder in which the
|
as target folder in which the
|
||||||
application should be extracted
|
application should be extracted
|
||||||
--list Show available java releases;
|
--list Show available java releases;
|
||||||
Takes into consideration other options:
|
Takes into consideration other options:
|
||||||
"--java-version", "--no-optimize", "--jvm-impl";
|
"--java-version", "--no-optimize", "--jvm-impl";
|
||||||
The output may be used to specify concrete
|
The output may be used to specify concrete
|
||||||
"--java-version"
|
"--java-version"
|
||||||
--add-modules A list of additional java modules that should
|
|
||||||
be added to the optimized JDK. Separate each
|
|
||||||
module with commas and no spaces
|
|
||||||
--no-optimize Use JRE instead of optimized JDK;
|
--no-optimize Use JRE instead of optimized JDK;
|
||||||
By default jdeps and jlink are used to create
|
By default jdeps and jlink are used to create
|
||||||
optimized JDK for the particular jar;
|
optimized JDK for the particular jar;
|
||||||
|
11
warp4j
11
warp4j
@ -31,9 +31,6 @@ function print_help {
|
|||||||
echo ' "--java-version", "--no-optimize", "--jvm-impl";'
|
echo ' "--java-version", "--no-optimize", "--jvm-impl";'
|
||||||
echo ' The output may be used to specify concrete'
|
echo ' The output may be used to specify concrete'
|
||||||
echo ' "--java-version"'
|
echo ' "--java-version"'
|
||||||
echo ' --add-modules A list of additional java modules that should'
|
|
||||||
echo ' be added to the optimized JDK. Separate each'
|
|
||||||
echo ' module with commas and no spaces'
|
|
||||||
echo ' --no-optimize Use JRE instead of optimized JDK;'
|
echo ' --no-optimize Use JRE instead of optimized JDK;'
|
||||||
echo ' By default jdeps and jlink are used to create'
|
echo ' By default jdeps and jlink are used to create'
|
||||||
echo ' optimized JDK for the particular jar;'
|
echo ' optimized JDK for the particular jar;'
|
||||||
@ -162,10 +159,6 @@ while [[ $# -gt 0 ]]; do
|
|||||||
LIST_RELEASES=true
|
LIST_RELEASES=true
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--add-modules)
|
|
||||||
ADD_MODULES="$2"
|
|
||||||
shift 2
|
|
||||||
;;
|
|
||||||
--no-optimize)
|
--no-optimize)
|
||||||
NO_OPTIMIZE=true
|
NO_OPTIMIZE=true
|
||||||
shift
|
shift
|
||||||
@ -702,10 +695,6 @@ if [[ $JAVA_DISTRO_TYPE == $DISTRO_TYPE_JDK ]]; then
|
|||||||
echo "Fetch modules with default behavior"
|
echo "Fetch modules with default behavior"
|
||||||
MODULES=$("$JDEPS" --print-module-deps --ignore-missing-deps --multi-release $JAVA_VERSION_BASE "$JAR" | grep -v Warning)
|
MODULES=$("$JDEPS" --print-module-deps --ignore-missing-deps --multi-release $JAVA_VERSION_BASE "$JAR" | grep -v Warning)
|
||||||
fi
|
fi
|
||||||
if [ -n "$ADD_MODULES" ]; then
|
|
||||||
echo "Adding additional modules to optimized JDK: $ADD_MODULES"
|
|
||||||
MODULES=$ADD_MODULES,$MODULES
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# creates minimized runtime for the platform
|
# creates minimized runtime for the platform
|
||||||
|
Loading…
Reference in New Issue
Block a user