Include shared Java libraries.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@532 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2002-01-17 18:23:05 +00:00
parent e4e21130e0
commit 6273cd94ec
+8
View File
@@ -62,6 +62,14 @@ if (opendir(DIR, "$root/lib")) {
closedir DIR;
}
# any zip or jar files in our lib/ directory get added to the class path
if (opendir(DIR, "/usr/share/java")) {
foreach $lib (grep { /.(zip|jar)/ && -f "/usr/share/java/$_" } readdir(DIR)) {
$classpath .= ":/usr/share/java/$lib";
}
closedir DIR;
}
# specify our server root (this is for server code)
my $serverroot = "-Dserver.root=$root";