java/build.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f823b1278c50c715155699f53cc3ed2f1b95eb76 Author: Colin Coe colin.coe@gmail.com Date: Sat Nov 9 22:17:06 2013 +0800
Prevent [available] deprecation message
Simple patch to resprevent this message: [available] DEPRECATED - <available> used to override an existing property. [available] Build file should not reuse the same property name for different values.
diff --git a/java/build.xml b/java/build.xml index 6077bb6..77a95d9 100644 --- a/java/build.xml +++ b/java/build.xml @@ -4,9 +4,9 @@ Spacewalk build file, please indent 2 spaces. NO TABS! --> <project name="RHN" default="all" basedir="."> - <property name="tomcat" value="tomcat5" /> <available file="/usr/share/java/tomcat6" type="dir" property="tomcat" value="tomcat6" /> <available file="/usr/share/java/tomcat" type="dir" property="tomcat" value="tomcat7" /> + <property name="tomcat" value="tomcat5" /> <echo message="Importing buildconf/build-props-${tomcat}.xml" /> <import file="buildconf/build-props-${tomcat}.xml" /> <import file="buildconf/build-props.xml" />
spacewalk-commits@lists.fedorahosted.org