summaryrefslogtreecommitdiff
path: root/apache-ant-1.8.ant.conf
diff options
context:
space:
mode:
Diffstat (limited to 'apache-ant-1.8.ant.conf')
-rw-r--r--apache-ant-1.8.ant.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/apache-ant-1.8.ant.conf b/apache-ant-1.8.ant.conf
new file mode 100644
index 0000000..e169839
--- /dev/null
+++ b/apache-ant-1.8.ant.conf
@@ -0,0 +1,20 @@
+# ant.conf (Ant 1.8.x)
+# JPackage Project <http://www.jpackage.org/>
+
+# Validate --noconfig setting in case being invoked
+# from pre Ant 1.6.x environment
+if [ -z "$no_config" ] ; then
+ no_config=true
+fi
+
+# Setup ant configuration
+if $no_config ; then
+ # Disable RPM layout
+ rpm_mode=false
+else
+ # Use RPM layout
+ rpm_mode=true
+
+ # ANT_HOME for rpm layout
+ ANT_HOME=/usr/share/ant
+fi