From: <jen...@us...> - 2010-03-05 10:45:02
|
Revision: 2091 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=2091&view=rev Author: jenslehmann Date: 2010-03-05 10:44:55 +0000 (Fri, 05 Mar 2010) Log Message: ----------- fixed bug #2952015 Modified Paths: -------------- trunk/build.xml trunk/src/dl-learner/org/dllearner/cli/Start.java Modified: trunk/build.xml =================================================================== --- trunk/build.xml 2010-03-05 10:20:06 UTC (rev 2090) +++ trunk/build.xml 2010-03-05 10:44:55 UTC (rev 2091) @@ -117,7 +117,7 @@ <!-- compile project into temporary directory --> <mkdir dir="classes_tmp"/> - <javac destdir="classes_tmp" target="1.5"> + <javac destdir="classes_tmp" target="1.5" debug="on"> <src path="${source_dir}"/> <classpath refid="classpath"/> </javac> Modified: trunk/src/dl-learner/org/dllearner/cli/Start.java =================================================================== --- trunk/src/dl-learner/org/dllearner/cli/Start.java 2010-03-05 10:20:06 UTC (rev 2090) +++ trunk/src/dl-learner/org/dllearner/cli/Start.java 2010-03-05 10:44:55 UTC (rev 2091) @@ -222,10 +222,13 @@ * @throws ComponentInitException * @throws ParseException * @throws FileNotFoundException + * @throws IOException */ - public Start(File file) throws ComponentInitException, FileNotFoundException, ParseException { - String baseDir = file.getParentFile().getPath(); - + public Start(File file) throws ComponentInitException, ParseException, FileNotFoundException { + // see bug #2952015 on why the lower version is preferable + // String baseDir = file.getParentFile().getPath(); + String baseDir = file.getAbsoluteFile().getParent(); + // create component manager instance String message = "starting component manager ... "; long cmStartTime = System.nanoTime(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |