You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mu...@apache.org on 2023/01/05 00:51:53 UTC

[xalan-java] branch xalan-j_2_7_1_maint updated: xalanj commit : building via build.bat, now uses xercesImpl.jar and xml-apis.jar from build.xml file and not via jvm java.endorsed.dirs system property

This is an automated email from the ASF dual-hosted git repository.

mukulg pushed a commit to branch xalan-j_2_7_1_maint
in repository https://gitbox.apache.org/repos/asf/xalan-java.git


The following commit(s) were added to refs/heads/xalan-j_2_7_1_maint by this push:
     new 0c5e345c xalanj commit : building via build.bat, now uses xercesImpl.jar and xml-apis.jar from build.xml file and not via jvm java.endorsed.dirs system property
0c5e345c is described below

commit 0c5e345ccf44672614c7a8fe1212d8c70b16b154
Author: Mukul Gandhi <ga...@gmail.com>
AuthorDate: Thu Jan 5 06:21:34 2023 +0530

    xalanj commit : building via build.bat, now uses xercesImpl.jar and
    xml-apis.jar from build.xml file and not via jvm java.endorsed.dirs
    system property
---
 build.bat | 2 +-
 build.xml | 8 ++------
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/build.bat b/build.bat
index 938491c6..4cf4423d 100644
--- a/build.bat
+++ b/build.bat
@@ -48,7 +48,7 @@ if exist "%_ANT_HOME%\tools\ant.jar" (
 set _CLASSPATH=%_CLASSPATH%;%_ANT_JARS%
 
 @echo on
-"%_JAVACMD%" -mx1024m -Djava.endorsed.dirs=lib\endorsed -classpath %_CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
+"%_JAVACMD%" -mx1024m -classpath %_CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
 @echo off
 
 goto end
diff --git a/build.xml b/build.xml
index 5b488440..b27694c5 100644
--- a/build.xml
+++ b/build.xml
@@ -236,16 +236,12 @@ $Id$
   </path>
   <path id="xslt.boot.class.path">
     <!-- Put this version of xalan in front of the jdk's for JDK 1.4+ -->
-    <!-- Set build.boot.class.path to a JDK 1.1.x classes.zip file to check
-         compatibility with 1.1.x.  If you omit this property, compatability
-         with 1.1.x will not be checked even though javac specifies a target of 1.1 -->
     <pathelement location="${build.classes}" />
     <pathelement location="${serializer.build.classes}" />
     <pathelement location="${xmlapis.jar}" />
     <pathelement location="${build.serializer.jar}" />    
-    <pathelement location="${parser.jar}" />   
-    <pathelement path="${build.boot.class.path}" />
-    <pathelement path="${sun.boot.class.path}" />
+    <pathelement location="${parser.jar}" />
+  	<pathelement path="${sun.boot.class.path}" />
   </path>
   <path id="compile.source.path">
     <dirset dir="${src.dir}" includes="/org/apache/**" />


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org