Commits

sk  committed 397ca2e

- Fixed bug: markers were not cleared before loading project.

  • Participants
  • Parent commits aa9e481

Comments (0)

Files changed (2)

File org.lispdev.main/src/org/lispdev/main/LoadProjectAction.java

 
 import org.eclipse.core.resources.IFile;
 import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IPath;
 import org.eclipse.core.runtime.IProgressMonitor;
           {
             CompilationInfo info = getInfo();
             final IProject proj = asdfile.getProject();
+            try
+            {
+              proj.deleteMarkers(LispMarkers.COMPILE, true, IResource.DEPTH_INFINITE);
+            }
+            catch(CoreException e)
+            {
+              Log.logException("Could not remove old markers",e);
+            }
 
             AbstractRepl repl = ReplPlugin.get().getRepl(config);
             repl.appendOut("Loaded " + asdfile.getName() + "\n");

File org.lispdev.main/todo.txt

 - Delete all saved markers from resources.
 - Get resources associated with new config and add markers from new config.
 
- 
+------------------------
+
+Get lispimplementation, where set rules on how to destructure swank response
+into lispdev structures. I will need to use scripting language for this.