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