|
From: <caw...@us...> - 2007-02-19 21:46:18
|
Revision: 1980
http://svn.sourceforge.net/rubyeclipse/?rev=1980&view=rev
Author: cawilliams
Date: 2007-02-19 13:46:16 -0800 (Mon, 19 Feb 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyProject.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyProject.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyProject.java 2007-02-19 21:46:05 UTC (rev 1979)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/RubyProject.java 2007-02-19 21:46:16 UTC (rev 1980)
@@ -949,7 +949,7 @@
}
if (logProblems) {
Util.log(e, "Exception while retrieving " + this.getPath() //$NON-NLS-1$
- + "/.classpath, will revert to default classpath"); //$NON-NLS-1$
+ + "/.loadpath, will revert to default loadpath"); //$NON-NLS-1$
}
}
return null;
@@ -1991,7 +1991,7 @@
}
}
- public boolean saveLoadpath(ILoadpathEntry[] newClasspath, IPath newOutputLocation) throws RubyModelException {
+ public boolean saveLoadpath(ILoadpathEntry[] newLoadpath, IPath newOutputLocation) throws RubyModelException {
if (!this.project.isAccessible())
return false;
@@ -2004,14 +2004,14 @@
* log
* problems
*/, unknownElements);
- if (fileEntries != null && isLoadpathEqualsTo(newClasspath, newOutputLocation, fileEntries)) {
+ if (fileEntries != null && isLoadpathEqualsTo(newLoadpath, newOutputLocation, fileEntries)) {
// no need to save it, it is the same
return false;
}
// actual file saving
try {
- setSharedProperty(LOADPATH_FILENAME, encodeLoadpath(newClasspath, newOutputLocation, true, unknownElements));
+ setSharedProperty(LOADPATH_FILENAME, encodeLoadpath(newLoadpath, newOutputLocation, true, unknownElements));
return true;
} catch (CoreException e) {
throw new RubyModelException(e);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|