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