|
From: <caw...@us...> - 2007-05-31 04:36:12
|
Revision: 2564
http://svn.sourceforge.net/rubyeclipse/?rev=2564&view=rev
Author: cawilliams
Date: 2007-05-30 21:36:10 -0700 (Wed, 30 May 2007)
Log Message:
-----------
more fixing of hyperlinked stack traces
Modified Paths:
--------------
trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/RubySourceLocator.java
Modified: trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/RubySourceLocator.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/RubySourceLocator.java 2007-05-30 20:16:38 UTC (rev 2563)
+++ trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/RubySourceLocator.java 2007-05-31 04:36:10 UTC (rev 2564)
@@ -105,7 +105,12 @@
public SourceElement(String aFilename, RubySourceLocator pSourceLocator) {
filename = aFilename;
workspaceFile = RdtDebugCorePlugin.getWorkspace().getRoot().getFileForLocation(new Path(filename));
- if (workspaceFile == null) workspaceFile = RdtDebugCorePlugin.getWorkspace().getRoot().getFile(new Path(filename));
+ if (workspaceFile == null) {
+ workspaceFile = RdtDebugCorePlugin.getWorkspace().getRoot().getFile(new Path(filename));
+ if (workspaceFile != null && !workspaceFile.exists()) {
+ workspaceFile = null;
+ }
+ }
if (workspaceFile == null) {
// using slash here is platform independent
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|