blob: a7497e8817c4df55f01a411326b962b931e2a393 [file] [log] [blame]
@rem Licensed to the Apache Software Foundation (ASF) under one *
@rem or more contributor license agreements. See the NOTICE file *
@rem distributed with this work for additional information *
@rem regarding copyright ownership. The ASF licenses this file *
@rem to you under the Apache License, Version 2.0 (the *
@rem "License"); you may not use this file except in compliance *
@rem with the License. You may obtain a copy of the License at *
@rem *
@rem http://www.apache.org/licenses/LICENSE-2.0 *
@rem *
@rem Unless required by applicable law or agreed to in writing, *
@rem software distributed under the License is distributed on an *
@rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
@rem KIND, either express or implied. See the License for the *
@rem specific language governing permissions and limitations *
@rem under the License. *
@echo off
@rem ETCH_EXTERNAL_DEPENDS settings
IF "%ETCH_EXTERNAL_DEPENDS%" == "" (
set ETCH_EXTERNAL_DEPENDS=C:\etch\external
)
@rem ANT_HOME settings
IF "%ANT_HOME%" == "" (
set ANT_HOME=%ETCH_EXTERNAL_DEPENDS%\apache-ant\1.8.2
)
@rem JAVA_HOME settings
IF "%JAVA_HOME%" == "" (
set JAVA_HOME=c:\Program Files ^(x86^)\Java\jdk1.6.0_18
)
@rem NUNIT_HOME settings
IF "%NUNIT_HOME%" == "" (
set NUNIT_HOME=%ETCH_EXTERNAL_DEPENDS%\NUnit\2.5.10.11092
)
@rem CMAKE_HOME settings
IF "%CMAKE_HOME%" == "" (
set CMAKE_HOME=%ETCH_EXTERNAL_DEPENDS%\cmake\2.8.10
)
@rem uncomment this line / unset this variable if you don't want to build csharp
set DOTNET_HOME=C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319
set PATH=%ANT_HOME%\bin;%JAVA_HOME%\bin;%DOTNET_HOME%;%NUNIT_HOME%\bin\net-2.0;%CMAKE_HOME%\bin;%PATH%
@echo ==================================================
@echo Etch Configuration
@echo ==================================================
@echo ETCH_EXTERNAL_DEPENDS: %ETCH_EXTERNAL_DEPENDS%
@echo ANT_HOME: %ANT_HOME%
@echo JAVA_HOME: %JAVA_HOME%
@echo NUNIT_HOME: %NUNIT_HOME%
@echo CMAKE_HOME: %CMAKE_HOME%
@echo DOTNET_HOME: %DOTNET_HOME%
@echo ==================================================
if not exist "%ETCH_EXTERNAL_DEPENDS%" echo "%ETCH_EXTERNAL_DEPENDS%" does not exist
if not exist "%ANT_HOME%" echo "%ANT_HOME%" does not exist
if not exist "%JAVA_HOME%" echo "%JAVA_HOME%" does not exist
if not exist "%NUNIT_HOME%" echo "%NUNIT_HOME%" does not exist
if not exist "%CMAKE_HOME%" echo "%CMAKE_HOME%" does not exist
if not exist "%DOTNET_HOME%" echo "%DOTNET_HOME%" does not exist