From: <sha...@us...> - 2011-09-03 00:08:09
|
Revision: 3241 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3241&view=rev Author: shadowtm Date: 2011-09-03 00:08:03 +0000 (Sat, 03 Sep 2011) Log Message: ----------- Fixed broken test Modified Paths: -------------- trunk/examples/family/father_autowired.conf trunk/interfaces/src/main/java/org/dllearner/confparser3/ConfParserConfiguration.java Modified: trunk/examples/family/father_autowired.conf =================================================================== --- trunk/examples/family/father_autowired.conf 2011-09-02 14:33:33 UTC (rev 3240) +++ trunk/examples/family/father_autowired.conf 2011-09-03 00:08:03 UTC (rev 3241) @@ -11,7 +11,7 @@ prefixes = [ ("kb","http://localhost/foo#") ] // knowledge source definition -ks.type = "KB file" +ks.type = "KB File" ks.url = "father.kb" // ks.baseDir = "examples/family"; //Assuming running from parent directory of examples. Modified: trunk/interfaces/src/main/java/org/dllearner/confparser3/ConfParserConfiguration.java =================================================================== --- trunk/interfaces/src/main/java/org/dllearner/confparser3/ConfParserConfiguration.java 2011-09-02 14:33:33 UTC (rev 3240) +++ trunk/interfaces/src/main/java/org/dllearner/confparser3/ConfParserConfiguration.java 2011-09-03 00:08:03 UTC (rev 3241) @@ -79,7 +79,7 @@ result = Class.forName(value); } catch (ClassNotFoundException e) { // if all methods fail, throw an exception - throw new RuntimeException("Problem getting class type for bean: " + beanName + " - trying to instantiate class: " + value); + throw new RuntimeException("Problem getting class type for bean: " + beanName + " - trying to instantiate class: " + value,e); } return result; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |