Last active
August 29, 2015 14:02
-
-
Save nickboldt/e899f4e22a0654af667e to your computer and use it in GitHub Desktop.
Headless install of JBDS IS into JBDS 7.x from Update Site zip
This file contains hidden or 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 | |
| # set working folder | |
| WORKSPACE=/tmp | |
| cd ${WORKSPACE} | |
| # set path to JBoss Developer Studio install folder | |
| JBDS=${HOME}/jbdevstudio7.1.1.GA/studio | |
| # set path to JBDS IS update site zip | |
| JBDSISZIP=https://devstudio.jboss.com/updates/7.0.0/jbdevstudio-integration-stack-updatesite-7.0.2.CR1.zip | |
| ######### | |
| # install JDBS from jar into the same folder, ${HOME}/jbdevstudio7.1.1.GA | |
| java -jar /path/to/jbdevstudio-product-universal-7.1.1.GA-v20140314-2145-B688.jar | |
| # fetch update site zip | |
| wget -N --no-check-certificate ${JBDSISZIP} -O jbdevstudio-integration-stack-updatesite.zip | |
| # fetch installFromTarget.sh script & run it | |
| wget -N --no-check-certificate https://raw.githubusercontent.com/jbosstools/jbosstools-build-ci/master/util/installFromTarget.sh | |
| chmod +x installFromTarget.sh | |
| ./installFromTarget.sh -ECLIPSE ${JBDS} -INSTALL_PLAN jar:file://${WORKSPACE}/jbdevstudio-integration-stack-updatesite.zip\!/,https://devstudio.jboss.com/updates/7.0/ | |
| # Alternatively, for a completely offline solution, use: | |
| # ./installFromTarget.sh -ECLIPSE ${JBDS} -INSTALL_PLAN jar:file://${WORKSPACE}/jbdevstudio-integration-stack-updatesite.zip\!/,jar:file:///path/to/jbdevstudio-product-universal-7.1.1.GA-v20140314-2145-B688.jar\!/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment