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/02/05 15:56:38 UTC

[xalan-test] branch master updated: fixing classpath issues, within xalanj tests debug script

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 290a370d fixing classpath issues, within xalanj tests debug script
290a370d is described below

commit 290a370d21227d570f17c8b7ff0030653f5ad6eb
Author: Mukul Gandhi <ga...@gmail.com>
AuthorDate: Sun Feb 5 21:26:24 2023 +0530

    fixing classpath issues, within xalanj tests debug script
---
 debugapi.bat | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/debugapi.bat b/debugapi.bat
index 01ac7eb9..f62f5da8 100755
--- a/debugapi.bat
+++ b/debugapi.bat
@@ -22,9 +22,18 @@ rem
 @REM Wrapper for running tests without Ant in a debugger
 @REM Usage: debugapi.bat org.apache.qetest.package.TestName [other options]
 
+rem     Setup:
+rem        - you must set JAVA_HOME environment variable
+
 :start
-set APICP=..\java\build\xalan.jar;..\java\build\serializer.jar;..\java\lib\xml-apis.jar;..\java\lib\xercesImpl.jar;java\build\testxsl.jar;%CLASSPATH%
-@echo Executing: java -classpath %APICP% %1 -load debugapi.properties %2 %3 %4 %5 %6 %7 %8 %9
-java -classpath %APICP% %1 -load debugapi.properties %2 %3 %4 %5 %6 %7 %8 %9
+set _JAVACMD=%JAVA_HOME%\bin\java
+
+set XALAN_BUILD_DIR_PATH=..\xalan-java\build;..\build
+
+set XERCES_ENDORSED_DIR_PATH=..\xalan-java\lib\endorsed;..\lib\endorsed
+
+set APICP=java\build\testxsl.jar;tools\jtidy-r938.jar
+@echo Executing: java -Djava.endorsed.dirs=%XALAN_BUILD_DIR_PATH%;%XERCES_ENDORSED_DIR_PATH% -classpath %APICP% %1 -load debugapi.properties %2 %3 %4 %5 %6 %7 %8 %9
+"%_JAVACMD%" -Djava.endorsed.dirs=%XALAN_BUILD_DIR_PATH%;%XERCES_ENDORSED_DIR_PATH% -classpath %APICP% %1 -load debugapi.properties %2 %3 %4 %5 %6 %7 %8 %9
 set APICP=
 :end


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