5b58bc
# ant.conf (Ant 1.8.x)
5b58bc
# JPackage Project <http://www.jpackage.org/>
5b58bc
5b58bc
# Validate --noconfig setting in case being invoked
5b58bc
# from pre Ant 1.6.x environment
5b58bc
if [ -z "$no_config" ] ; then
5b58bc
  no_config=true
5b58bc
fi
5b58bc
5b58bc
# Setup ant configuration
5b58bc
if $no_config ; then
5b58bc
  # Disable RPM layout
5b58bc
  rpm_mode=false
5b58bc
else
5b58bc
  # Use RPM layout
5b58bc
  rpm_mode=true
5b58bc
5b58bc
  # ANT_HOME for rpm layout
5b58bc
  ANT_HOME=/usr/share/ant
5b58bc
fi