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
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
Follow the on-screen instructions to complete the installation process. After the installation is complete, an
InstallConfigRecord.xmlfile 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
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
- 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
masterby running the command:
$ git checkout master
- Build the installer by following the instructions in the jbdevstudio-product/README.adoc file.
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