Last active
November 27, 2015 10:47
-
-
Save hasalex/fefef0ba31d946571069 to your computer and use it in GitHub Desktop.
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 9 | |
version=9.0.2.Final | |
# Download and prepare the source code | |
wget https://github.com/wildfly/wildfly/tarball/$version | |
tar -xvf $version | |
cd wildfly-* | |
# Build it ! | |
./build.sh -DskipTests -Dskip-enforce -T1C | |
# -Drelease=true creates the distribution archives | |
# -DskipTests can be omitted but build would be much longer | |
# -T1C launches one build thread per processor ; it should be used only when -DskipTests is on | |
# Copy the binaries | |
cp -R build/target/wildfly-$version /opt/java/ | |
# Copy the archive | |
cp build/target/wildfly-$version.zip ~/archives/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment