Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[git-p4: depot-paths = "//open/mondrian/": change = 2763]
- Loading branch information
1 parent
dd16df0
commit beffece
Showing
250 changed files
with
88,314 additions
and
953 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,79 @@ | ||
@rem $Id$ | ||
@rem This software is subject to the terms of the Common Public License | ||
@rem Agreement, available at the following URL: | ||
@rem http://www.opensource.org/licenses/cpl.html. | ||
@rem (C) Copyright 2001-2004 Kana Software, Inc. and others. | ||
@rem All Rights Reserved. | ||
@rem You must accept the terms of that agreement to use this software. | ||
@echo off | ||
setlocal | ||
|
||
@set SRCROOT=%~dp0 | ||
rem $Id$ | ||
rem This software is subject to the terms of the Common Public License | ||
rem Agreement, available at the following URL: | ||
rem http://www.opensource.org/licenses/cpl.html. | ||
rem (C) Copyright 2001-2004 Kana Software, Inc. and others. | ||
rem All Rights Reserved. | ||
rem You must accept the terms of that agreement to use this software. | ||
|
||
@if exist "%HOME_DRIVE%" goto homeDriveOk | ||
@set HOME_DRIVE=E | ||
set SRCROOT=%~dp0 | ||
|
||
if exist "%HOME_DRIVE%" goto homeDriveOk | ||
set HOME_DRIVE=E | ||
:homeDriveOk | ||
|
||
@if exist "%JAVA_HOME%" goto javaHomeOk | ||
@set JAVA_HOME=%HOME_DRIVE%:/j2sdk1.4.1_01 | ||
@if exist "%JAVA_HOME%" goto javaHomeOk | ||
@echo JAVA_HOME (%JAVA_HOME%) does not exist | ||
@goto end | ||
if exist "%JAVA_HOME%" goto javaHomeOk | ||
set JAVA_HOME=%HOME_DRIVE%:/j2sdk1.4.1_01 | ||
if exist "%JAVA_HOME%" goto javaHomeOk | ||
echo JAVA_HOME (%JAVA_HOME%) does not exist | ||
goto end | ||
:javaHomeOk | ||
|
||
@set PATH=%JAVA_HOME%/bin;%PATH% | ||
echo Using JAVA_HOME %JAVA_HOME% | ||
|
||
set PATH=%JAVA_HOME%/bin;%PATH% | ||
|
||
@if exist "%ANT_HOME%" goto antHomeOk | ||
@set ANT_HOME=%HOME_DRIVE%:\apache-ant-1.6.1 | ||
@if exist "%ANT_HOME%" goto antHomeOk | ||
@echo ANT_HOME (%ANT_HOME%) does not exist | ||
@goto end | ||
if exist "%ANT_HOME%" goto antHomeOk | ||
set ANT_HOME=%HOME_DRIVE%/apache-ant-1.6.1 | ||
if exist "%ANT_HOME%" goto antHomeOk | ||
echo ANT_HOME (%ANT_HOME%) does not exist | ||
goto end | ||
:antHomeOk | ||
|
||
@if exist "%XALAN_HOME%" goto xalanHomeOk | ||
@set XALAN_HOME=%HOME_DRIVE%:/xalan-j_2_6_0 | ||
@if exist "%XALAN_HOME%" goto xalanHomeOk | ||
@echo XALAN_HOME (%XALAN_HOME%) does not exist | ||
@goto end | ||
if exist "%XALAN_HOME%" goto xalanHomeOk | ||
set XALAN_HOME=%HOME_DRIVE%:/xalan-j_2_6_0 | ||
if exist "%XALAN_HOME%" goto xalanHomeOk | ||
echo XALAN_HOME (%XALAN_HOME%) does not exist | ||
goto end | ||
:xalanHomeOk | ||
|
||
@if exist "%JUNIT_HOME%" goto junitHomeOk | ||
@set JUNIT_HOME=%HOME_DRIVE%:/junit3.8.1 | ||
@if exist "%JUNIT_HOME%" goto junitHomeOk | ||
@echo JUNIT_HOME (%JUNIT_HOME%) does not exist | ||
@goto end | ||
if exist "%JUNIT_HOME%" goto junitHomeOk | ||
set JUNIT_HOME=%HOME_DRIVE%:/junit3.8.1 | ||
if exist "%JUNIT_HOME%" goto junitHomeOk | ||
echo JUNIT_HOME (%JUNIT_HOME%) does not exist | ||
goto end | ||
:junitHomeOk | ||
|
||
@if exist "%CATALINA_HOME%" goto catalinaHomeOk | ||
@set CATALINA_HOME=%HOME_DRIVE%:/jakarta-tomcat-5.0.25 | ||
@if exist "%CATALINA_HOME%" goto catalinaHomeOk | ||
@echo CATALINA_HOME (%CATALINA_HOME%) does not exist | ||
@goto end | ||
if exist "%CATALINA_HOME%" goto catalinaHomeOk | ||
set CATALINA_HOME=%HOME_DRIVE%:/jakarta-tomcat-5.0.25 | ||
if exist "%CATALINA_HOME%" goto catalinaHomeOk | ||
echo CATALINA_HOME (%CATALINA_HOME%) does not exist | ||
goto end | ||
:catalinaHomeOk | ||
|
||
@set CLASSPATH=%SRCROOT%/classes;%SRCROOT%/lib/javacup.jar;%SRCROOT%/lib/mondrian-xom.jar;%SRCROOT%/lib/mondrian-resource.jar | ||
set CLASSPATH=%SRCROOT%..\classes;%SRCROOT%lib/javacup.jar;%SRCROOT%lib/mondrian-xom.jar;%SRCROOT%lib/mondrian-resource.jar | ||
|
||
@rem To use Oracle, uncomment the next line and modify appropriately | ||
@rem set ORACLE_HOME=%HOME_DRIVE%:/oracle/ora81 | ||
@if "%ORACLE_HOME%" == "" goto oracleHomeNotSet | ||
@if exist "%ORACLE_HOME%" goto oracleHomeOk | ||
@echo ORACLE_HOME (%ORACLE_HOME%) does not exist | ||
@goto end | ||
rem To use Oracle, uncomment the next line and modify appropriately | ||
rem set ORACLE_HOME=%HOME_DRIVE%:/oracle/ora81 | ||
if "%ORACLE_HOME%" == "" goto oracleHomeNotSet | ||
if exist "%ORACLE_HOME%" goto oracleHomeOk | ||
echo ORACLE_HOME (%ORACLE_HOME%) does not exist | ||
goto end | ||
:oracleHomeOk | ||
@set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%/jdbc/lib/classes12.zip | ||
set CLASSPATH=%CLASSPATH%;%ORACLE_HOME%/jdbc/lib/classes12.zip | ||
:oracleHomeNotSet | ||
|
||
@rem To use MySQL, uncomment the next 2 lines and modify appropriately | ||
@rem set MYSQL_HOME=%HOME_DRIVE%:/MySQL | ||
@rem set CLASSPATH=%CLASSPATH%;%MYSQL_HOME%/lib/mm.mysql-2.0.4-bin.jar | ||
rem To use MySQL, uncomment the next 2 lines and modify appropriately | ||
rem set MYSQL_HOME=%HOME_DRIVE%:/MySQL | ||
rem set CLASSPATH=%CLASSPATH%;%MYSQL_HOME%/lib/mm.mysql-2.0.4-bin.jar | ||
|
||
@rem To use Weblogic, uncomment the next line and modify appropriately. | ||
@rem set WEBLOGIC_HOME=%HOME_DRIVE%:/bea/wlserver6.1 | ||
rem To use Weblogic, uncomment the next line and modify appropriately. | ||
rem set WEBLOGIC_HOME=%HOME_DRIVE%:/bea/wlserver6.1 | ||
|
||
@%ANT_HOME%\bin\ant %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
%ANT_HOME%\bin\ant %1 %2 %3 %4 %5 %6 %7 %8 %9 | ||
:end | ||
@rem end build.bat | ||
endlocal | ||
rem end build.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.