Package org.python.pydev.runners

Examples of org.python.pydev.runners.SimpleJythonRunner$JavaNotConfiguredException


        assertTrue(new File(TestDependent.JYTHON_ANT_JAR_LOCATION).exists());
        assertTrue(new File(TestDependent.JYTHON_JUNIT_JAR_LOCATION).exists());
        String pythonpath = TestDependent.TEST_PYDEV_PLUGIN_LOC + "pysrc/" + sep
                + TestDependent.JYTHON_ANT_JAR_LOCATION + sep + TestDependent.JYTHON_JUNIT_JAR_LOCATION;

        Tuple<String, String> output = new SimpleJythonRunner().runAndGetOutputWithJar(new File(
                TestDependent.JAVA_LOCATION), f.toString(), TestDependent.JYTHON_JAR_LOCATION, null, f.getParentFile(),
                null, null, pythonpath, "utf-8");

        System.out.println(com.aptana.shared_core.string.StringUtils.format("stdout:%s\nstderr:%s", output.o1,
                output.o2));
View Full Code Here


                    "In order to get the info for the jython interpreter, a jar is needed (e.g.: jython.jar)");
        }
        File script = getInterpreterInfoPy();

        //gets the info for the python side
        Tuple<String, String> outTup = new SimpleJythonRunner().runAndGetOutputWithJar(FileUtils.getFileAbsolutePath(script),
                executable, null, null, null, monitor, "utf-8");

        String output = outTup.o1;

        InterpreterInfo info = createInfoFromOutput(monitor, outTup, askUser);
View Full Code Here

TOP

Related Classes of org.python.pydev.runners.SimpleJythonRunner$JavaNotConfiguredException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.