svn commit: r530620 - in /xml/xindice/trunk: build.bat build.sh

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
Author: vgritsenko
Date: Thu Apr 19 20:07:56 2007
New Revision: 530620

URL: http://svn.apache.org/viewvc?view=rev&rev=530620
Log:
java 1.3 support

Modified:
    xml/xindice/trunk/build.bat
    xml/xindice/trunk/build.sh

Modified: xml/xindice/trunk/build.bat
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/build.bat?view=diff&rev=530620&r1=530619&r2=530620
==============================================================================
--- xml/xindice/trunk/build.bat (original)
+++ xml/xindice/trunk/build.bat Thu Apr 19 20:07:56 2007
@@ -21,9 +21,9 @@
 :: ----------------------------------------------------------------------------
 
 :: ----- Java 1.3 support
-if not exist "tools\lib\xerces*.jar" copy java\lib\endorsed\xerces*.jar tools\lib
-if not exist "tools\lib\xalan*.jar" copy java\lib\endorsed\xalan*.jar tools\lib
-if not exist "tools\lib\xml-api*.jar" copy java\lib\endorsed\xml-api*.jar tools\lib
+if not exist "tools\lib\xerces*.jar" copy lib\endorsed\xerces*.jar tools\lib
+if not exist "tools\lib\xalan*.jar" copy lib\endorsed\xalan*.jar tools\lib
+if not exist "tools\lib\xml-api*.jar" copy lib\endorsed\xml-api*.jar tools\lib
 
 :: ----- Verify and Set Required Environment Variables ------------------------
 

Modified: xml/xindice/trunk/build.sh
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/build.sh?view=diff&rev=530620&r1=530619&r2=530620
==============================================================================
--- xml/xindice/trunk/build.sh (original)
+++ xml/xindice/trunk/build.sh Thu Apr 19 20:07:56 2007
@@ -24,6 +24,11 @@
 chmod u+x ./tools/bin/antRun
 chmod u+x ./tools/bin/ant
 
+# ----- Java 1.3 support
+if [ ! -f tools/lib/xerces*.jar ]; then cp lib/endorsed/xerces*.jar tools/lib; fi
+if [ ! -f tools/lib/xalan*.jar ]; then cp lib/endorsed/xalan*.jar tools/lib; fi
+if [ ! -f tools/lib/xml-api*.jar ]; then cp lib/endorsed/xml-api*.jar tools/lib; fi
+
 unset ANT_HOME
 CP=$CLASSPATH; export CP
 unset CLASSPATH
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.