alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Play Framework/Scala example source code file (build.bat)

This example Play Framework source code file (build.bat) is included in my "Source Code Warehouse" project. The intent of this project is to help you more easily find Play Framework (and Scala) source code examples by using tags.

All credit for the original source code belongs to Play Framework; I'm just trying to make examples easier to find. (For my Scala work, see my Scala examples and tutorials.)

Play Framework tags/keywords

debug_param, java_opts, jpda_port, play_opts, play_version, xms512m, xrunjdwp:transport=dt_socket,server=y,suspend=n,address, xss1m, xx:+cmsclassunloadingenabled, xx:maxpermsize=256m

The build.bat Play Framework example source code

@echo off

setlocal enabledelayedexpansion

set PLAY_VERSION="2.4-SNAPSHOT"

if defined JPDA_PORT set DEBUG_PARAM="-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=%JPDA_PORT%"

set p=%~dp0
set p=%p:\=/%
set fp=file:///!p: =%%20!

java -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M %DEBUG_PARAM% %JAVA_OPTS% -Dfile.encoding=UTF-8 -Dinput.encoding=Cp1252 -Dplay.version="%PLAY_VERSION%"  %PLAY_OPTS% -jar "%~dp0sbt\sbt-launch.jar" %*

:end
endlocal

Other Play Framework source code examples

Here is a short list of links related to this Play Framework build.bat source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.