Do not insist on helma.jar to be in classpath. This is useful for running Helma
in alternative environments such as GCJ.
This commit is contained in:
parent
7e44b71d6d
commit
42a088ef58
1 changed files with 4 additions and 3 deletions
|
@ -89,10 +89,11 @@ public final class TypeManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (helmajar == null) {
|
if (helmajar == null) {
|
||||||
throw new RuntimeException("helma.jar not found in embedding classpath");
|
// throw new RuntimeException("helma.jar not found in embedding classpath");
|
||||||
|
loader = new AppClassLoader(app.getName(), new URL[0]);
|
||||||
|
} else {
|
||||||
|
loader = new AppClassLoader(app.getName(), new URL[] { helmajar });
|
||||||
}
|
}
|
||||||
|
|
||||||
loader = new AppClassLoader(app.getName(), new URL[] { helmajar });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue