Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 202777
Collapse All | Expand All

(-)src-native/collection/packaging/bin/SetConfig.sh (+8 lines)
Lines 10-15 Link Here
10
	exit 0
10
	exit 0
11
fi
11
fi
12
12
13
14
if [ ! -s ../lib/config.jar ]; then
15
       	echo 'ERROR:  Cannot find ..\lib\config.jar.'
16
		echo 'RESOLUTION: Make sure you are running this script in <AC>/bin directory.'
17
		exit 0
18
fi
19
20
13
#
21
#
14
# Check if the JRE contains a suitable JAXP
22
# Check if the JRE contains a suitable JAXP
15
#
23
#
(-)src-native/collection/packaging_md/win_ia32/bin/SetConfig.bat (-1 / +12 lines)
Lines 16-27 Link Here
16
@java -version > nul 2>&1
16
@java -version > nul 2>&1
17
@IF ERRORLEVEL 1 GOTO ERROR_JAVA_NOT_FOUND
17
@IF ERRORLEVEL 1 GOTO ERROR_JAVA_NOT_FOUND
18
18
19
20
19
@REM
21
@REM
20
@REM Check if the JRE contains a suitable JAXP
22
@REM Check if the script is run in <AC>/bin directory.
21
@REM
23
@REM
24
@if not exist ..\lib\config.jar GOTO ERROR_CONFIG_NOT_FOUND
25
26
@REM Check if the JRE contains a suitable JAXP
22
@java -classpath ..\lib\config.jar org.eclipse.tptp.platform.agentcontroller.config.TestJAXP > nul 2>&1
27
@java -classpath ..\lib\config.jar org.eclipse.tptp.platform.agentcontroller.config.TestJAXP > nul 2>&1
23
@IF ERRORLEVEL 1 GOTO ERROR_JAXP_NOT_SUPPORTED
28
@IF ERRORLEVEL 1 GOTO ERROR_JAXP_NOT_SUPPORTED
24
29
30
25
@REM
31
@REM
26
@REM Generate the configuration files
32
@REM Generate the configuration files
27
@REM
33
@REM
Lines 33-38 Link Here
33
@echo RESOLUTION: Make sure the PATH environment variable contains the location of a java executable
39
@echo RESOLUTION: Make sure the PATH environment variable contains the location of a java executable
34
@goto END
40
@goto END
35
41
42
:ERROR_CONFIG_NOT_FOUND
43
@echo ERROR:  Cannot find ..\lib\config.jar.  
44
@echo RESOLUTION: Make sure you are running this script in <AC>/bin directory.
45
@goto END
46
36
:ERROR_JAXP_NOT_SUPPORTED
47
:ERROR_JAXP_NOT_SUPPORTED
37
@echo ERROR: The Java Runtime in use does not contain a suitable JAXP feature
48
@echo ERROR: The Java Runtime in use does not contain a suitable JAXP feature
38
@echo RESOLUTION: Use a JRE which supports the JAXP feature
49
@echo RESOLUTION: Use a JRE which supports the JAXP feature

Return to bug 202777