summaryrefslogtreecommitdiff
path: root/apache-ant-1.8.ant.conf
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 11:33:40 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 11:33:40 +0000
commitfef17c9ab9231831849d1f3884462a73267fec51 (patch)
treef7ba79a04a8a02dbddf3316b8858cfa9a42d6e6c /apache-ant-1.8.ant.conf
parent9304db5774b246815886ab749ca1c21da98f20a8 (diff)
automatic import of antopeneuler24.03_LTSopeneuler23.09
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