2006-11-17 10:15:04 +07:00
|
|
|
@Title Adempiere Install
|
|
|
|
@Rem $Header: /cvsroot/adempiere/utils_dev/RUN_install.bat,v 1.3 2005/09/16 00:49:29 jjanke Exp $
|
|
|
|
|
2007-04-03 07:58:52 +07:00
|
|
|
@Rem Check java home
|
|
|
|
@IF NOT EXIST "%JAVA_HOME%\bin" ECHO "** JAVA_HOME NOT found"
|
|
|
|
@SET PATH=%JAVA_HOME%\bin;%PATH%
|
2006-11-17 10:15:04 +07:00
|
|
|
|
2007-04-03 07:58:52 +07:00
|
|
|
@Rem Check jdk
|
|
|
|
@IF NOT EXIST "%JAVA_HOME%\lib\tools.jar" ECHO "** Need Full Java SDK **"
|
|
|
|
|
|
|
|
@Rem Set ant classpath
|
|
|
|
@SET ANT_CLASSPATH=%CLASSPATH%;..\tools\lib\ant.jar;..\tools\lib\ant-launcher.jar;..\tools\lib\ant-swing.jar;..\tools\lib\ant-commons-net.jar;..\tools\lib\commons-net-1.4.0.jar
|
|
|
|
@SET ANT_CLASSPATH=%ANT_CLASSPATH%;"%JAVA_HOME%\lib\tools.jar"
|
|
|
|
|
|
|
|
@"%JAVA_HOME%\bin\java" -classpath %ANT_CLASSPATH% -Dant.home="." %ANT_PROPERTIES% org.apache.tools.ant.Main install
|
2006-11-17 10:15:04 +07:00
|
|
|
|
|
|
|
@Pause
|
|
|
|
@exit
|