summaryrefslogtreecommitdiff
path: root/apache-ant-1.8.ant.conf
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 01:35:29 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 01:35:29 +0000
commit956e2ea828cdfd1e3203191d791dbe2c261bacbe (patch)
treef7ba79a04a8a02dbddf3316b8858cfa9a42d6e6c /apache-ant-1.8.ant.conf
parent295c7ee0ab135e46e2c4797332c3b864cfff61d7 (diff)
automatic import of antopeneuler24.03_LTS
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