view agent/make/start-debug-server @ 1431:c01535d7fcc6

modified project layout (the java and C++ projects are now all in "c1x4hotspotsrc", the C++ source directories are linked into the project)
author Lukas Stadler <lukas.stadler@oracle.com>
date Wed, 01 Sep 2010 16:43:47 -0700
parents a61af66fc99e
children
line wrap: on
line source

#!/bin/sh

STARTDIR=`dirname $0`

if [ "x$SA_JAVA" = "x" ]; then
   SA_JAVA=java
fi

if [ -f $STARTDIR/sa.jar ] ; then
  CP=$STARTDIR/sa.jar
else
  CP=$STARTDIR/../build/classes
fi

# License file for development version of dbx
setenv LM_LICENSE_FILE 7588@extend.eng:/usr/dist/local/config/sparcworks/license.dat:7588@setlicense

$SA_JAVA -Xbootclasspath/p:$CP -Djava.rmi.server.codebase=file:/$CP -Djava.security.policy=$STARTDIR\/grantAll.policy sun.jvm.hotspot.DebugServer $*