[moodle] / contrib / plugins / question / type / sojunit / config.php Repository:

View of /contrib/plugins/question/type/sojunit/config.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (download) (annotate)
Sun Oct 26 08:48:51 2008 WST (12 months, 4 weeks ago) by arborrow
Branch: MAIN
CVS Tags: HEAD
CONTRIB-689 - adding sojunit question type. Thanks to Süreç Özcan for contributing and maintaining this code.
<?php

global $CFG;

$cfg_dirroot_backslashes = $CFG->dirroot;
$cfg_dirroot = str_replace("\\", "/", $cfg_dirroot_backslashes); // replace \\ with / (in order to use in windows and linux os)

//define('PATH_TO_JAVAC', 'PathNotSet'); 	//TODO use this for module-package //set the proper javac-path e.g. "/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/bin/javac"
define('PATH_TO_JAVAC', '/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/bin/javac'); //TODO delete for module-package
//define('PATH_TO_JAVA', 'PathNotSet'); 		//TODO use this for module-package //set the proper java-path e.g. "C:/Program Files/Java/jdk1.5.0_01/bin/javac.exe"
define('PATH_TO_JAVA', '/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/bin/java'); //set the proper java-path e.g. "C:/Program Files/Java/jdk1.5.0_01/bin/java.exe"
define('PATH_TO_JUNIT', dirname(__FILE__) . '/junit.jar');
define('PATH_TO_POLICY', dirname(__FILE__) . '/polfile');


?>

Moodle CVS Admin
ViewVC Help
Powered by ViewVC 1.0.7