appassembler
appassembler copied to clipboard
Specifying endorsedDir breaks script on MinGW
Hi,
I am a maintainer of MyBatis Migrations and I recently added endorsedDir
to the plugin configuration to support a new feature.
The generated launcher script works fine on my macOS, of course, but a user reported that it does not work on MinGW environment.
The following part of the script appends endorsed dir and it makes classpath string unrecognizable, I guess.
ENDORSED_DIR=
if [ -n "$ENDORSED_DIR" ] ; then
CLASSPATH=$BASEDIR/$ENDORSED_DIR/*:$CLASSPATH
fi
The full script is in the 3.3.0-SNAPSHOT .zip package. Please see the pom.xml for the plugin configuration.
Thanks in advance, Iwao