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