* [ 1696790 ] Classpath Issues for customization.jar and patches.jar

This commit is contained in:
Heng Sin Low 2007-04-10 04:09:25 +00:00
parent 94ae3fe71f
commit d183b033eb
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@
:CHECK_ADEMPIERE :CHECK_ADEMPIERE
@if not "%ADEMPIERE_HOME%" == "" goto ADEMPIERE_HOME_OK @if not "%ADEMPIERE_HOME%" == "" goto ADEMPIERE_HOME_OK
Set CLASSPATH=lib\customization.jar;lib\patches.jar;lib\Adempiere.jar;lib\AdempiereCLib.jar;lib\CompiereJasperReqs.jar;%CLASSPATH% Set CLASSPATH=lib\Adempiere.jar;lib\AdempiereCLib.jar;lib\CompiereJasperReqs.jar;%CLASSPATH%
set ADEMPIERE_HOME=%~dp0.. set ADEMPIERE_HOME=%~dp0..
@Echo ADEMPIERE_HOME is not set. @Echo ADEMPIERE_HOME is not set.
@Echo You may not be able to start Adempiere @Echo You may not be able to start Adempiere
@ -31,7 +31,7 @@ set ADEMPIERE_HOME=%~dp0..
@Echo cscript WinEnv.js C:\Adempiere C:\j2sdk1.4.2_08 @Echo cscript WinEnv.js C:\Adempiere C:\j2sdk1.4.2_08
@goto MULTI_INSTALL @goto MULTI_INSTALL
:ADEMPIERE_HOME_OK :ADEMPIERE_HOME_OK
@Set CLASSPATH=%ADEMPIERE_HOME%\lib\customization.jar;%ADEMPIERE_HOME%\lib\patches.jar;%ADEMPIERE_HOME%\lib\CompiereJasperReqs.jar;%ADEMPIERE_HOME%\lib\Adempiere.jar;%ADEMPIERE_HOME%\lib\AdempiereCLib.jar;%CLASSPATH% @Set CLASSPATH=%ADEMPIERE_HOME%\lib\Adempiere.jar;%ADEMPIERE_HOME%\lib\AdempiereCLib.jar;%ADEMPIERE_HOME%\lib\CompiereJasperReqs.jar;%CLASSPATH%
:MULTI_INSTALL :MULTI_INSTALL
@REM To switch between multiple installs, copy the created Adempiere.properties file @REM To switch between multiple installs, copy the created Adempiere.properties file

View File

@ -19,9 +19,9 @@ fi
## Check Adempiere Home ## Check Adempiere Home
if [ $ADEMPIERE_HOME ]; then if [ $ADEMPIERE_HOME ]; then
CLASSPATH=$ADEMPIERE_HOME/lib/customization.jar:$ADEMPIERE_HOME/lib/patches.jar:$ADEMPIERE_HOME/lib/Adempiere.jar:$ADEMPIERE_HOME/lib/AdempiereCLib.jar:$ADEMPIERE_HOME/lib/CompiereJasperReqs.jar:$CLASSPATH CLASSPATH=$ADEMPIERE_HOME/lib/Adempiere.jar:$ADEMPIERE_HOME/lib/AdempiereCLib.jar:$ADEMPIERE_HOME/lib/CompiereJasperReqs.jar:$CLASSPATH
else else
CLASSPATH=lib/customization.jar:lib/patches.jar:lib/Adempiere.jar:lib/AdempiereCLib.jar:lib/CompiereJasperReqs.jar:$CLASSPATH CLASSPATH=lib/Adempiere.jar:lib/AdempiereCLib.jar:lib/CompiereJasperReqs.jar:$CLASSPATH
echo ADEMPIERE_HOME is not set echo ADEMPIERE_HOME is not set
echo You may not be able to start Adempiere echo You may not be able to start Adempiere
echo Set ADEMPIERE_HOME to the directory of Adempiere. echo Set ADEMPIERE_HOME to the directory of Adempiere.