Chapter 8. Performing Advanced Installation Tasks
This section describes how to install JBoss Developer Studio using a script and how to build the JBoss Developer Studio installer from source code.
8.1. Installing JBoss Developer Studio Using a Script Copy linkLink copied to clipboard!
Use the scripted method to install JBoss Developer Studio stand-alone using the GUI once and then a generated script for subsequent installations. This installation method enables simplified repeat installations or installations in bulk without stepping through the installer GUI for every installation.
The JBoss Developer Studio stand-alone installer is available from a variety of sources, including the Red Hat Customer Portal.
To install JBoss Developer Studio by script:
- Download Red Hat JBoss Developer Studio 11.0 Stand-alone Installer from JBoss Developer Studio Software Downloads.
Start the installer:
cd /path/to/.jar java -jar devstudio-11.0.0.GA-installer-standalone.jar
$ cd /path/to/.jar $ java -jar devstudio-11.0.0.GA-installer-standalone.jar
Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Follow the on-screen instructions to complete the installation process. After the installation is complete, an
InstallConfigRecord.xml
file is generated in the JBoss Developer Studio installation directory. In the terminal window, enter the following command:
java -jar devstudio-11.0.0.GA-installer-standalone.jar \ /path/to/devstudio/InstallConfigRecord.xml
$ java -jar devstudio-11.0.0.GA-installer-standalone.jar \ /path/to/devstudio/InstallConfigRecord.xml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
The generated InstallConfigRecord.xml
file is machine-specific and uses the Java Developer Kit and installation paths of your system. To use the InstallConfigRecord.xml
file for other operating systems, Java Developer Kits, or paths, you must manually modify the file.
8.2. Building the JBoss Developer Studio Stand-alone Installer from Source Copy linkLink copied to clipboard!
Prerequisite
- Maven 3.3 or later, with Java 8 must be installed to build the installer from the source code. To obtain and configure Maven, see http://maven.apache.org/.
To build the JBoss Developer Studio stand-alone installer from source:
Clone the git repository by running the command:
git clone https://github.com/jbdevstudio/jbdevstudio-product.git
$ git clone https://github.com/jbdevstudio/jbdevstudio-product.git
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Checkout branch
master
by running the command:git checkout master
$ git checkout master
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Build the installer by following the instructions in the jbdevstudio-product/README.adoc file.
The jbdevstudio-product/README.adoc
file is located in the extracted current folder at the highest level.
Building takes some time to complete, after which the devstudio-[version]-installer-standalone.jar
file will be located in the /path/to/jbdevstudio-product/installer/target
directory.