1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
- The detection of jruby fails on Debian (the searched class is not
there), but the functionality is working, so disable that detection
---
src/plm/core/model/Game.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Index: b/src/plm/core/model/Game.java
===================================================================
--- a/src/plm/core/model/Game.java
+++ b/src/plm/core/model/Game.java
@@ -251,11 +251,9 @@ public class Game implements IWorldView
String pythonError = "";
private boolean checkPython() {
String[] resources = new String[] {
- "/org/python/jsr223/PyScriptEngineFactory", "/org/jruby/ext/posix/util/Platform","/org/antlr/runtime/CharStream",
- "/org/objectweb/asm/Opcodes"
+ "/org/python/jsr223/PyScriptEngineFactory"
};
- String[] hints = new String[] {"jython.jar", "jruby.jar","antlr3-runtime.jar",
- "asm3.jar"};
+ String[] hints = new String[] {"jython.jar"};
for (int i=0;i<resources.length;i++) {
pythonError = canResolve(resources[i],hints[i]);
if (!pythonError.isEmpty()) {
|