> Have you followed the instructions here [1]? > [1] http://xerces.apache.org/xerces2-j/faq-build.html#faq-2
OK, I did download the build tools jar and uncompressed it ~ $ ls -l | egrep '^d' drwxr-xr-x 3 knoppix knoppix 4096 Nov 26 2010 tools drwxr-xr-x 6 knoppix knoppix 4096 Nov 26 2010 xerces-2_11_0 ~ but I am still getting weird errors: ~ $ sh build.sh build.sh: line 20: $'\r': command not found build.sh: line 21: $'echo\r': command not found Xerces-Java Build System ------------------------ build.sh: line 24: $'\r': command not found build.sh: line 35: syntax error near unexpected token `$'in\r'' 'uild.sh: line 35: `case "`uname`" in ~ $ head -n 36 build.sh #!/bin/sh # #========================================================================= # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #========================================================================= # echo echo "Xerces-Java Build System" echo "------------------------" if [ "$JAVA_HOME" = "" ] ; then echo "ERROR: JAVA_HOME not found in your environment." echo echo "Please, set the JAVA_HOME variable in your environment to match the" echo "location of the Java Virtual Machine you want to use." exit 1 fi # OS specific support. $var _must_ be set to either true or false. cygwin=false; case "`uname`" in CYGWIN*) cygwin=true ;; knoppix@Microknoppix:/media/sdb1/prjx/kd/java/SAX2/xerces-2_11_0$ --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org