Skip to content

Instantly share code, notes, and snippets.

@gayanW
Last active May 1, 2017 05:26
Show Gist options
  • Save gayanW/37c720bf81b11e49c3940243ed120aa7 to your computer and use it in GitHub Desktop.
Save gayanW/37c720bf81b11e49c3940243ed120aa7 to your computer and use it in GitHub Desktop.
Helper script to extract and run UUF server distribution
#!/bin/bash
# Helper script to extract and run UUF server distribution
# Put this file in $UUF_SERVER/product directory
# Name of the built distribution archive (without extension)
zip_name=wso2uuf-1.0.0-m14
set -x
rm -r target/wso2uuf-1.0.0-m14
cd target && unzip $zip_name.zip && chmod +x ./$zip_name/bin/carbon.sh
./$zip_name/bin/carbon.sh -Ddevmode $1 $2
set +x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment