]> git.pld-linux.org Git - packages/ant.git/commitdiff
- default config for Ant
authorJacek Konieczny <jajcus@pld-linux.org>
Fri, 19 May 2006 11:10:55 +0000 (11:10 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ant.conf -> 1.1

ant.conf [new file with mode: 0644]

diff --git a/ant.conf b/ant.conf
new file mode 100644 (file)
index 0000000..b4bdece
--- /dev/null
+++ b/ant.conf
@@ -0,0 +1,22 @@
+#
+# ant.conf (Ant 1.6.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
This page took 0.142823 seconds and 4 git commands to generate.