Skip to content

Instantly share code, notes, and snippets.

@hasalex
Last active December 17, 2015 14:39
Show Gist options
  • Save hasalex/5625603 to your computer and use it in GitHub Desktop.
Save hasalex/5625603 to your computer and use it in GitHub Desktop.
Bash script for building WildFly AS 8.0.0 Alpha1
# Building WildFly AS 8.0.0.Alpha1
wget https://github.com/wildfly/wildfly/archive/8.0.0.Alpha1.tar.gz
tar -xvf 8.0.0.Alpha1.tar.gz
cd wildfly-8.0.0.Alpha1
./build.sh -DskipTests -Drelease=true # -Drelease=true creates the distribution archives
# -DskipTests can be omitted but build would be much longer
# Copy the binaries
cp -R build/target/wildfly-8.0.0.Alpha1 /opt/java/
# Copy the archive
cp dist/target/wildfly-8.0.0.Alpha1.zip ~/archives/
@hasalex
Copy link
Author

hasalex commented May 22, 2013

I tested without the -DskipTests, and it works. But it's by far longer (7 minutes vs 1 minute 40 s).

And my goal is just to get a binary software that I can use, even when RedHat don't want to release it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment