after adding "xalan-j2" to the property "build.jar.dependencies" (in file 
java/buildconf/build-props.xml) the ant task "all" in java/ is working fine.

do-compile-main:
    [javac] Compiling 2605 source files to 
/home/berendt/spacewalk/java/build/classes
    [javac] 
/home/berendt/spacewalk/java/code/src/com/redhat/rhn/common/util/StringUtil.java:24:
 package org.apache.xml.utils does not exist
    [javac] import org.apache.xml.utils.XMLChar;
    [javac]                            ^
    [javac] 
/home/berendt/spacewalk/java/code/src/com/redhat/rhn/common/util/StringUtil.java:799:
 cannot find symbol
    [javac] symbol  : variable XMLChar
    [javac] location: class com.redhat.rhn.common.util.StringUtil
    [javac]             if (!XMLChar.isValid(string.charAt(i))) {
    [javac]                  ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors

Signed-off-by: Christian Berendt <bere...@b1-systems.de>
---
 java/buildconf/build-props.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/java/buildconf/build-props.xml b/java/buildconf/build-props.xml
index 03cfc8e..5b81131 100644
--- a/java/buildconf/build-props.xml
+++ b/java/buildconf/build-props.xml
@@ -80,7 +80,7 @@
   <property name="build.jar.dependencies"
       value="ant ant-junit ${ant-contrib.path} antlr
       ${common.jar.dependencies} tanukiwrapper ${tomcat-jars} ${jasper-jars}
-       concurrent" />
+       concurrent xalan-j2" />
 
   <property name="run.jar.dependencies"
       value="antlr ${asm} cglib c3p0 commons-discovery dom4j jaf jta
-- 
1.7.4.1

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to