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

Lift Framework example source code file (liftsh)

This example Lift Framework source code file (liftsh) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Lift Framework tags/keywords

default_opts, default_opts, internal, internal_opts, internal_opts, liftsh_opts, liftsh_opts, load, xmx1g, xss8m, xx:+cmsclassunloadingenabled, xx:+cmsclassunloadingenabled, xx:+useconcmarksweepgc, xx:maxpermsize=512m

The Lift Framework liftsh source code

#!/bin/sh

# Load custom liftsh config
if test -f ~/.liftsh.config; then
  . ~/.liftsh.config
fi

# Internal options, always specified
INTERNAL_OPTS="-Dfile.encoding=UTF-8 -Xss8M -Xmx1G -noverify -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:MaxPermSize=512M"

# Default options, if nothing is specified
DEFAULT_OPTS="-Dsbt.intransitive=true"

cd `dirname $0`

# Call with INTERNAL_OPTS followed by LIFTSH_OPTS (or DEFAULT_OPTS). java aways takes the last option when duplicate.
exec java ${INTERNAL_OPTS} ${LIFTSH_OPTS:-${DEFAULT_OPTS}} -jar project/sbt-launch-0.7.7.jar "$@"

Other Lift Framework examples (source code examples)

Here is a short list of links related to this Lift Framework liftsh 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.