Skip to content

Instantly share code, notes, and snippets.

@deanlandolt
Created May 27, 2010 01:23
Show Gist options
  • Select an option

  • Save deanlandolt/415310 to your computer and use it in GitHub Desktop.

Select an option

Save deanlandolt/415310 to your computer and use it in GitHub Desktop.
@echo off
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