Permalink
Browse files

Clean the dependency file only on clean, not on resetCompilers (called

from project close as well).
  • Loading branch information...
1 parent b68194e commit e0349a48e0e6a2b019b2885e76adae54fc630a90 @dragos dragos committed Apr 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 org.scala-ide.sdt.core/src/scala/tools/eclipse/ScalaProject.scala
@@ -488,12 +488,12 @@ class ScalaProject(val underlying: IProject) {
def clean(implicit monitor: IProgressMonitor) = {
underlying.deleteMarkers(plugin.problemMarkerId, true, IResource.DEPTH_INFINITE)
resetCompilers
+ if (buildManager0 != null)
+ buildManager0.clean(monitor)
cleanOutputFolders
}
def resetBuildCompiler(implicit monitor: IProgressMonitor) {
- if (buildManager0 != null)
- buildManager0.clean(monitor)
buildManager0 = null
hasBeenBuilt = false
}

0 comments on commit e0349a4

Please sign in to comment.