Created
December 14, 2011 21:52
-
-
Save jhjaggars/1478729 to your computer and use it in GitHub Desktop.
little script to help work on jdr
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
#!/bin/bash | |
SOS_HOME=${HOME}/workspace/sosreport | |
JDR_HOME=${HOME}/workspace/jboss-as/jdr | |
JDR_MODULES=$JBOSS_HOME/modules/org/jboss/as/jdr/main | |
JDR_RESOURCES=$JDR_HOME/jboss-as-sos/src/main/resources | |
TYPE=$1 | |
cd $SOS_HOME && make eap6 | |
rm -rf $JDR_RESOURCES/sos | |
cp -r $SOS_HOME/rpm-build/sdist/sos $JDR_RESOURCES | |
cd $JDR_HOME && \ | |
mvn -q -ff clean install && \ | |
find $JDR_HOME -name "*SNAPSHOT.jar" -exec cp {} $JDR_MODULES \; && \ | |
cd $JBOSS_HOME && bin/${TYPE}.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
plop it in some bin/ dir and run jdr-build.sh standalone or domain