Skip to content

Usage Shell Script

Scot P. Floess edited this page May 23, 2015 · 7 revisions

This page describes how to use the bsolenopsis shell script.

Usage

The bsolenopsis shell script invokes Ant as if it were a Java application vs using the shell scripts that come with Ant. It supports the following command line options:

  • optional: --classpath [colon delimited list of jars]
  • optional (defaults to 1.8.4): --antversion [version number]
  • optional (defaults to /usr/share/solenopsis/ant/solenopsis.xml): -f [path to Ant script]/[script name]
  • Any normal Ant command line options

If you need to adjust Java options, defining an environment variable entitled JAVA_OPTS will then be applied when bsolenopsis executes Java. As an example, assume you wish to set the Java to 1MB:

export JAVA_OPTS="-Xms1024m"
bsolenopsis [normal options to bsolenopsis]

Consider bsolenopsis is a wrapper script to calling Ant. You can mostly use it as you do Ant. As a side note, Solenopsis ships with both 1.9.1.

Clone this wiki locally