-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
~ Copyright The WildFly Authors | ||
~ SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.1.1 http://maven.apache.org/xsd/assembly-2.1.1.xsd"> | ||
<id>distro</id> | ||
<formats> | ||
<format>zip</format> | ||
<format>tar.gz</format> | ||
</formats> | ||
<fileSets> | ||
<fileSet> | ||
<directory>target</directory> | ||
<outputDirectory/> | ||
<includes> | ||
<include>wildfly-glow.jar</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>src/main/resources</directory> | ||
<outputDirectory/> | ||
<includes> | ||
<include>wildfly-glow</include> | ||
</includes> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
if [ -n "${DEBUG}" ]; | ||
then | ||
JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:8787" | ||
else | ||
JAVA_OPTS="$JAVA_OPTS" | ||
fi | ||
|
||
if [ -z "${WILDFLY_GLOW_HOME}" ]; | ||
then | ||
full_path=$(realpath $0) | ||
WILDFLY_GLOW_HOME=$(dirname $full_path) | ||
fi | ||
|
||
CLI_EXECUTABLE=${WILDFLY_GLOW_HOME}/wildfly-glow.jar | ||
if [ ! -f "${CLI_EXECUTABLE}" ]; then | ||
echo "Could not find ${CLI_EXECUTABLE}. Please make sure that this script is in the same directory as wildfly-glow.jar, or set the WILDFLY_GLOW_HOME environment variable to point to the directory containing wildfly-glow.jar." | ||
exit 1 | ||
fi | ||
|
||
CLASSPATH=( "${CLI_EXECUTABLE}" ) | ||
|
||
java ${JAVA_OPTS} -jar "${CLASSPATH}" "$@" | ||
|