Skip to content

Instantly share code, notes, and snippets.

@deanlandolt
Created July 16, 2010 19:43
Show Gist options
  • Save deanlandolt/478816 to your computer and use it in GitHub Desktop.
Save deanlandolt/478816 to your computer and use it in GitHub Desktop.
@echo off
echo Starting Persevere
setlocal
set SHELL=cmd.exe
set PACKAGE_HOME=%~dp0..
call %PACKAGE_HOME%\packages\narwhal\bin\activate.cmd
set NARWHAL_PATH=%PACKAGE_HOME%
set PERSVR_APP=$1
cd %1
set SEA=%cd%
set PORT=$2
rem throw the first parameter away
shift
set params=%1
:loop
shift
if [%1]==[] goto afterloop
set params=%params% %1
goto loop
:afterloop
%PACKAGE_HOME%\packages\jack\bin\jackup %params%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment