Need to define application.root property for things that want to use a
resource manager. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@634 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
+2
-1
@@ -13,6 +13,7 @@ pop(@parts);
|
|||||||
my $root = join("/", @parts);
|
my $root = join("/", @parts);
|
||||||
|
|
||||||
# but we're in the test directory, so we want up one
|
# but we're in the test directory, so we want up one
|
||||||
|
$realroot = $root;
|
||||||
$root = "$root/..";
|
$root = "$root/..";
|
||||||
|
|
||||||
# make sure JAVA_HOME is set
|
# make sure JAVA_HOME is set
|
||||||
@@ -71,7 +72,7 @@ foreach $dir (@dirs) {
|
|||||||
$classpath = "$classpath:$jlib";
|
$classpath = "$classpath:$jlib";
|
||||||
|
|
||||||
# specify our server root (this is for server code)
|
# specify our server root (this is for server code)
|
||||||
my $rootarg = "-Droot=$root";
|
my $rootarg = "-Dapplication.root=$realroot";
|
||||||
|
|
||||||
my $pid_file = undef;
|
my $pid_file = undef;
|
||||||
my $i = 0;
|
my $i = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user