mirror of https://github.com/sbt/sbt.git
stevej's patch to fix main class message
This commit is contained in:
parent
c192a148a8
commit
4f808aad2b
|
|
@ -452,7 +452,7 @@ object BasicScalaProject
|
|||
{
|
||||
log.warn("No Main-Class attribute will be added automatically added:")
|
||||
log.warn("Multiple classes with a main method were detected. Specify main class explicitly with:")
|
||||
log.warn(" override mainClass = Some(\"className\")")
|
||||
log.warn(" override def mainClass = Some(\"className\")")
|
||||
}
|
||||
}
|
||||
object BasicWebScalaProject
|
||||
|
|
@ -512,4 +512,4 @@ private object LibraryDependencies
|
|||
private def isScalaLibraryJar(file: File) = isNamed(file)(ScalaLibraryPrefix)
|
||||
private def isNamed(file: File)(name: String) = file.getName.startsWith(name)
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue