Last active
December 17, 2015 14:39
-
-
Save hasalex/5625603 to your computer and use it in GitHub Desktop.
Bash script for building WildFly AS 8.0.0 Alpha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/ |
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
Last time I did it the tests were running fine ;)