Advertisement
yannsimon

playframework stage starts with windows

Jul 30th, 2012
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. if "%OS%" == "Windows_NT" (
  4.   set "DIRNAME=%~dp0%"
  5. ) else (
  6.   set DIRNAME=.\
  7. )
  8.  
  9. java -cp "%DIRNAME%\lib\*" %* play.core.server.NettyServer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement