Software Links
Getting Started
- Doc Structure
- A Globus Primer
- Quickstart
- Installing GT
- Platform Notes
- Migrating from GT2
- Migrating from GT3
Reference
- PDF version
- Best Practices
- Coding Guidelines
- API docs
- Public Interfaces
- Resource Properties
- Samples
- Glossary
- Index
- Performance Studies
Common Runtime
Security
Data Mgt
Information Svcs
Execution Mgt
Name
globus-deploy-gar — Deploys a GAR file (locally)
Synopsis
globus-deploy-gar
Command syntax
globus-deploy-gar <gar.file> [options]
The <gar.file> is the path to the GAR file to be deployed.
Table 51. Options
| -help | Displays help information about the command. |
| -debug | Enables debug mode. |
| -verbose | Enables verbose mode. |
| -backup | Creates backup of existing configuration files (since GT 4.0.1). |
| -overwrite | Overwrite existing deployment. |
| -profile | Specifies the profile name under which the configuration files in the GAR will be deployed. Please see "Configuration Profiles" under Configuring Java WS Core for details. |
| -D<property>=<value> |
Passes arbitrary property-value pairs. See below for the list of currently supported properties. |
Table 52. Supported property-value pairs
| -Dall.scripts=true | Causes Windows and Unix launcher scripts to be generated. |
| -DdoValidation=false | Turns off automatic validation of service configuration files. |
![]() | Note |
|---|---|
Since GT 4.2, globus-deploy-gar command will NOT overwrite the existing deployment unless |
Example:
$ globus-deploy-gar /tmp/gars/globus_wsrf_core_samples_counter.gar
The globus-deploy-gar invokes an Ant task. The above example is equivalent to running:
$ ant -f $GLOBUS_LOCATION/share/globus_wsrf_common/build-packages.xml deployGar \
-Dgar.name=/tmp/gars/globus_wsrf_core_samples_counter.gar
The profile name can be passed using the -Dprofile Ant option. To enable back up of the existing configuration files add the -DcreateBackup=true Ant option. Make sure to use the absolute path name for the gar file when using Ant directly.
![[Note]](/docbook-images/note.gif)