From d17d221487fa7a3af6f4af2217f1d4889ceb084d Mon Sep 17 00:00:00 2001 From: Patrick Wendell Date: Sun, 1 Jun 2014 17:27:05 -0700 Subject: Better explanation for how to use MIMA excludes. This patch does a few things: 1. We have a file MimaExcludes.scala exclusively for excludes. 2. The test runner tells users about that file if a test fails. 3. I've added back the excludes used from 0.9->1.0. We should keep these in the project as an official audit trail of times where we decided to make exceptions. Author: Patrick Wendell Closes #937 from pwendell/mima and squashes the following commits: 7ee0db2 [Patrick Wendell] Better explanation for how to use MIMA excludes. --- tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala b/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala index 011db50b7d..6a261e19a3 100644 --- a/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala +++ b/tools/src/main/scala/org/apache/spark/tools/GenerateMIMAIgnore.scala @@ -105,9 +105,9 @@ object GenerateMIMAIgnore { } def main(args: Array[String]) { - scala.tools.nsc.io.File(".mima-excludes"). + scala.tools.nsc.io.File(".generated-mima-excludes"). writeAll(classesPrivateWithin("org.apache.spark").mkString("\n")) - println("Created : .mima-excludes in current directory.") + println("Created : .generated-mima-excludes in current directory.") } -- cgit v1.2.3