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