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