SOURCES: ant.conf (NEW) - default config for Ant
jajcus
jajcus at pld-linux.org
Fri May 19 13:11:00 CEST 2006
Author: jajcus Date: Fri May 19 11:11:00 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- default config for Ant
---- Files affected:
SOURCES:
ant.conf (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ant.conf
diff -u /dev/null SOURCES/ant.conf:1.1
--- /dev/null Fri May 19 13:11:00 2006
+++ SOURCES/ant.conf Fri May 19 13:10:55 2006
@@ -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
================================================================
More information about the pld-cvs-commit
mailing list