139a629b0SPaul Joseph Davis@echo off
2caeae66aSPaul Joseph Davisrem Licensed under the Apache License, Version 2.0 (the "License"); you may not
3caeae66aSPaul Joseph Davisrem use this file except in compliance with the License. You may obtain a copy
4caeae66aSPaul Joseph Davisrem of the License at
5caeae66aSPaul Joseph Davisrem
6caeae66aSPaul Joseph Davisrem   http://www.apache.org/licenses/LICENSE-2.0
7caeae66aSPaul Joseph Davisrem
8caeae66aSPaul Joseph Davisrem Unless required by applicable law or agreed to in writing, software
9caeae66aSPaul Joseph Davisrem distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10caeae66aSPaul Joseph Davisrem WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11caeae66aSPaul Joseph Davisrem License for the specific language governing permissions and limitations
12caeae66aSPaul Joseph Davisrem under the License.
13caeae66aSPaul Joseph Davis
1439a629b0SPaul Joseph Davissetlocal
15a1ab05beSMark Hammondrem First change to the drive with the erlang bin directory
16a1ab05beSMark Hammond%~d0
17a1ab05beSMark Hammondrem then change to the erlang bin directory
1839a629b0SPaul Joseph Daviscd %~dp0
1939a629b0SPaul Joseph Davis
20c4a2f52bSDamien F. Katzrem Allow a different erlang executable (eg, erl) to be used.
211dc0804dSDamien F. Katzrem When using erl instead of werl, server restarts during test runs can fail
221dc0804dSDamien F. Katzrem intermittently. But using erl should be fine for production use.
23c4a2f52bSDamien F. Katzif "%ERL%x" == "x" set ERL=werl.exe
2439a629b0SPaul Joseph Davis
2539a629b0SPaul Joseph Davisecho CouchDB %version% - prepare to relax...
266c5a22e7SAdam Kocoloski%ERL% -sasl errlog_type error -s couch
27