[Mathlib-commitlog] SF.net SVN: mathlib:[802] JMathLib/trunk/src/jmathlib/toolbox/jmathlib/ system
Status: Beta
Brought to you by:
st_mueller
|
From: <st_...@us...> - 2009-01-30 21:06:02
|
Revision: 802
http://mathlib.svn.sourceforge.net/mathlib/?rev=802&view=rev
Author: st_mueller
Date: 2009-01-30 21:06:00 +0000 (Fri, 30 Jan 2009)
Log Message:
-----------
correction on working directory
Modified Paths:
--------------
JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/createfunctionslist.java
Modified: JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/createfunctionslist.java
===================================================================
--- JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/createfunctionslist.java 2009-01-30 21:05:33 UTC (rev 801)
+++ JMathLib/trunk/src/jmathlib/toolbox/jmathlib/system/createfunctionslist.java 2009-01-30 21:06:00 UTC (rev 802)
@@ -67,7 +67,7 @@
/* The first line of the file is a comment */
- line = "# created with createFunctionsList.java";
+ line = "# created with createfunctionslist()";
outWriter.write(line, 0, line.length());
outWriter.newLine();
line = "# This is a generated file. DO NOT EDIT!";
@@ -101,7 +101,10 @@
!line.contains(".svn") )
{
// remove preceding absolute path
- line = line.substring((globals.getWorkingDirectory().getAbsolutePath()+"/bin/").length());
+ File f = new File(globals.getWorkingDirectory(),"bin/");
+
+ //ErrorLogger.debugLine(f.getCanonicalPath().toString());
+ line = line.substring(f.getCanonicalPath().toString().length()+1);
ErrorLogger.debugLine("path = "+ line);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|