7. Advanced Install Tasks
7.1. Install JBoss Developer Studio by Script
A scripted method is available for use when installing JBoss Developer Studio stand-alone with the installer. The scripted installation method removes the need to step through the installer GUI for every installation, enabling simplified repeat installations or installations in bulk.
The instructions here detail how you can install JBoss Developer Studio stand-alone stepping through the installer GUI once and then use a generated script for subsequent installations. 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, complete the following steps:
- Locate and download Red Hat JBoss Developer Studio <version> Stand-alone Installer.
- Start the installer
$ cd /path/to/.jar $ java -jar jboss-devstudio-version-installer-standalone.jar
- Step through the installer GUI once to generate a
InstallConfigRecord.xmlfile located in the
- Perform repeat identical installations without stepping through the installer GUI
$ java -jar jboss-devstudio-version-installer-standalone.jar /path/to/jboss-devstudio/InstallConfigRecord.xml
InstallConfigRecord.xmlfile is machine-specific, using the Java developer kit and installation paths of your system. To use the
InstallConfigRecord.xmlfile for systems with different operating systems, Java developer kits or paths, you must manually modify the file.
7.2. Build the JBoss Developer Studio Stand-alone Installer from Source
.zipfile is provided from which you can build the JBoss Developer Studio stand-alone installer. The source code archive is available from a variety of sources, including the Red Hat Customer Portal.
Maven 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, complete the following steps:
- Locate and download Red Hat JBoss Developer Studio <version> Sources Zip.
- Extract the contents of the downloaded archive
$ cd path/to/.zip $ unzip jboss-devstudio-version-installer-src.zip
- Build the installer
$ cd devstudio/product $ mvn clean install
Building takes some time to complete, after which the installer .jar file is located in the